DNS - Checkking
Hari Sekhon
hpsekhon at googlemail.com
Fri Jan 5 19:12:55 CET 2007
go read the nagios docs, all of them before trying to run nagios. it is
a lot of work and you'll never get it right until you've read the whole
thing at least twice.
your path to your plugin is probably wrong, this is a resource you
define. You should be able to easily see what is wrong when you read the
doc.
-h
Hari Sekhon
edalB wrote:
> Ok now that I got hold of the check_dns plugin now in my log files I
> get the error
>
> Jan 5 15:54:17 nagios-0 nagios: Warning: Return code of 126 for check
> of service 'DNS' on host 'dns-0.rba.ispafrica.net' was out of bounds.
> Make sure the plugin you're trying to run actually exists.
> Jan 5 15:54:17 nagios-0 nagios: SERVICE ALERT:
> dns-0.rba.ispafrica.net;DNS;CRITICAL;SOFT;1;(Return code of 126 is out
> of bounds - plugin may be missing)
>
> Thanks sofar
>
> On 1/5/07, Az <az at whoever.org> wrote:
>
>> edalB wrote:
>>
>>> Why does it look like that nagios does not have a check_dns command?
>>>
>>> I need to beable to check DNS aswell.
>>>
>> The nagios-plugins bundle from SF has...
>>
>> check_dns (nagios-plugins 1.4.5) 1.54
>> Copyright (c) 1999 Ethan Galstad <nagios at nagios.org>
>> Copyright (c) 2000-2006 Nagios Plugin Development Team
>> <nagiosplug-devel at lists.sourceforge.net>
>>
>> This plugin uses the nslookup program to obtain the IP address for the
>> given host/domain query.
>> An optional DNS server to use may be specified.
>> If no DNS server is specified, the default server(s) specified in
>> /etc/resolv.conf will be used.
>>
>> ...and...
>>
>> check_dig (nagios-plugins 1.4.5) 1.45
>> Copyright (c) 2000 Karl DeBisschop <kdebisschop at users.sourceforge.net>
>> Copyright (c) 2002-2006 Nagios Plugin Development Team
>> <nagiosplug-devel at lists.sourceforge.net>
>>
>> This plugin test the DNS service on the specified host using dig
>>
>>
>>
>
> -------------------------------------------------------------------------
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070105/ac8cf904/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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