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

Re: Event Handler not executing when alert goes critical.

Post by gsmith »

Hi,

Sounds good - I'll wait to hear from you next week.

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 done the recommended actions and sent you the service profile in a DM. Thank you.
gsmith wrote: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
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Event Handler not executing when alert goes critical.

Post by gsmith »

Hi,

It is working for me, however I modified the serverEBOC host template so that it was
using your "Test" event handler.

Your "Everbridge On-Call" event handler calls out:
/usr/local/integrate/everbridge/onCallEvent.sh

Does that file exist on pnp-CMOOSCHSTUP7905?
Are the owner/group/permissions = -rwxr-xr-x. 1 nagios nagios ?

Thanks
rdurga
Posts: 30
Joined: Wed Jan 20, 2021 8:14 am

Re: Event Handler not executing when alert goes critical.

Post by rdurga »

Hi,
Turns out the host template was not setup correctly. After fixing it the event handler is working as expected. Please close out this thread.

Best,
Ron
Locked