check_dns_random

Ugo Bellavance ugob at camo-route.com
Thu Nov 16 18:20:05 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?


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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