Page 1 of 1

Host Status Pending

Posted: Tue Mar 04, 2014 10:14 am
by simo
host status is pending, I configured the host file in the directory /usr/local/nagios/etc/object/pluto.cfg

pluto.cfg
define host{

host_name web1.itb.cnr.it
alias pluto
address 192.168.7.66
max_check_attempts 5

}

define host{

host_name chess.naginet
alias chess
address 192.168.6.182
max_check_attempts 5

}

define service{
use generic-service
host_name web1.itb.cnr.it ,chess.naginet
service_description PING
check_command check_ping!100,20%!200,40%
check_interval 1
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7


}

define service{
use generic-service
host_name web1.itb.cnr.it ,chess.naginet
service_description HTTP
check_command check_http
max_check_attempts 3
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7

}

What should I do?

ps:I'm Italian and I do not write very well in English, sorry

help me please.

Re: Host Status Pending

Posted: Tue Mar 04, 2014 2:54 pm
by slansing
You do not have any check assigned to that host, thus it will always be in a pending state unless something is submitted to it, ie. a check result. To learn how to configure hosts and services please read the 'How To Monitor' sections:

http://nagios.sourceforge.net/docs/3_0/toc.html