nagios

Brian Loe knobdy at gmail.com
Mon Jan 22 19:08:25 CET 2007


I'm using the following check command (in checkcommands.cfg):

 # 'check_dns' command definition
 define command{
         command_name    check_dns1
         command_line    $USER1$/check_dns -H www.<our-web-server.com
-s $HOSTADDRESS$ -a <our web server's IP address>

define command{
         command_name    check_dns2
         command_line    $USER1$/check_dns -H www.<our-web-server.com
-s $HOSTADDRESS$ -a <our web server's IP address>

Shouldn't that work to verify OUR DNS server is up and replying? Do I
need both of them or shouldn't just the one work?

Also, when looking at Service or Host Alert History I see a bunch of this:

Program End[01-22-2007 11:35:01] Lockfile
'/usr/local/nagios/var/nagios.lock' is held by PID 8228. Bailing out...
Program Start[01-22-2007 11:35:01] Nagios 2.4 starting... (PID=3720)
Program End[01-22-2007 11:25:01] Lockfile
'/usr/local/nagios/var/nagios.lock' is held by PID 8228. Bailing out...
Program Start[01-22-2007 11:25:01] Nagios 2.4 starting... (PID=1772)
Program End[01-22-2007 11:15:01] Lockfile
'/usr/local/nagios/var/nagios.lock' is held by PID 8228. Bailing out...
Program Start[01-22-2007 11:15:01] Nagios 2.4 starting... (PID=32247)
Program End[01-22-2007 11:05:02] Lockfile
'/usr/local/nagios/var/nagios.lock' is held by PID 8228. Bailing out...
Program Start[01-22-2007 11:05:02] Nagios 2.4 starting... (PID=30324)

-------------------------------------------------------------------------
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





More information about the Users mailing list