Page 1 of 5
Apply Configuration does not work after 2.6 upgrade
Posted: Sun Mar 15, 2015 8:57 pm
by rajasegar
Nagios XI 2014R2.6
check_gearman: version 1.4_nagios4 running on libgearman 0.25
We upgraded nagios R1.2 to 2.6 without any issues
However now Apply Configuration is broken.
We have to restart the nagios service from the command line.
Previously before the upgrade we only needed to do this once after every reboot.
Please advice where to check on this issue.
Thanks
Re: Apply Configuration does not work after 2.6 upgrade
Posted: Mon Mar 16, 2015 1:32 am
by questrad
Can you please provide more details, such as:
1. Errors
2. Screen shots
3. etc.
Thanks
Re: Apply Configuration does not work after 2.6 upgrade
Posted: Mon Mar 16, 2015 2:12 am
by rajasegar
questrad wrote:Can you please provide more details, such as:
1. Errors
2. Screen shots
3. etc.
Thanks
No errors.
The Top right hand corner traffic light indicator on the UI will show 2 green and 3 blue.
In command line, service nagios status will show nagios not started.
When I execute, service nagios start using nagios id, everything will be back to normal.
Re: Apply Configuration does not work after 2.6 upgrade
Posted: Mon Mar 16, 2015 3:15 am
by questrad
When you apply config via Nagios XI GUI are you get that config has been applied successful?
Can you provide screen shot of those blues and greens?
All of them is reflected to one os system components.
Re: Apply Configuration does not work after 2.6 upgrade
Posted: Mon Mar 16, 2015 3:54 am
by rajasegar
questrad wrote:When you apply config via Nagios XI GUI are you get that config has been applied successful?
Can you provide screen shot of those blues and greens?
All of them is reflected to one os system components.
Apply Configuration is Ok. No Errors
Gearman_top will show check_results as zero
Code: Select all
2015-03-16 16:46:07 - localhost:4730 - v0.25
Queue Name | Worker Available | Jobs Waiting | Jobs Running
-----------------------------------------------------------------------
check_results | 0 | 17 | 0
eventhandler | 10 | 0 | 0
host | 10 | 0 | 0
service | 10 | 0 | 0
worker_nagiosprodxi1 | 1 | 0 | 0
-----------------------------------------------------------------------
[nagios@nagiosprodxi1 service_2_processed]$ service nagios status
nagios is not running
Untitled.png
The last 3 will always be blue.
Untitled2.png
Process state will be red. Pressing start has no effect.
However if I execute service nagios start it will be ok.
Re: Apply Configuration does not work after 2.6 upgrade
Posted: Mon Mar 16, 2015 4:04 am
by questrad
Good, that is correct behavior.
Did you wait couple of minutes?
On my system it same, but after 1-2 min everything come back to normal
Re: Apply Configuration does not work after 2.6 upgrade
Posted: Mon Mar 16, 2015 4:40 am
by rajasegar
questrad wrote:Good, that is correct behavior.
Did you wait couple of minutes?
On my system it same, but after 1-2 min everything come back to normal
We waited 20 minutes.
Untitled3.png
All the 1 min and 5 min stats is gone and scheduled events is showing aroung 60 when it used to be around 800.
Re: Apply Configuration does not work after 2.6 upgrade
Posted: Mon Mar 16, 2015 4:58 am
by questrad
Did you try to click on Engine Process -> Action-> Start?
Can you please provide log output (attached) from /usr/local/nagios/var/nagios.log and /usr/local/nagiosxi/var/cmdsubsys.log after applying config?
Re: Apply Configuration does not work after 2.6 upgrade
Posted: Mon Mar 16, 2015 5:23 am
by rajasegar
questrad wrote:Did you try to click on Engine Process -> Action-> Start?
Can you please provide log output (attached) from /usr/local/nagios/var/nagios.log and /usr/local/nagiosxi/var/cmdsubsys.log after applying config?
Action->Start has no effect even though it says command executed.
/usr/local/nagiosxi/var/cmdsubsys.log has only 2 lines
Code: Select all
[nagios@nagiosprodxi1 temp]$ cat /usr/local/nagiosxi/var/cmdsubsys.log
...............
PROCESSED 0 COMMANDS
I PM'ed you the nagios.log
Re: Apply Configuration does not work after 2.6 upgrade
Posted: Mon Mar 16, 2015 6:19 am
by rajasegar
Requested 30sec tail of the log files during Apply Configuration
tail -F /usr/local/nagios/var/*.log /usr/local/nagiosxi/var/*.log