login as: root
root@clcsrv117's password:
Last login: Fri May 23 14:06:20 2014 from 172.16.1.77
[root@clcsrv117 ~]# service nagios status
nagios is not running
[root@clcsrv117 ~]# service ndo2db status
ndo2db (pid 1462) is running...
[root@clcsrv117 ~]# /usr/local/nagios/bin/nagios | head -2
Nagios Core 4.0.5
[root@clcsrv117 ~]# /usr/local/nagios/bin/ndo2db | head -2
NDO2DB 2.0.0
[root@clcsrv117 ~]# ^C
[root@clcsrv117 ~]# /usr/local/nagios/bin/nagios -v /usr/local/etc/nagios/etc/nagios.cfg
Nagios Core 4.0.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-11-2014
License: GPL
Website:
http://www.nagios.org
Reading configuration data...
Error: Cannot open main configuration file '/usr/local/etc/nagios/etc/nagios.cfg' for reading!
Error processing main config file!
[root@clcsrv117 ~]# /usr/local/nagios/bin/nagios -v /usr/local/etc/nagios/etc/nagios.cfg
Nagios Core 4.0.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-11-2014
License: GPL
Website:
http://www.nagios.org
Reading configuration data...
Error: Cannot open main configuration file '/usr/local/etc/nagios/etc/nagios.cfg' for reading!
Error processing main config file!
[root@clcsrv117 ~]#
We are thinking that we have to upgrade mod gearmon. Where and how are the next questions...