Page 1 of 3
sync missed status
Posted: Fri Nov 26, 2010 2:41 pm
by jlarocque
I created 17 new services for one server and I have 6 of them showing sync missed after I applied configuration even when I didn't get any errors after the configuration changes were applied
I checked the service detail and the 6 services are being monitored successfully
Can anyone tell me if there is a log file that will tell me why the sync missed status
Re: sync missed status
Posted: Mon Nov 29, 2010 9:01 am
by jlarocque
Update
The six services that were in a Missed Status I changed their config name from nitccondb1_servers to nitccondb1 and they synced
I changed them back to nitccondb1_servers and three synced but three still will not. I changed the three to nitccondb1_server (without the s) and they synced and I left them with that name. Each one does have a different service name
I thought there might be a limit on all many different service names you can have for one config name but I have another config name with much less service names having the same issue
Re: sync missed status
Posted: Mon Nov 29, 2010 3:35 pm
by mguthrie
Try using the Write Config Tool to manually write the information from the database to the Config Files. If you get any permissions errors run the /usr/local/nagiosxi/scripts/reset_config_perms script.
Re: sync missed status
Posted: Tue Nov 30, 2010 6:40 pm
by jlarocque
Thanks
I tried that and looks like everything works fine and services are working but still shows sync missed until I change the config name then it syncs up
Written configuration files are valid. Nagios can be restarted!
Re: sync missed status
Posted: Wed Dec 01, 2010 11:15 am
by mguthrie
Could you send us some more detailed info on this? For example can you send us the list of names that you were attempting to enter in and were failing to sync, and then the list of names that you were able to get to sync correctly? You can send this privately to us if you need to, but we'd like to take a look at this and find out if it's a bug or just a naming issue.
Re: sync missed status
Posted: Thu Dec 02, 2010 11:47 am
by jlarocque
I did this one yesterday and the config_name is not has long has the other one I have the problem with
nitccondpo01a Oracle Files Yes Synced
nitccondpo01a Oracle2 Files Yes Sync Missed
Changed config name to nitccondpo01a_server and it just Synced
nitccondpo01a_server Oracle2 Files Yes Synced
The one I have been having the issue is this one
chicondb1_servers oraredo2vg available space Yes Sync Missed
I then change to chicondb1_server and it Syncs
chicondb1_server oraredo2vg available space Yes Synced
The Nagios XI "Nagios Core Config Manager" Gui shows Sync Missed but it looks like the configuration files are being updated
Re: sync missed status
Posted: Fri Dec 03, 2010 11:17 am
by mguthrie
You might want to check to make sure you don't have multiple instances of Nagios running. You can stop all Nagios processes with:
killall -9 nagios
from the command line, then start the Nagios monitoring engine again from the Admin page. If somehow a 2nd instance of Nagios gets started it can cause unpredictable results.
Re: sync missed status
Posted: Mon Dec 06, 2010 9:09 am
by jlarocque
I ran killall on nagios and restarted it.
Now I cannot do anything in the core config manager.
Nothing happens when I click onto hosts, services, contacts, etc
I restarted all the processes and still nothing
Re: sync missed status
Posted: Mon Dec 06, 2010 9:38 am
by jlarocque
I just rebooted the server and now core config manager works.
But the sync missed issue is still there
Re: sync missed status
Posted: Mon Dec 06, 2010 11:57 am
by mguthrie
Can you send me a sample config of a host that seems to be having issues syncing? You can grab the text config directly by selecting the "Download" option in the Core Config Manager. I just want to see if there could be something in there that could be throwing things off.
It also might be worth trying the Write Config Tool one more time now that the system is restarted to see if things sync up.