This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
Box293
Too Basu
Posts: 5126 Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:
Post
by Box293 » Wed Apr 15, 2015 7:13 pm
Lets try this:
Go into CCM
Tools > Write Config Files
Click the Delete button
It will say "Successfully deleted all Host / Service Config Files"
Quick Tools > Apply Configuration
Click the Apply Configuration button
Are the configs correctly updated?
Also, what is the output of:
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new
Privacy Policy .
brdr
Posts: 312 Joined: Mon Jun 02, 2014 12:49 pm
Post
by brdr » Thu Apr 16, 2015 6:01 am
Yes, the configs did successfully get written.
FYI...i then tried to update a service, hit SAVE, APPLY and the change was still NOT picked up.
-rw-rw-r-- 1 apache nagios 1035 Apr 10 10:17 cgi.cfg
-rw-rw-r-- 1 apache nagios 25455 Apr 16 05:51 commands.cfg
-rw-rw-r-- 1 apache nagios 1316 Apr 16 05:51 contactgroups.cfg
-rw-rw-r-- 1 apache nagios 4714 Apr 16 05:51 contacts.cfg
-rw-rw-r-- 1 apache nagios 2093 Apr 16 05:51 contacttemplates.cfg
-rw-rw-r-- 1 apache nagios 817 Apr 16 05:51 hostdependencies.cfg
-rw-rw-r-- 1 apache nagios 819 Apr 16 05:51 hostescalations.cfg
-rw-rw-r-- 1 apache nagios 837 Apr 16 05:51 hostextinfo.cfg
-rw-rw-r-- 1 apache nagios 2086 Apr 16 05:51 hostgroups.cfg
drwsrwsr-x 2 apache nagios 4096 Apr 16 05:51 hosts
-rw-rw-r-- 1 apache nagios 17888 Apr 16 05:51 hosttemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Apr 14 15:02 import
-rwxrwxr-x 1 apache nagios 5599 Apr 15 17:11 nagios.cfg
-rw-rw-r-- 1 apache nagios 2229 Mar 25 13:28 ndo2db.cfg
-rw-rw-r-- 1 apache nagios 4827 Mar 25 13:28 ndomod.cfg
-rw-rw-r-- 1 apache nagios 7988 Mar 25 13:28 nrpe.cfg
-rw-rw-r-- 1 apache nagios 5345 Mar 25 13:28 nsca.cfg
drwxrwsr-x 4 apache nagios 4096 Apr 14 13:35 pnp
-rwxrwxr-x 1 apache nagios 369 Apr 14 08:07 resource.cfg
-rw-rw-r-- 1 apache nagios 1627 Mar 25 13:28 send_nsca.cfg
-rw-rw-r-- 1 apache nagios 823 Apr 16 05:51 servicedependencies.cfg
-rw-rw-r-- 1 apache nagios 825 Apr 16 05:51 serviceescalations.cfg
-rw-rw-r-- 1 apache nagios 843 Apr 16 05:51 serviceextinfo.cfg
-rw-rw-r-- 1 apache nagios 1454 Apr 16 05:51 servicegroups.cfg
drwsrwsr-x 2 apache nagios 4096 Apr 16 05:51 services
-rw-rw-r-- 1 apache nagios 26798 Apr 16 05:51 servicetemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Apr 14 13:35 static
-rw-rw-r-- 1 apache nagios 4943 Apr 16 05:51 timeperiods.cfg
brdr
Posts: 312 Joined: Mon Jun 02, 2014 12:49 pm
Post
by brdr » Thu Apr 16, 2015 6:50 am
We have 2 XI 2014 R2.6 environments.
I noticed that on the XI instance with issue after hitting SAVE that it doesn't display in the right hand corner in RED:
Changes detected! Apply Configuration for new changes to take effect
Both XI instances display in the top middle screen that Database was successfully written to. Both XI instance use same Firefox browser. The other XI instance was an upgrade from 2.3 where the XI with issue was a fresh 2.6 install.
Hope that helps.
I will be out of office next week.
Thanks
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Thu Apr 16, 2015 1:14 pm
Could you tail the Apache logs while you Apply the Configuration and post the output?
Run this while applying the configuration.
Code: Select all
tail -f /var/log/httpd/error_log
tail -f /var/log/httpd/access_log
Be sure to check out our
Knowledgebase for helpful articles and solutions!
brdr
Posts: 312 Joined: Mon Jun 02, 2014 12:49 pm
Post
by brdr » Mon Apr 27, 2015 8:26 am
please find attached output for both
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Mon Apr 27, 2015 9:30 am
We did find a bug in the CCM that would cause this issue, and was addressed in 2014R2.7
brdr
Posts: 312 Joined: Mon Jun 02, 2014 12:49 pm
Post
by brdr » Mon Apr 27, 2015 10:28 am
I just upgraded from 2.6 to 2.7, however, I still have this issue.
abrist
Red Shirt
Posts: 8334 Joined: Thu Nov 15, 2012 1:20 pm
Post
by abrist » Mon Apr 27, 2015 12:30 pm
Please try deleting the configs again, and then writing and verifying. You may have to remove the configs to reset the times on the files, etc.
Former 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 .
brdr
Posts: 312 Joined: Mon Jun 02, 2014 12:49 pm
Post
by brdr » Mon Apr 27, 2015 1:47 pm
I did update the configs per instructions, however, the issues still persists.
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Mon Apr 27, 2015 2:04 pm
Can you run the following command:
Code: Select all
su nagios -c 'cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh' &> /tmp/reconfigure.txt
and post the "reconfigure.txt" that was generated in the "/tmp/" directory?
Be sure to check out our
Knowledgebase for helpful articles and solutions!