Page 1 of 2

Event Handler not executing when alert goes critical.

Posted: Tue Aug 17, 2021 8:49 am
by rdurga
Linux Distribution and version? RHEL 7.6, 5.8.3
32 or 64bit? 64
VMware Image or Manual Install of XI? Manual install

Hello,
We are having issues with an event handler not executing when a check goes critical. The email for a host check was sent, but the even handler was not executed.

Thanks,
Ron

Re: Event Handler not executing when alert goes critical.

Posted: Wed Aug 18, 2021 9:46 am
by gsmith
Hi

Please send me a System Profile s I can try and replicate the issue:

To send us your system profile.
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Thanks

Re: Event Handler not executing when alert goes critical.

Posted: Wed Aug 18, 2021 10:55 am
by rdurga
I have sent you the requested system profile.

Thanks

Re: Event Handler not executing when alert goes critical.

Posted: Thu Aug 19, 2021 10:40 am
by gsmith
Hi

I loaded up your System Profile and tested a few things but couldn't reproduce the error.

Is it a particular event handler you are having problems with? What service is it associated with?

Thanks

Re: Event Handler not executing when alert goes critical.

Posted: Thu Aug 19, 2021 11:42 am
by rdurga
I have sent you a DM with the name of the Host that failed.

Re: Event Handler not executing when alert goes critical.

Posted: Fri Aug 20, 2021 9:32 am
by gsmith
Hi

For that host I only see one applied service - "bcache check" and the event handler
is undefined. Let me know if you see something different.

Thanks

Re: Event Handler not executing when alert goes critical.

Posted: Fri Aug 20, 2021 11:25 am
by rdurga
That host has a Host Template assigned to it serverEBOC which has the event handler defined.

Re: Event Handler not executing when alert goes critical.

Posted: Fri Aug 20, 2021 2:17 pm
by gsmith
Hi



Hmmmm....that template didn't show up in my system.

Checking a few things....will get back to you in a bit.

Thanks

Re: Event Handler not executing when alert goes critical.

Posted: Mon Aug 23, 2021 4:14 pm
by gsmith
HI

OK - I got the serverEBOC template loaded. It is calling out the event handler Everbridge On-Call.

But when I look at the cfg files for:
  • CMOOSCHSTUP7905.pnp.maas_check_bcache.cfg
    cmoosincfup7905.pnp.maas.cfg
    pnp-CMOOSCHSTUP7905.cfg
the event_handler is not defined.

Please try this:

Code: Select all

Choose Configure, Core Config Manager
Under Tools in the left-hand menu select Config File Management
Hit the "Delete Files" (red) button - it's OK to do this
Hit the "Write Configs" (blue) button
Optional but informative - hit the "Verify Files" (white button)
In the left-hand menu under Quick Tools select Apply Configuration
Click the "Apply Configuration" (blue) button
Then send me another System Profile so I can see if the EventHandler is getting picked up for CMOOSCHSTUP7905.cfg

Code: Select all

To send us your system profile. 
	1. Login to the Nagios XI GUI using a web browser.
	2. Click the "Admin" > "System Profile" Menu
	3. Click the "Download Profile" button
	4. Save the profile.zip file and share this in a private message and then  reply to this post to bring it up in the queue.
Thanks

Re: Event Handler not executing when alert goes critical.

Posted: Tue Aug 24, 2021 11:12 am
by rdurga
I am in a DR exercise this week and will not be able to look at this till next week. Please DO NOT close this thread. Thank you