Data inconsistancy between db and config files
Posted: Fri Dec 07, 2012 1:15 pm
Hey Guys,
I had to remove about 30 hosts from nagios, I went into configurations and services, removed every service associated with the hosts, then went ahead and deleted the hosts.
However, it looks like nagiosxi is still continuing to monitor those hosts. When I go back in services, I don't see those hosts there nor I see any services associated with it.
I am not able to add /delete or make any changes to nagios since configurations are out of sync...I browsing the db and considering removing those hosts from mysql manually but not sure if this is the only place I need to make changes.
Is there a way to import a good snapshot from yesterday and start from there? Hosts that I deleted were part of a host group and problems arise when I tried to delete the hostgroup after deleting all the hosts.
Thanks,
-Sunil
I had to remove about 30 hosts from nagios, I went into configurations and services, removed every service associated with the hosts, then went ahead and deleted the hosts.
However, it looks like nagiosxi is still continuing to monitor those hosts. When I go back in services, I don't see those hosts there nor I see any services associated with it.
I am not able to add /delete or make any changes to nagios since configurations are out of sync...I browsing the db and considering removing those hosts from mysql manually but not sure if this is the only place I need to make changes.
Is there a way to import a good snapshot from yesterday and start from there? Hosts that I deleted were part of a host group and problems arise when I tried to delete the hostgroup after deleting all the hosts.
Thanks,
-Sunil