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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
djerveren
Posts: 6
Joined: Tue Feb 15, 2022 12:44 am

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

Post 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.
Last edited by djerveren on Wed Apr 24, 2024 11:54 am, edited 1 time in total.
djerveren
Posts: 6
Joined: Tue Feb 15, 2022 12:44 am

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

Post 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
jsimon
Posts: 109
Joined: Wed Aug 23, 2023 11:27 am

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

Post 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.
djerveren
Posts: 6
Joined: Tue Feb 15, 2022 12:44 am

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

Post by djerveren »

Hello jsimon, thanks for your reply. :)

I performed the steps you suggested (all went fine, without errors), but sadly, the problem persists.
hocedob
Posts: 1
Joined: Wed Apr 24, 2024 4:33 am

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

Post by hocedob »

How long will it take me to fix this situation? slope game
jsimon
Posts: 109
Joined: Wed Aug 23, 2023 11:27 am

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

Post 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.
djerveren
Posts: 6
Joined: Tue Feb 15, 2022 12:44 am

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

Post by djerveren »

Magical, that did the trick! Many many thanks, jsimon. :D
jsimon
Posts: 109
Joined: Wed Aug 23, 2023 11:27 am

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

Post by jsimon »

Great! Glad we got it. I'll go ahead and lock this topic.
Locked