Event Handler not executing when alert goes critical.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rdurga
Posts: 30
Joined: Wed Jan 20, 2021 8:14 am

Event Handler not executing when alert goes critical.

Post 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
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Event Handler not executing when alert goes critical.

Post 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
rdurga
Posts: 30
Joined: Wed Jan 20, 2021 8:14 am

Re: Event Handler not executing when alert goes critical.

Post by rdurga »

I have sent you the requested system profile.

Thanks
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Event Handler not executing when alert goes critical.

Post 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
rdurga
Posts: 30
Joined: Wed Jan 20, 2021 8:14 am

Re: Event Handler not executing when alert goes critical.

Post by rdurga »

I have sent you a DM with the name of the Host that failed.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Event Handler not executing when alert goes critical.

Post 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
rdurga
Posts: 30
Joined: Wed Jan 20, 2021 8:14 am

Re: Event Handler not executing when alert goes critical.

Post by rdurga »

That host has a Host Template assigned to it serverEBOC which has the event handler defined.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Event Handler not executing when alert goes critical.

Post 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
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Event Handler not executing when alert goes critical.

Post 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
rdurga
Posts: 30
Joined: Wed Jan 20, 2021 8:14 am

Re: Event Handler not executing when alert goes critical.

Post 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
Locked