|
From: <Ste...@Mi...> - 2005-05-16 17:13:46
|
I'm trying to use several host definition files, one for each monitored system. I'm not using hosts.cfg. When I try staring the nagios deamon I get an error that it can't find hosts.cfg: Nagios 2.0b3 starting... (PID=425) Error: Cannot open config file '/usr/local/nagios/etc/hosts.cfg' for reading: No such file or directory Location of of host definition files (1 per host): /usr/local/nagios/etc/hosts/<hostname>.cfg /usr/local/nagios/etc/nagios.cfg: cfg_dir=/usr/local/nagios/etc/hosts I compiled with these options: ./configure --prefix=/usr/local/nagios \ --exec-prefix=/usr/local/nagios \ --bindir=/bin \ --sbindir=/sbin \ --libexecdir=/libexec \ --datadir=/share \ --sysconfdir=/etc \ --localstatedir=/var Thanks. Stephen S. |