Re: [Nagios-users] check for the absence of a service

2009-07-10 Thread Richard Remington
Dear Mr. Dippery, The method I use is the check_nmap_scan plug-in by Serg Belokamen, which I've attached to this email. It is written in perl and requires that you have nmap installed on your nagios host. Basically, you define what ports should be open (and not open) on a given host and then

Re: [Nagios-users] check for the absence of a service

2009-07-10 Thread Olivier JAN
You also have the possibility to use the negate plugin (in offcial plugins). This is an already written wrapper to swap OK and CRITICAL return values ;-) Olivier Jan http://nagios-fr.org Richard Remington rreming...@messagevision.com a écrit : Dear Mr. Dippery, The method I use is the

[Nagios-users] check for the absence of a service

2009-07-09 Thread Kyle Dippery
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

Re: [Nagios-users] check for the absence of a service

2009-07-09 Thread Wheeler, JF (Jonathan)
Use the negate plugin to reverse a check Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory -Original Message- From: Kyle Dippery [mailto:k...@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

Re: [Nagios-users] check for the absence of a service

2009-07-09 Thread Marc Powell
On Jul 9, 2009, at 10:08 AM, Kyle Dippery wrote: 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

Re: [Nagios-users] check for the absence of a service

2009-07-09 Thread Randal, Phil
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

Re: [Nagios-users] check for the absence of a service

2009-07-09 Thread Marouane Himdi
Use negate plugin (http://nagiosplugins.org/man/negate ) Hope this help Regards Dr Marouane HIMDI -Message d'origine- De : Kyle Dippery [mailto:k...@engr.uky.edu] Envoyé : jeudi 9 juillet 2009 17:08 À : nagios-users@lists.sourceforge.net Objet : [Nagios-users] check for the absence of