Page 1 of 1

Event Handler During DownTime

Posted: Thu Jun 11, 2020 6:23 am
by FCC_Nagios_Support
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

Re: Event Handler During DownTime

Posted: Thu Jun 11, 2020 3:11 pm
by jbrunkow
It may not be a bad idea to reinstall that plugin if it doesn't seem to be honoring the Don't Run in Down Time option.
  1. Navigate to The Admin section using the bar on top of XI > then click Manage Components under System Extensions on the left pane.
  • Click on the red X to delete the Global Event Handler component.
  • Decompress the file you just downloaded.
  • Click Upload & Install.