Alternative state?

Matthieu Parisot mat at avedya.com
Tue Mar 18 12:32:44 CET 2003


David Adams wrote:

> My next question,
>  
> Say i want to make sure that a service is NOT running on a particular 
> host. e.g. i want to make sure that FTP is not running on a machine, 
> is there a way of configuring nagios to bring this up as a green or OK 
> state rather than a problem?
>  
> thanks in advance
>  
> Dave

try to use negate, provided with the plugins ;
The syntax is quite easy :
/usr/local/nagios/libexec/negate -t 42 
/usr/local/nagios/libexec/mysuperbplugin itswonderfularguments

Mat



-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
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