DNS plugin problem
Dan Hopkins
dan.hopkins at uk.easynet.net
Tue Jan 25 12:42:58 CET 2005
> -----Original Message-----
> From: Andy Smith [mailto:andy at strugglers.net]
> Sent: 24 January 2005 18:14
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] DNS plugin problem
>
>
> On Sun, Jan 23, 2005 at 03:14:02PM -0500, Skylar Thompson wrote:
> > I'm using the check_dns plugin to monitor our BIND DNS
> servers. Many times
> > a day, the plugin marks one BIND server as down with this
> error message:
> >
> > SERVICE ALERT: hopper;DNS;CRITICAL;HARD;3;DNS CRITICAL -
> '/usr/bin/nslookup
> > -sil' output parsing exited with no address
> >
> > It then comes back up about 10 minutes later:
> >
> > SERVICE ALERT: hopper;DNS;OK;HARD;3;DNS ok - 1 seconds
> response time,
> > Address(es) is/are 216.109.118.74
>
> Does the problem go away if you modify your check to use check_dig
> instead?
>
> (nslookup is deprecated, although that probably isn't your problem
> let's stop using it anyway)
<snip>
I doubt it's Skylar's choice to use nslookup - the problem is that the
standard Nagios DNS plugin is dreadful. It parses nslookup output, badly,
and will either work, display parsing errors, or even more fun just plain
segfault.
(this is the 1.3 plugin version, I'd hope it's been corrected in 1.4, but
I've not looked recently)
Dan
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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