check dig

Subhendu Ghosh sghosh at sghosh.org
Mon Oct 17 18:29:11 CEST 2005


On Mon, 17 Oct 2005, Pascal MIQUET wrote:

> I've got some trouble using the check_dig module
>
> The command /usr/bin/dig www.free.fr return some results.
> If I use the ./check_dig -v www.free.fr -a 192.168.1.10 for tests, the
> command run in time out
> The -v option show me that the dig command is issued with the options
> /usr/bin/dig @www.free.fr -p 53 (null) -t A
> And this command executed into a terminal got a connection time out; no
> servers could be reached
>
> What's wrong with the check_dig command ?
>
> Thanks for your help
> Regards
>
>

-H specifies the nameserver to query
-l specifies the names to resolve.

Try the following:
./check_dig -v -H nameserver -l www.free.fr -a 192.168.1.10

-- 
-sg



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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