Event Handler During DownTime
Posted: Thu Jun 11, 2020 6:23 am
Good morning,
I would like not to trigger eventhandler when the service is in downtime.
My eventhandler command is allways excuted any way as bellow
[root@a2nagio002p libexec]# pwd
/usr/local/nagios/libexec
[root@a2nagio002p libexec]# ls -ltr start_service_FreeSSHDService
-rwxr-xr-x 1 nagios nagios 221 Jun 11 11:23 start_service_FreeSSHDService
[root@a2nagio002p libexec]#
but
I read:
Configuring Global Event Handlers
Configuring Global Event Handlers in Components
but the command do not exists in zone COMMAND
/tmp/host_change_handler.sh "%host%" %hoststate% %hoststateid% %lasthoststate% %lasthoststateid% %hoststatetype% %currentattempt% %maxattempts% %hosteventid% %hostproblemid% "%hostoutput%" %hostdowntime%
I read
"
Check the Don't Run in Down Time check box if you want to suppress executing the event handler
during downtime
"
It does not run
Many Thanks in advance
Kind Regards
I would like not to trigger eventhandler when the service is in downtime.
My eventhandler command is allways excuted any way as bellow
[root@a2nagio002p libexec]# pwd
/usr/local/nagios/libexec
[root@a2nagio002p libexec]# ls -ltr start_service_FreeSSHDService
-rwxr-xr-x 1 nagios nagios 221 Jun 11 11:23 start_service_FreeSSHDService
[root@a2nagio002p libexec]#
but
I read:
Configuring Global Event Handlers
Configuring Global Event Handlers in Components
but the command do not exists in zone COMMAND
/tmp/host_change_handler.sh "%host%" %hoststate% %hoststateid% %lasthoststate% %lasthoststateid% %hoststatetype% %currentattempt% %maxattempts% %hosteventid% %hostproblemid% "%hostoutput%" %hostdowntime%
I read
"
Check the Don't Run in Down Time check box if you want to suppress executing the event handler
during downtime
"
It does not run
Many Thanks in advance
Kind Regards