sync missed status

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jlarocque
Posts: 27
Joined: Tue Aug 31, 2010 11:46 am

sync missed status

Post 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
jlarocque
Posts: 27
Joined: Tue Aug 31, 2010 11:46 am

Re: sync missed status

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: sync missed status

Post 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.
jlarocque
Posts: 27
Joined: Tue Aug 31, 2010 11:46 am

Re: sync missed status

Post 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!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: sync missed status

Post 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.
jlarocque
Posts: 27
Joined: Tue Aug 31, 2010 11:46 am

Re: sync missed status

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: sync missed status

Post 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.
jlarocque
Posts: 27
Joined: Tue Aug 31, 2010 11:46 am

Re: sync missed status

Post 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
jlarocque
Posts: 27
Joined: Tue Aug 31, 2010 11:46 am

Re: sync missed status

Post by jlarocque »

I just rebooted the server and now core config manager works.

But the sync missed issue is still there
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: sync missed status

Post 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.
Locked