http://nagiosplugins.org/man/negate
-- Phil Randal | Networks Engineer Herefordshire Council | Deputy Chief Executive's Office | I.C.T. Services Division Thorn Office Centre, Rotherwas, Hereford, HR2 6JT Tel: 01432 260160 email: pran...@herefordshire.gov.uk Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it. -----Original Message----- From: Kyle Dippery [mailto:k...@engr.uky.edu] Sent: 09 July 2009 16:08 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check for the absence of a service 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@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 ------------------------------------------------------------------------------ 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@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