Page 1 of 1

Removing Host from Nagios Core

Posted: Mon Nov 09, 2020 6:20 am
by tomay
I am decommissioning a server and that server is no longer needed to be monitored.
I am trying to remove it from the Nagios configuration.
Nagios has it's own server.
I have found the configuration files in opt/nagios/hosts
If I remove the cfg hosts tile in this location and run:

./nagios -v ..etc/nagios.cfg
service nagios restart

Are there other steps I need to consider before attempting to restart

Re: Removing Host from Nagios Core

Posted: Tue Nov 10, 2020 12:36 pm
by gormank
You may want to grep the hostname from your services files to make sure it isn't defined there.

Re: Removing Host from Nagios Core

Posted: Fri Nov 13, 2020 5:38 pm
by benjaminsmith
HI @tomay

Did you get worked out? Let us know how it's going.

Benjamin
Nagios Support Team