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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > Copyright (c) 2000-2006 Nagios Plugin Development Team > <[EMAIL PROTECTED]> > > 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 <[EMAIL PROTECTED]> > Copyright (c) 2002-2006 Nagios Plugin Development Team > <[EMAIL PROTECTED]> > > 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 [email protected] 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
