check_icmp with reverse error codes?

Holger Weiß holger at zedat.fu-berlin.de
Sat Apr 1 12:58:13 CEST 2017


[Such questions should go to the help@ list instead.]

* Chris Hicks <chrisjameshicks at gmail.com> [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



More information about the Devel mailing list