Hi There,
I just installed nagios-3.0b5.tar.gz on a freshly installed Redhat Ent. 5 server and I’m experiencing some trouble with the check_ping plugin.
I keep on getting the following Error
<-----Error------>
Current Status: UNKNOWN (for 0d 4h 51m 40s)
Status Information: /bin/ping -n -U -w 10 -c 5 10.4.0.2
CRITICAL - Could not interpret output from ping command
</----Error----->
Here’s a copy the config I’m using.
<----Config----->
define host{
use generic-switch ; Inherit default values from a template
host_name AP1 ;The name we’re giving to this switch
alias AP1 Main ; A longer name associated with the switch
address 10.4.0.1 ; IP address of the switch
hostgroups switches ; Host groups this switch is associated with
}
define service{
use generic-service ; Inherit values from a template
host_name AP1 ; The name of the host the service is associated with
service_description PING ; The service description
check_command check_ping!200.0,20%!600.0,60% ; The command used to monitor the service
normal_check_interval 5 ; Check the service every 5 minutes under normal conditions
retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined
}
This is the first time I’ve installed Nagios so I’m most probably doing something wrong some where. Any ideas would be very welcome.
Thanks in advance.