When an event handler is kicked off, if that not logged in the event log? I was trying to test one on a critical service and I couldn't see where to tell if the event handler was actually being run. I wonder, because the command that should have fixed the critical issue either was not run, or there is an issue.
I am running gearman, but the neb is configured to NOT distribute eventhandler.
Event handler questions
Event handler questions
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
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
Re: Event handler questions
It should show up in the event log. Perhaps, there is an issue with the way you set it up. Are you sure it actually runs?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Event handler questions
Nope, that is why I was asking if it should appear in the log or not. I had the handler disabled as I just wrote the command wand wanted to know next time the service had an issue. I then enabled the even handler andwas hopign to see it run and fix the issue, but alas, nothing ever appeard in even log.lmiltchev wrote:It should show up in the event log. Perhaps, there is an issue with the way you set it up. Are you sure it actually runs?
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
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
Re: Event handler questions
Do you see and "EXTERNAL COMMAND" references in the event log?
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.
"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.
Re: Event handler questions
Nothing related to my testing today.abrist wrote:Do you see and "EXTERNAL COMMAND" references in the event log?
When does the event handler get kicked off? 1st soft? Not til hard? And if already hard and then I set event handler as active, will it get kicked off?
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
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
Re: Event handler questions
http://nagios.sourceforge.net/docs/3_0/ ... dlers.htmlEvent handlers are executed when a service or host:
Is in a SOFT problem state
Initially goes into a HARD problem state
Initially recovers from a SOFT or HARD problem state
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Event handler questions
Wow, I think I was just told to RTFM! LOL
Umm, I just did and not sure why mine wasn't working. But I am going to set it up exactly as shown and even use the example script(modified slightly). I'll let you know if I have more questions or not.
Umm, I just did and not sure why mine wasn't working. But I am going to set it up exactly as shown and even use the example script(modified slightly). I'll let you know if I have more questions or not.
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
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
Re: Event handler questions
Great, enjoy the weekend good sir!
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.
"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.
Re: Event handler questions
My event handler is just not being called. Nothing in event log at all. I keep submitting passive check results and putting it in a critical state and nothing....
Any idea why?
Any idea why?
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
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
Re: Event handler questions
Did you enable the event handler by bulletting the "event handler enabled" option on the "check settings" tab of the check?
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.
"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.