[Nagiosplug-help] check_dns_random

Ugo Bellavance ugob at camo-route.com
Thu Nov 16 15:52:40 CET 2006


Hi there,

	I'm trying to configure check_dns_random.pl on my nagios server (contrib).

I get this error:

**ePN /usr/lib64/nagios/plugins/contrib/check_dns_random.pl: "Argument 
"25/etc/nagios/.list" isn't numeric in rand at (eval 6) line 55,".

I'm using /etc/nagios/domains.list for domain list file and the check 
runs fine when run by user nagios.

/usr/lib64/nagios/plugins/contrib/check_dns_random.pl 127.0.0.1
DNS OK: 0.005 seconds response time. iweb.ca returns 
209.172.41.170|time=0.005172s;;;0.000000

Here is my command definition:

# 'check_dns1_random' command definition
define command{
         command_name    check_dns1_random
         command_line    $USER1$/contrib/check_dns_random.pl 127.0.0.1
}

Any idea?





More information about the Help mailing list