Passive host results & soft states?

Mike Hamrick mikeh at muppetlabs.com
Wed Apr 25 15:09:56 CEST 2007


Marco wrote:
> What I did is to send the passive host check through NSCA only if its
> in hard state, soft states are ignored, what script do you use to call
> send_nsca ?

Just a simple script that pipes "$HOST\t$RESULT\t$OUTPUT\n" into
send_nsca.  I'll need to also pass in $HOSTSTATETYPE$ and exit
if I don't see a HARD state. 

Thanks for the advice, this is a lot nicer way of dealing with
this problem.

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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