Post Upgrade Process State won't turn green
Post Upgrade Process State won't turn green
Ran the upgrade successfully. Now we cannot change the process state from red to green. HELP!!!!
Re: Post Upgrade Process State won't turn green
Run the following commands and show us the output:
Are you using Mod Gearman, Livestatus, etc.?
Code: Select all
service nagios status
service ndo2db status
/usr/local/nagios/bin/nagios | head -2
/usr/local/nagios/bin/ndo2db | head -2
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Post Upgrade Process State won't turn green
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 ~]#
Ok, found this in the nagios log. This shows up when restarting the monitoring engine. something in there it doesn't like.
[1400872029] ndomod registered for retention data'
[1400872029] ndomod registered for contact data'
[1400872029] ndomod registered for contact notification data'
[1400872029] ndomod registered for acknowledgement data'
[1400872029] ndomod registered for state change data'
[1400872029] ndomod registered for contact status data'
[1400872029] ndomod registered for adaptive contact data'
[1400872029] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1400872029] Error: Module loading failed. Aborting.
[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 ~]#
Ok, found this in the nagios log. This shows up when restarting the monitoring engine. something in there it doesn't like.
[1400872029] ndomod registered for retention data'
[1400872029] ndomod registered for contact data'
[1400872029] ndomod registered for contact notification data'
[1400872029] ndomod registered for acknowledgement data'
[1400872029] ndomod registered for state change data'
[1400872029] ndomod registered for contact status data'
[1400872029] ndomod registered for adaptive contact data'
[1400872029] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1400872029] Error: Module loading failed. Aborting.
Re: Post Upgrade Process State won't turn green
You didn't answer my question:
Can you post the nagios.cfg file?Are you using Mod Gearman, Livestatus, etc.?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Post Upgrade Process State won't turn green
Run a verification:
Post the output.
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Post Upgrade Process State won't turn green
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...
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...
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Post Upgrade Process State won't turn green
Can you confirm the permissions of the following file
Also can you verify disk space
Code: Select all
ls -l /usr/local/etc/nagios/etc/nagios.cfgCode: Select all
df -h
df -i
Re: Post Upgrade Process State won't turn green
We ended up updating ModGearman. That seems to have solved that issue.
Of course now some of my service checks (server uptime) aren't working.
Good times, good times.
Of course now some of my service checks (server uptime) aren't working.
Good times, good times.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Post Upgrade Process State won't turn green
Are those checks that are normally processed by gearman or something else like passive checks? Also just to confirm, verify now completes without any errors?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.