The deletion of a Host
Check Command is done via the contextual menu option ‘Delete’. Once ‘Delete’ is
clicked, a modal window will load asking you to confirm:
Confirmation window that is
displayed when ‘delete’ has been pressed.
If a Host Check
Command is being used by one or more Hosts it cannot be deleted without first
re-configuring those Hosts to use a different Host Check Command. It is easy to
detect if a Host Check Command is in use by looking at the ‘Hosts’ column and
if there is a number there it means that the Host Check Command is used on
the aforementioned number of Hosts. In the example below, ‘ping’ is being used
to monitor 23 Hosts:
Host Check Commands: List.
To view the individual ‘23’ Hosts, click on the number which will expand the row to display each Host
Expanded Host count within the ‘Hosts’ column,
displaying which Hosts are using this Host Check Command.
hide the Hosts, re-click the number which will collapse the row back to
its original format.
If you attempt to
delete a Host Check Command that is being used by one or more Hosts, you will
notice that the delete option is ‘greyed out’/deselected:
Host Check Command with ‘Delete’
The message box will appear
when the mouse is placed over the delete button, telling the user “Cannot
delete this Host Check Command as it has Hosts attached to it”. To resolve this
issue, follow the guides outlined in Sections 188.8.131.52 Configuring a Host: ‘Host’ tab and 184.108.40.206 How to edit multiple Hosts in bulk to change the Host
Check Command for the affected Host(s), and then navigate back to this section
to re-attempt the deletion.