Invalid max_check_attempts value for host
Melanie Pfefer
melanie_pfefer at yahoo.co.uk
Thu Sep 6 17:08:14 CEST 2007
Hi,
I am running nagios 2.9 and created a new file
hosts.cfg to list all servers to be monitored.
The initial lines were taken from localhost.cfg where
it defines 2 templates and the localhost. I added
these lines:
# 'host1 ' host definition
define host{
use generic-host
host_name host1
address 172.10.31.22
contact_groups sysadmin
}
./nagios -v ../etc/nagios.cfg gives this error:
Error: Invalid max_check_attempts value for host
'host1'
Error: Could not register host (config file
'/usr/local/nagios/etc/hosts.cfg', starting on line
56)
any idea please on how to resolve this error?
thanks
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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