Elements out of sync after upgrading to Nagios XI 2012R2.8c
Elements out of sync after upgrading to Nagios XI 2012R2.8c
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 ?
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
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
Re: Elements out of sync after upgrading to Nagios XI 2012R2
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
Re: Elements out of sync after upgrading to Nagios XI 2012R2
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...)
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
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
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/servicesRe: Elements out of sync after upgrading to Nagios XI 2012R2
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.cfgNagios 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
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
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?
Re: Elements out of sync after upgrading to Nagios XI 2012R2
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
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
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
Re: Elements out of sync after upgrading to Nagios XI 2012R2
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
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
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
Re: Elements out of sync after upgrading to Nagios XI 2012R2
Lets check a few things. What is the output of:
And:
How many checks are run every 5 minutes?
Code: Select all
grep "memory_limit\|max_execution\|max_input" /etc/php.iniCode: Select all
tail -25 /var/log/mysqld.logFormer 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.