Deleted Services Still show in Web UI; Service Counts don't

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bchabotdg
Posts: 34
Joined: Wed Aug 16, 2017 2:33 pm

Deleted Services Still show in Web UI; Service Counts don't

Post by bchabotdg »

CentOS 6.9, Nagios XI 5.5.2

I deleted almost 200 services using CCM. I apply the configuration changes. No errors. They are gone from the .cfg files. They are not all gone from CCM.

Some of them are not gone from the Web UI.

There are 31 that did not delete in the web UI. They don't exist in CCM. They don't exist in the .cfg files (I checked /usr/local/nagios/etc/services and /usr/local/nagios/etc/static. Nothing

Any clue?

Also the web UI shows 11413 services monitored. The reconfigure_nagios.sh script tells me it has 11362 services.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Deleted Services Still show in Web UI; Service Counts do

Post by lmiltchev »

Do you have any multiple nagios processes running at the same time?

Code: Select all

ps -ef | grep nagios.cfg | grep -v grep
Can you verify that your PHP and System time are in sync?

Admin > System Config > System Profile > View System Info > Date/Time

Have you tried stopping/starting services to see if this is going to fix the issue?

Code: Select all

service nagios stop
service ndo2db restart
service nagios start
Be sure to check out our Knowledgebase for helpful articles and solutions!
bchabotdg
Posts: 34
Joined: Wed Aug 16, 2017 2:33 pm

Re: Deleted Services Still show in Web UI; Service Counts do

Post by bchabotdg »

PHP Timezone: America/New_York
PHP Time: Thu, 23 Aug 2018 16:54:18 -0400
System Time: Thu, 23 Aug 2018 16:54:18 -0400

There were 4 Nagios processes. I killed them all then restarted Nagios. Now there are 2 processes.

The deleted services are not back at this time.

I'll look again in the morning.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Deleted Services Still show in Web UI; Service Counts do

Post by lmiltchev »

Sounds good. Keep us updated.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked