NAGIOS XI new install issue
Posted: Fri Nov 14, 2014 10:50 am
Hi
I installed nagios XI but I’m having trouble bringing it up.
I saw the monitoring engine not running with an error when I hovered the mouse on the ! mark :
No lock file found in /usr/local/nagios/var/nagios.lock
And the performance grapher not running is due to NPCD not running.
I did some googling and saw a few things that I tried with no success in bringing the monitoring application on
Here's the error when I looked at the status or tried to start nagios service from CLI
[root@localhost etc]# service nagios start
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
[root@localhost etc]# service nagios status
No lock file found in /usr/local/nagios/var/nagios.lock
I checked and tried to locate/find the missing lock file and config file but could not. I tried to look into the installation log file for the config file name but could not find it there. Does anyone have experience with fixing this issue. Thank you in advance for your help
[root@localhost etc]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
Error processing object config files!
I installed nagios XI but I’m having trouble bringing it up.
I saw the monitoring engine not running with an error when I hovered the mouse on the ! mark :
No lock file found in /usr/local/nagios/var/nagios.lock
And the performance grapher not running is due to NPCD not running.
I did some googling and saw a few things that I tried with no success in bringing the monitoring application on
Here's the error when I looked at the status or tried to start nagios service from CLI
[root@localhost etc]# service nagios start
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
[root@localhost etc]# service nagios status
No lock file found in /usr/local/nagios/var/nagios.lock
I checked and tried to locate/find the missing lock file and config file but could not. I tried to look into the installation log file for the config file name but could not find it there. Does anyone have experience with fixing this issue. Thank you in advance for your help
[root@localhost etc]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Cannot open config file '/usr/local/nagios/etc/contacttemplates.cfg' for reading: No such file or directory
Error processing object config files!