Nagios Core 3.4.1 on Debian: Unexpected start of object definition in file '/usr/loca
Hi,
When I try to restart Nagios, I get this error message:
Unexpected start of object definition in file '/usr/local/nagios/etc/objects/localhost.cfg' on line 61 Make sure you close preceding objects before starting a new one.Error processing object config files!
Here's how my localhost.cfg file is configured:
# Define an optional hostgroup for Linux machines
define hostgroup{
hostgroup_name linux-servers ; The name of the hostgroup
alias Linux Servers ; Long name of the group
members localhost ; backup.abc.com, master.abc.com
}
I can't find anything wrong when I check line 61: define hostgroup{
Thanks for your help!
|