Event Handler During DownTime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
FCC_Nagios_Support
Posts: 161
Joined: Tue Mar 10, 2020 11:07 am

Event Handler During DownTime

Post 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
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Event Handler During DownTime

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked