[Nagios-users] init.d/nagios

2010-03-19 Thread David Dyer-Bennet
The init file built and installed by make install-init doesn't seem to work right. I apparently have nagios running after saying service nagios start (it reported success), based on receiving some notifications and on ps showing /usr/local/nagios/bin/nagios running as a daemon, but service

Re: [Nagios-users] init.d/nagios

2010-03-19 Thread Martin Melin
On Fri, Mar 19, 2010 at 7:28 PM, David Dyer-Bennet d...@dd-b.net wrote: The init file built and installed by make install-init doesn't seem to work right. I apparently have nagios running after saying service nagios start (it reported success), based on receiving some notifications and on

Re: [Nagios-users] init.d/nagios

2010-03-19 Thread Noel Platzke
The init script should really be changed to this so we avoid this problem altogether... NagiosStatusFile=$(grep status_file= $NagiosCfgFile | awk -F\= '{print $2}') NagiosRetentionFile=$(grep state_retention_file= $NagiosCfgFile | awk -F\= '{print $2}') NagiosCommandFile=$(grep command_file