How to remove orphaned/obsolete service/host definitions?
Posted: Mon Nov 07, 2011 3:41 pm
Hello,
Some services are showing under Nagios XI and not in Nagios Core (Nagios QL). I am trying to remove the services that are not showing in Nagios QL/Nagios Core.
How do you detele orphaned/obsolete service/host definitions in NagiosXI? I tried to remove a service in Nagios XI and I get:
'
Could not find a unique id for this service
Service cannot be deleted using this method
One or more errors were detected that prevent the service from being deleted.
Possible causes include...
•The service is associated with other hosts, services, or objects that need to be deleted first
•The service is generated by an advanced monitoring configuration entry
•The service is maintained in a static or external configuration file
To resolve this issue...
•Use the Nagios Core Configuration Manager to delete the service - or -
•Manually delete the service definition from the appropriate external configuration file
'
The first solution provided does not work; the obsolete service is not even showing in Nagios Core... I am not sure how to find external configuration file; nagios.cfg does not provide a path to such a file.
Please help.
PS> Nagios XI is a manual install instance, the latest version on RHEL5.7, 32-bit.
Thanks,
Svetlana
Some services are showing under Nagios XI and not in Nagios Core (Nagios QL). I am trying to remove the services that are not showing in Nagios QL/Nagios Core.
How do you detele orphaned/obsolete service/host definitions in NagiosXI? I tried to remove a service in Nagios XI and I get:
'
Could not find a unique id for this service
Service cannot be deleted using this method
One or more errors were detected that prevent the service from being deleted.
Possible causes include...
•The service is associated with other hosts, services, or objects that need to be deleted first
•The service is generated by an advanced monitoring configuration entry
•The service is maintained in a static or external configuration file
To resolve this issue...
•Use the Nagios Core Configuration Manager to delete the service - or -
•Manually delete the service definition from the appropriate external configuration file
'
The first solution provided does not work; the obsolete service is not even showing in Nagios Core... I am not sure how to find external configuration file; nagios.cfg does not provide a path to such a file.
Please help.
PS> Nagios XI is a manual install instance, the latest version on RHEL5.7, 32-bit.
Thanks,
Svetlana