hosts.cfg error
Brian W. Wathen
bwathen at iwu.edu
Fri Apr 22 18:52:56 CEST 2005
Ok, I run the following command:
/usr/local/nagios/bin/nagios -v /usr/local/nagis.cfgc/nagios
and I get an error message that says the following:
Error: Could not add object property in file
'/usr/local/nagios/etc/hosts.cfg' on line 41.
line 41 is the contact_groups liine of the following host definition:
Error: Could not add object property in file
'/usr/local/nagios/etc/hosts.cfg' on line 41.
# Titan host definition
define host{
use generic-host ; Name of host template to use
host_name titan
alias Titan Server
address 198.178.132.11
check_command check-host-alive
contact_groups sysadmins,studadmins
max_check_attempts 20
normal_check_interval 5
notification_interval 60
notification_period 24x7
notification_options d,u,r
}
What's wrong with the contact_groups? The contact groups are written
correctly.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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