I recently configured NagiosXI in my company to monitor the whole network, I added a VOiP switch in the host database by using the FQDN of the host but I realized later that the switch has no FQDN configured on the network ...
So I needed to use IP Address to add it in NagiosXI because the server cannot resolve the FQDN.
I decided to delete it from NagiosXI DB but it's still in the Views tab and it still sends notifications and the status down. I don't find how to delete the host from the views completely.
I recently configured NagiosXI in my company to monitor the whole network, I added a VOiP switch in the host database by using the FQDN of the host but I realized later that the switch has no FQDN configured on the network ...
So I needed to use IP Address to add it in NagiosXI because the server cannot resolve the FQDN.
I decided to delete it from NagiosXI DB but it's still in the Views tab and it still sends notifications and the status down. I don't find how to delete the host from the views completely.
If needed I can send screenshots.
Regards,
53che
Did you apply configuration after deleting the host/services? Did it succeed?
First I deleted services regarding these two hosts and then I deleted the hosts in the core configuration manager ! I applied configuration it worked. But these two hosts are still present in the hosts view.
ls /usr/local/nagios/etc/hosts/ | grep "<hostname>"
(Change <hostname> to one of the hosts actual names)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
If the host has been deleted from the ccm, you may need to remove the cfg file as it is now orphaned/a ghost. If it returns to disk after removal, the apply config is most likely failing and restoring a previous snapshot that includes the file.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.