Elements out of sync after upgrading to Nagios XI 2012R2.8c

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Elements out of sync after upgrading to Nagios XI 2012R2.8c

Post by johndoe »

Just updated nagios XI to "Nagios XI 2012R2.8c" , went to configure some unconfigured objects and noticed that even though nagios says the configs were successfully written it keeps showing me "Out of sync" when i go to the Legacy CCM to try and configure them further.

Went to tools > write config files also and all shows ok however the "out of sync" is still shown.

What can I do ?
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Elements out of sync after upgrading to Nagios XI 2012R2

Post by tmcdonald »

What happened when you clicked Verify? All "Write" does is actually write the files to disk without bothering to sanity-check them.
Former Nagios employee
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Re: Elements out of sync after upgrading to Nagios XI 2012R2

Post by johndoe »

Total Warnings: 80
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check


.... I came accross this post http://support.nagios.com/forum/viewtop ... f=6&t=6040

I also had the time different, however after changing my time and making sure it matches i still have the same problem...

On a side note, not sure if related to this issue also, some checks (99% of my checks are passive) on the "duration" show a negative value (-20s, -30s etc...)
Last edited by johndoe on Wed Jan 29, 2014 9:00 am, edited 1 time in total.
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Elements out of sync after upgrading to Nagios XI 2012R2

Post by scottwilkerson »

Can you run the following and send the results (can PM if it is sensitive information)

Code: Select all

ls -la /usr/local/nagios/etc/hosts /usr/local/nagios/etc/services
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Re: Elements out of sync after upgrading to Nagios XI 2012R2

Post by johndoe »

here you go, all other permissions of files are the same, obfuscated the names:

Code: Select all

/usr/local/nagios/etc/services:
total 420
drwsrwsr-x 2 apache nagios  4096 Jan 28 13:00 .
drwsrwsr-x 7 apache nagios  4096 Jan 27 13:44 ..
-rw-rw-r-- 1 apache nagios  1005 Jan 29 14:05 XXX.cfg
-rw-rw-r-- 1 apache nagios  1012 Jan 29 14:05 XXX1.cfg
-rw-rw-r-- 1 apache nagios  1029 Jan 29 14:05 XXX2.cfg


/usr/local/nagios/etc/hosts:
total 204
drwsrwsr-x 2 apache nagios 4096 Jan 28 13:00 .
drwsrwsr-x 7 apache nagios 4096 Jan 27 13:44 ..
-rw-rw-r-- 1 apache nagios 1119 Jan 29 14:05 XXX.cfg
-rw-rw-r-- 1 apache nagios 1116 Jan 29 14:05 XXX1.cfg
-rw-rw-r-- 1 apache nagios 1104 Jan 29 14:05 XXX2.cfg
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Elements out of sync after upgrading to Nagios XI 2012R2

Post by scottwilkerson »

Unfortunately this isn't going to help as I am looking for particular host/service that is the offending one, and want to see if there is a difference in timestamp compared to the rest.. Can you send the full output in a PM?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Re: Elements out of sync after upgrading to Nagios XI 2012R2

Post by johndoe »

They all have the same timestamp "Jan 29 14:05" and permissions "-rw-rw-r--", the only differences are file sizes, a bit reluctant to send you the data as it's quite sensitive for us. Any other way I can assist you on finding the issue here?
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Elements out of sync after upgrading to Nagios XI 2012R2

Post by scottwilkerson »

If you to to Admin -> System Profile can you show me the Date/Time section, e.g.
Date/Time
PHP Timezone: US/Central
PHP Time: Wed, 29 Jan 2014 12:38:20 -0600
System Time: Wed, 29 Jan 2014 12:38:20 -0600
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
johndoe
Posts: 114
Joined: Fri Oct 28, 2011 10:14 am

Re: Elements out of sync after upgrading to Nagios XI 2012R2

Post by johndoe »

Date/Time

PHP Timezone: UTC
PHP Time: Thu, 30 Jan 2014 14:29:05 +0000
System Time: Thu, 30 Jan 2014 14:29:05 +0000
Nagios XI 2012R2.8c Running on Ubuntu 12.04 Using 99% passive checks for monitoring
Monitoring nearly 800 Passive services spread through roughly 40 machines
Running on an 8 core, KVM virtualized VM, with 15 GB of RAM and using RAMDisk
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Elements out of sync after upgrading to Nagios XI 2012R2

Post by abrist »

Lets check a few things. What is the output of:

Code: Select all

grep "memory_limit\|max_execution\|max_input" /etc/php.ini
And:

Code: Select all

tail -25 /var/log/mysqld.log
How many checks are run every 5 minutes?
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.
Locked