Event handler questions

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Event handler questions

Post by BanditBBS »

abrist wrote:Did you enable the event handler by bulletting the "event handler enabled" option on the "check settings" tab of the check?
Yep, and they are globally enabled as well.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Event handler questions

Post by abrist »

Global event handlers are different than check-based event handlers.

Can you make your event handler echo the date to a file in /tmp ? I would like to see if it is actually running but not logging, or if it is not running at all.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Event handler questions

Post by BanditBBS »

abrist wrote:Global event handlers are different than check-based event handlers.

Can you make your event handler echo the date to a file in /tmp ? I would like to see if it is actually running but not logging, or if it is not running at all.

Good call, it is writing to the file, so it just isn't being logged.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Event handler questions

Post by abrist »

I made an internal feature request for event handlers to be logged to the event log. I do not know if this is a bug, or just a missing feature. Thanks for the heads up as always Bandit.
Will we see you at the world conference this year?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Event handler questions

Post by BanditBBS »

abrist wrote:Will we see you at the world conference this year?
That is a better possibility now that I work for a company that actually makes a profit :) The steel mill I worked at before, well...yeah...

That, plus now I am ONLY doing monitoring here.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Event handler questions

Post by abrist »

I will just leave this here . . . .
http://www.nagios.com/events/nagiosworl ... erica/2013
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked