check for the absence of a service

Wheeler, JF (Jonathan) jonathan.wheeler at stfc.ac.uk
Thu Jul 9 17:39:42 CEST 2009


Use the negate plugin to reverse a check

Jonathan Wheeler 
e-Science Centre 
Rutherford Appleton Laboratory

> -----Original Message-----
> From: Kyle Dippery [mailto:kyle at engr.uky.edu]
> Sent: 09 July 2009 16:08
> 
> Is there an easy way to use nagios to check for the absence of a
> service?
> 
> I want to have nagios monitor SMTP and a few other services on hosts
> that aren't supposed to be running them, and tell me if they
> suddenly get turned on.
> 
> Is there a plugin for this, or a way to trick an existing plugin to
> make it work?  I suppose if nothing else I can write a wrapper for
> check_smtp or check_tcp to swap the OK and CRITICAL return values,
> but it'd be much easier if someone else has already done it...
> 
> Cheers,
> Kyle
> --
> Kyle Dippery
> Engineering Computing Services      Phone: (859) 257-1346
> 280 FPAT  0046                      Fax:   (859) 323-3848
> 
> UK - One Great Place to Work
> 
>
------------------------------------------------------------------------
---
> ---
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited
time,
> vendors submitting new applications to BlackBerry App World(TM) will
have
> the opportunity to enter the BlackBerry Developer Challenge. See full
prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> 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
-- 
Scanned by iCritical.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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