Re: [Nagios-users] force event_handler

2011-06-14 Thread Craig Stewart
Marco, I think what you want is the OCSP or OSHP command (Obsessive Compulsive Service/Host Processor) I think event handlers are more for taking corrective action. The example I saw was to log into a web server and restart the apache service when the check_web service went critical. I'm using

[Nagios-users] force event_handler

2011-06-14 Thread Marco Borsani
Hi all I need to execute a command every time an host state or a service state change (to use send_nsca). I supposed was a normal behaviour, but something is going wrong. Right now, the command configured in "event_handler" run only when the state changes from OK to CRITICAL . never from CRIT