Re: EVENT HANDLER NAGIOS / NAGIOSSQL RUNS BUT NOTHING HAPPEN
Posted: Mon May 08, 2017 9:27 am
Thanks for posting the updated settings. The event Handler should be enabled and that if it is in the nagios.log file, it should be running.
I missed it from before but the check_printer_restart command is using $ARG1$ for the host address in the command line and it should be changed to $HOSTADDRESS$ so when the Event is run, it will get the address from the Host and run the command on the correct system.
Try that and see if that was the issue.
I missed it from before but the check_printer_restart command is using $ARG1$ for the host address in the command line and it should be changed to $HOSTADDRESS$ so when the Event is run, it will get the address from the Host and run the command on the correct system.
Try that and see if that was the issue.