is it possible to configure the check_dns plugin so that it verifies that no IP address is returned for the DNS query? (So, NXDOMAIN should be “OK”, any other result would be “CRIT”)
Use case: I’d like to check that none of our MTAs is listed on Spamhaus.
This extension package https://exchange.checkmk.com/p/netifaces comes with an agent plugin that collects all IP addresses from the host. The check plugin can then compare the addresses against a configurable list of RBLs.
Thank you, but it doesn’t seem to work: I get an Error in plugin file /omd/sites/main/local/share/check_mk/checks/netifaces: No module named ipaddr after installing it.