Ocassionaly we have circumstances that keep the monitor daemon from starting.
The good news is that the interfaces continue to run even if the monitor daemon isn’t.
However, I’m not sure if the alerts run when the monitor daemon is messed up.
The first thing I do to get things back on track is see if there is a monitor daemon pid file and what is in it as follows:
cat $HCISITEDIR/exec/hcimonitord/pid
then I see if that process is running as follows:
ps -ef | grep `cat $HCISITEDIR/exec/hcimonitord/pid` |grep -v grep
If the process is running I stop or kill it if necessary as follows:
kill -9 `cat $HCISITEDIR/exec/hcimonitord/pid`
Then I make sure the pid and cmd_port files are gone or remove it as follows”
rm -f $HCISITEDIR/exec/hcimonitord/pid
rm -f $HCISITEDIR/exec/hcimonitord/cmd_port
Then I can usually start the monitor daemon at that point.
If for some reason 2 monitor daemons are running for the same site you will continue to get confusing behaivor until you kill all monitor daemons running for the current site and restart just one instance.
We don’t know how it was possible to start 2 instance of the monitor daemon but we witnessed it once and it caused the alerts to continue to go off in a very confusing way.
Russ Ross
RussRoss318@gmail.com