Apply Configuration does not work after 2.6 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Apply Configuration does not work after 2.6 upgrade

Post 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
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: Apply Configuration does not work after 2.6 upgrade

Post by questrad »

Can you please provide more details, such as:

1. Errors
2. Screen shots
3. etc.

Thanks
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Apply Configuration does not work after 2.6 upgrade

Post 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.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: Apply Configuration does not work after 2.6 upgrade

Post 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.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Apply Configuration does not work after 2.6 upgrade

Post 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.
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: Apply Configuration does not work after 2.6 upgrade

Post 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
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Apply Configuration does not work after 2.6 upgrade

Post 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.
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: Apply Configuration does not work after 2.6 upgrade

Post 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?
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Apply Configuration does not work after 2.6 upgrade

Post 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
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Apply Configuration does not work after 2.6 upgrade

Post by rajasegar »

Requested 30sec tail of the log files during Apply Configuration
tail -F /usr/local/nagios/var/*.log /usr/local/nagiosxi/var/*.log
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked