R: force event_handler
Marco Borsani
m.borsani at it.net
Wed Jun 15 08:28:28 CEST 2011
Thanks.
I already set OCHP and OCSP , using same command configured in
event_handler, but nothing change.
May you tell me how do you use OCHP and OCSP ?
Regards
Marco
-----Messaggio originale-----
Da: Craig Stewart [mailto:Craig.Stewart at corp.xplornet.com]
Inviato: martedì 14 giugno 2011 16:59
A: Nagios Users List
Cc: Marco Borsani
Oggetto: Re: [Nagios-users] force event_handler
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 the OHCP command that uses
send_nsca for every little thing, regardless of state.
That's the nature of the beast. Now, I'm sure you can tailor the command
to only send what you want.
I might be out in left field though.
Hope it helps.
Cheers!
Craig
Craig Stewart
Systems Integration Analyst
Craig.Stewart at corp.xplornet.com
Xplornet - Broadband, Everywhere
On 06/14/2011 11:16 AM, Marco Borsani wrote:
> 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 CRITICAL to OK
>
>
>
> Any idea ?
>
> Thanks
>
> Marco
>
>
>
>
> --
> This message has been scanned for viruses and dangerous content by
> *MailScanner* <http://www.mailscanner.info/>, and is believed to be
> clean.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list