check_dns plugin error
lists
mailinglists at backbonetechnology.com
Thu Nov 3 20:08:27 CET 2005
Here is the info from my chekcommand config:
define command{
command_name check_dns_bbt
command_line $USER1$/check_dns -H domaintoquery.com -s $HOSTADDRESS$
}
And here is hte info from my services config:
define service{
host_name ns2_backbone
service_description DNS
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups backbone-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_dns_bbt
}
Ideas?
::::::::::::::::::::::
Dustin
::::::::::::::::::::::
---------- Original Message -----------
From: "Lori Adams" <ladams at cloudmark.com>
To: "Dustin Krysak" <mailinglists at backbonetechnology.com>,
<nagios-users at lists.sourceforge.net>
Sent: Thu, 3 Nov 2005 09:15:37 -0800
Subject: RE: [Nagios-users] check_dns plugin error
> You'll probably want to give us your configs for both the service check
> that calls check_dns and the checkcommand config.
>
> Does your check_dns checkcommand config have $ARG1$?
> ie:
> define checkcommand {
> command_name check_dns
> command_line /your/check_dns $ARG1$
> }
>
> HTH.
>
> -Lori
>
> > -----Original Message-----
> > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> > admin at lists.sourceforge.net] On Behalf Of Dustin Krysak
> > Sent: Monday, October 31, 2005 3:51 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] check_dns plugin error
> >
> > Hi there - I have been searching the list archives and have not found
> > a definitive answer....
> >
> > I have a nagios server, and I have a host and service defined to
> > check our dns using the check_dns command. Now I need to pass it the
> > --hostname option since this DNS server would need to check a domain
> > it is authoritative for (recursive queries, etc).
> >
> > So in my service definition, I have
> >
> > check_command check_dns! --hostname=www.domain.com
> >
> > Did i get the formatting wrong?
> >
> > And as it stands now, the result is:
> >
> > "DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with
> > no address "
> >
> > Can anyone point me in the right direction?
> >
> > Thanks!
> >
> > Dustin
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.
> > Get Certified Today * Register for a JBoss Training Course
> > Free Certification Exam for All Training Attendees Through End of 2005
> > Visit http://www.jboss.com/services/certification for more information
> > _______________________________________________
> > 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
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.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
------- End of Original Message -------
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.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