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.
Host Status Pending
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Host Status Pending
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
http://nagios.sourceforge.net/docs/3_0/toc.html