Ping problem

Bishop, Dean dean.bishop at tcdsb.org
Mon Nov 11 13:42:57 CET 2002


Good morning,

	Your problem lies in that you are not using a macro defined in the
checkcommands.cfg as your check_command.

	i would speculate that your host definition includes a line that
reads:

check_command	/bin/ping -n -U -c 1 localhost

in fact it should read simply:

check_command	check_host_alive

"check_host_alive" is a macro defined in checkcommands.cfg that calls
/bin/ping and pings the host (the IP of which it reads from the hosts.cfg
automagically) 5 times.

hope this helps,
dean



-----Original Message-----
From: Kalelme [mailto:kalelme at cantv.net]
Sent: Saturday, November 09, 2002 7:38 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Ping problem


> Operating system?
    Red Hat 7.3 
> Nagios version?
    nagios-1.0b6
> HTTP server and version?
    apache (1.3.24)
>Pluging version
    nagiosplug-1.3-beta1

IThis is the error form the server live

Host State Information
                  Host Status:   DOWN     
                  Status Information: /bin/ping -n -U -c 1 localhost 
                  Last Status Check: 10-11-2002 16:29:37 
                  Status Data Age: 0d 3h 57m 38s 
                  Last State Change: 10-11-2002 04:25:37 
                  Current State Duration: 0d 16h 1m 38s 
                  Last Host Notification: 10-11-2002 16:28:37 
                  Current Notification Number:   78   
                  Is This Host Flapping? N/A 
                  Percent State Change: N/A 
                  In Scheduled Downtime?   NO   
                  Last Update: 10-11-2002 20:27:15 
           
this is the error the ping (i try with another location)






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list