Re: check_icmp with reverse error codes?

Holger Weiß <[email protected]> Sat, 1 Apr 2017 12:58:13 +0200
Newsgroups gmane.network.nagios.devel
Organization Freie Universität Berlin
Message-ID <20170401105813.GF101825__6289.88166940889$1491044307$gmane$org@zedat.fu-berlin.de>
[Such questions should go to the help@ list instead.]

* Chris Hicks <[email protected]> [2017-03-07 23:46]:
> Are you aware of any check_icmp type plugins that return the opposite error
> codes, so that it returns an OK is there is no reply, and an error if there
> is a reply? I want to monitor my unused static IP addresses so I am alerted
> if somebody fires up a machine, which would be good for locking down the
> address space for better documentation and security.

You could use the negate plugin for this:

	https://www.monitoring-plugins.org/doc/man/negate.html

Holger