Page 1 of 1

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

Posted: Thu Aug 23, 2018 2:20 pm
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.

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

Posted: Thu Aug 23, 2018 3:51 pm
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

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

Posted: Thu Aug 23, 2018 4:04 pm
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.

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

Posted: Thu Aug 23, 2018 4:12 pm
by lmiltchev
Sounds good. Keep us updated.