Database changes seem not to occur?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hudbaylicensing
Posts: 27
Joined: Fri Jul 13, 2012 11:48 am

Database changes seem not to occur?

Post by hudbaylicensing »

We haven't had to add/remove any hosts/services in a couple of months - this week I have been trying to remove a set of services the host associated with it and add another host with services.

When I deleted the services for one host, then deleted the services via the CCM, applied the configuration and received no errors but the host and services still show up in some host groups I created. When I search for the host/services in CCM it says that they cannot be found.

Alternately, today I added a host and service via the Monitoring Wizard and it added then with no problems or errors, but it does not show up anywhere, not in the hostgroup it was added to and if I search via CCM it also does not find it.

Not sure what to do next.

Thanks,
Marc
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Database changes seem not to occur?

Post by slansing »

Hey there,

Can you switch over to your Nagios terminal and check the following directory for the services?

Code: Select all

ll /usr/local/nagios/etc/services
If they are still hanging in that director run a rm -rf on them and then verify the nagios configs.
hudbaylicensing
Posts: 27
Joined: Fri Jul 13, 2012 11:48 am

Re: Database changes seem not to occur?

Post by hudbaylicensing »

Hi Thanks for the reply.

It did indeed have a cfg file for that host, I removed it and ran the verify on the nagios.cfg file and it came back with 0 errors.

The host/services are now not showing and it is allowing me to add new host/services.

Thanks!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Database changes seem not to occur?

Post by slansing »

Excellent, thanks for letting us know this solved the issue!
Locked