I'm deploying a new Nagios server on Debian Linux 6. Have installed the Nagios3
packages, am able to log into the web interface. I'm trying to monitor our
network switches and routers, the nagios3.cfg file points to
/etc/nagios3/objects/switch.cfg. That folder doesn't exist, the .cfg files are
all under /etc/nagios3/conf.d/, but there is no switch.cfg file. So I've
created one from scratch, just trying to get the first switch in, but when I
try to verify the config files I get the following error:
Error: Could not add property in file '/etc/nagios3/conf.d/switch_nagios2.cfg
on line 3. Error processing object config files.
I've created the file from scratch, but pretty basic stuff, line 3 is just the
host_name entry:
Define host{
use generic-host
host-name cisco2811
alias Cisco 2811 Router
address xxx.xxx.xxx.xxx
hostgroups allhosts,network-switches
}
The documentation I've found still lists host-name as a valid entry, not sure
what's going on, any help would be appreciated.
Thanks in advance,
Joel
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Nagios-users mailing list
Nagios-users@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