event handler
Re: event handler
file test.txt was not created, so no output. If you have a look at my script I've already tried to debug this way, there is touch command in case "$3". That's the reason my saying that script is not called at all from commands.cfg
Re: event handler
Ahh. It will only run the event handler on state change (or on every check if volatility is set). Is the host changing HARD states?
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
I run event handler script on DOWN SOFT 3, yes it's changing to HARD on next check and I get email
Re: event handler
Yeah, it looks like the event handler does run:
But neither the touched file nor the txt file are created, is that correct?HOST EVENT HANDLER: test-condor-site;DOWN;HARD;4;asteriks-host-phone-call
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
I've solved the problem. It was completely my fault with configs.
Nagios is great!!!!
Thank you for your help, I really appreciate it.
Nagios is great!!!!
Thank you for your help, I really appreciate it.