Page 1 of 1

[SOLVED] All services are quadrupled in all views, but not in CCM

Posted: Tue Apr 23, 2024 3:19 am
by djerveren
Hello.

I've had this problem for a while now, and I figured it was time to deal with it. For some reason, after an upgrade a while back (can't say from which version or to which version), all of a sudden all services on all hosts started displaying four (4) times each under Tactical Overview and Service Status:
Image


But when looking at them in CCM, they are only listed once (as expected):
Image

I've seen a few posts regarding this issue, but couldn't find a proper solution. Anyone with any bright ideas?

I'm running Nagios XI 5.9.2.

Re: All services are quadrupled in all views, but not in CCM

Posted: Tue Apr 23, 2024 5:32 am
by djerveren
Plot twist. Adding new services now (yesterday), results in one extra service being displayed, not three extra:
Image

But CCM correctly shows only once instance of each service:
Image

Re: All services are quadrupled in all views, but not in CCM

Posted: Tue Apr 23, 2024 1:55 pm
by jsimon
Hi @djerveren,

The first thing I would try here is validating that your core config files are healthy. You can do this by going to Configure>Core Config Manager>Tools>Config File Management.

Once on this page, you'll want to click "Delete Files", then "Write Configs", then "Verify Files". This should refresh your base Core configuration, so that we can eliminate that as a possible source of the issue. Let us know if the issue persists after taking this step.

Re: All services are quadrupled in all views, but not in CCM

Posted: Tue Apr 23, 2024 10:36 pm
by djerveren
Hello jsimon, thanks for your reply. :)

I performed the steps you suggested (all went fine, without errors), but sadly, the problem persists.

Re: All services are quadrupled in all views, but not in CCM

Posted: Wed Apr 24, 2024 4:38 am
by hocedob
How long will it take me to fix this situation? slope game

Re: All services are quadrupled in all views, but not in CCM

Posted: Wed Apr 24, 2024 9:47 am
by jsimon
Alright, next let's try some steps to correct any MySQL issues you may have. Try running this in your CLI:

Code: Select all

systemctl stop nagios

echo 'truncate nagios_hoststatus; truncate nagios_hosts; truncate nagios_services; truncate nagios_servicestatus; truncate nagios_servicechecks; truncate nagios_hostchecks; truncate nagios_downtimehistory; truncate nagios_commenthistory;' | mysql -u root -pnagiosxi nagios

systemctl start nagios

printf "Done @ `date` \n"
Let me know how this goes, hoping this clears things up for you.

Re: All services are quadrupled in all views, but not in CCM

Posted: Wed Apr 24, 2024 11:54 am
by djerveren
Magical, that did the trick! Many many thanks, jsimon. :D

Re: [SOLVED] All services are quadrupled in all views, but not in CCM

Posted: Thu Apr 25, 2024 9:49 am
by jsimon
Great! Glad we got it. I'll go ahead and lock this topic.