Delete a host and its services
Posted: Thu Oct 27, 2016 1:12 pm
Hi,
I'm a little embarassed to ask this question but one of my coworkers created a host with a wizard and we can't see to delete the host. How do you delete a host with services particularly since its been created through a wizard...
This is the status of the host below, farther down is the error... But I can't find the host in the Nagios CCM so I am at a loss on how to delete it?
Tom
---------------------------------------------------------------------------
Showing 1-2 of 2 total matches for 'ws01065626' Clear search criteria
Page
1
of 1Go
Host
Service
Status
Duration
Attempt
Last Check
Status Information
ws01065626.bhs.bannerhealth.com (XI Wizard Generic Host Template)Notifications are disabled for this hostView service status details for this host Port 1 Status (Port 1 Status) Unknown 2d 19h 23m 5s 5/5 2016-10-27 09:40:43 External command error: Timeout: No Response from 10.41.3.237:161.
Uptime (Uptime) Unknown 2d 19h 29m 50s 5/5 2016-10-27 09:34:00 External command error: Timeout: No Response from 10.41.3.237:161.
---------------------------------------------------------------
Host Deletion Error
fai1065626.bhs.bannerhealth.com
Could not find a unique id for this host
Host cannot be deleted using this method
One or more errors were detected that prevent the host from being deleted.
Possible causes include...
The host is associated with other hosts, services, or objects that need to be deleted first
The host is maintained in a static or external configuration file
To resolve this issue...
Use the Nagios Core Configuration Manager to delete the host - or -
Manually delete the host definition from the appropriate external configuration file
I'm a little embarassed to ask this question but one of my coworkers created a host with a wizard and we can't see to delete the host. How do you delete a host with services particularly since its been created through a wizard...
This is the status of the host below, farther down is the error... But I can't find the host in the Nagios CCM so I am at a loss on how to delete it?
Tom
---------------------------------------------------------------------------
Showing 1-2 of 2 total matches for 'ws01065626' Clear search criteria
Page
1
of 1Go
Host
Service
Status
Duration
Attempt
Last Check
Status Information
ws01065626.bhs.bannerhealth.com (XI Wizard Generic Host Template)Notifications are disabled for this hostView service status details for this host Port 1 Status (Port 1 Status) Unknown 2d 19h 23m 5s 5/5 2016-10-27 09:40:43 External command error: Timeout: No Response from 10.41.3.237:161.
Uptime (Uptime) Unknown 2d 19h 29m 50s 5/5 2016-10-27 09:34:00 External command error: Timeout: No Response from 10.41.3.237:161.
---------------------------------------------------------------
Host Deletion Error
fai1065626.bhs.bannerhealth.com
Could not find a unique id for this host
Host cannot be deleted using this method
One or more errors were detected that prevent the host from being deleted.
Possible causes include...
The host is associated with other hosts, services, or objects that need to be deleted first
The host is maintained in a static or external configuration file
To resolve this issue...
Use the Nagios Core Configuration Manager to delete the host - or -
Manually delete the host definition from the appropriate external configuration file