Service State

Marc Powell marc at ena.com
Tue Dec 4 22:25:38 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Rich Sasko
> Sent: Tuesday, December 04, 2007 3:19 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Service State
> 
> We have services that we do not want to run on some of our servers.  I
> would like to know of a way to monitor for these services so that the
> status is ok if it is stopped but a critical notification is sent out
if
> it starts.

Use the negate plugin in combination with a normal plugin. For example
--

define command {
	command_name 	check_http_off
	command_line 	$USER1$/negate $USER1$/check_http -I
$HOSTADDRESS$
}
--
Marc

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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