check_dns problem

Marc Powell mpowell at ena.com
Wed Oct 15 18:44:50 CEST 2003


Those look good. What happens if you run --

/usr/local/nagios/libexec/check_dns -H www.yahoo.com -s <your dns server>

And

/path/to/nslookup -sil www.yahoo.com <your dns server>

Both as the nagios user (su - nagios). I suspect that nagios isn't able to run nslookup. If the nagios user is able to execute both, please provide the output of each command.

Thanks,

m

> -----Original Message-----
> From: Alexander Brückel [mailto:brueckel at wave-computer.de]
> Sent: Wednesday, October 15, 2003 11:28 AM
> To: Marc Powell
> Cc: nagios-users at lists.sourceforge.net
> 
> Ok, sorry for this.
> 
> Nagios version: 1.1
> Plugins version: 1.3.1
> OS: SuSE Linux 8
> default tarball installation
> 
> service definition:
> define service{
>         use                             generic-service
>         host_name                       mail1,mail2,dns3
>         service_description             DNS-Check
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              3
>         normal_check_interval           3
>         retry_check_interval            1
>         contact_groups                  web-admins
>         notification_interval           60
>         notification_period             24x7
>         notification_options            w,u,c,r
>         check_command                   check_dns
>         }
> 
> command definition:
> # 'check_dns' command definition
> define command{
>         command_name    check_dns
>         command_line    $USER1$/check_dns -H www.yahoo.com -s
> $HOSTADDRESS$
>         }
> 
> Again, thanks for your help.
> 
> Alex
> 
> 
> 
> Am 15.10.2003 18:21, Marc Powell <mpowell at ena.com> schrieb:
> 
> > Please send to the list --
> >
> > Nagios version
> > Plugins version
> > OS and version
> > Nslookup version
> > Nagios service definition for this check
> > Nagios command definition for this check
> > How nagios was installed (tarball with default configure options, Redhat
> RPM install (where did you get it), etc...)
> >
> > That's just for starters. We need _some_ information besides 'it doesn't
> work' to start with.
> >
> > --
> > Marc
> >
> > > -----Original Message-----
> > > From: Alexander Brückel [mailto:brueckel at wave-computer.de]
> > > Sent: Wednesday, October 15, 2003 11:03 AM
> > > To: nagios-users at lists.sourceforge.net
> > >
> > > Hi,
> > >
> > > nagios tells me
> > > DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no
> > > address
> > > What am i doing wrong?
> > >
> > > Thanks for your help.
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: SF.net Giveback Program.
> > > SourceForge.net hosts over 70,000 Open Source Projects.
> > > See the people who have HELPED US provide better services:
> > > Click here: http://sourceforge.net/supporters.php
> > > _______________________________________________
> > > 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
> >
> 
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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