Negating a test

Mike Diehl (Encrypted email preferred) mdiehl at diehlnet.com
Fri Jun 25 23:59:34 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 25 June 2004 02:23 am, tom.welsh at bt.com wrote:
> Hi Mike,
>
> The answer is in your subject.
> Use the negate command in /usr/local/nagios/libexec to reverse the plug in
> output. I.e. check a bunch of machines for FTP and only get alerts if they
> are running ftp.

Doh!

Yup, this is exactly what I was looking for.  Now I feel silly. <grin>

Thanx,
Mike.

> Cheers
>
> Tom
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mike Diehl
> (Encrypted email preferred)
> Sent: 25 June 2004 09:12
> To: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Negating a test
>
>
> Hi all.
>
> I'd like to know the easiest way to check if a service is NOT running.
>
> For example, I want an indication if any of my servers ARE running ftp.
>
> What's the easiest way to do this?
>
> Thanx,

- -- 
Mike
gpg key: http://diehlnet.com/~mdiehl/mdiehl.asc
83AD D927 758D 4BFC A800 0277 4B26 75A4 F0D1 C7EB

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA3KBKSyZ1pPDRx+sRAs6qAJ9MY4LGVRM65NON3PK6Yn9emu8zqACgrLAV
Hwoq5s5lSrGeVLRkjLUmxD4=
=l6Ti
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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