How to get rid of decommissioned host from Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jim
Posts: 37
Joined: Wed Jun 08, 2016 11:18 am

How to get rid of decommissioned host from Nagios

Post by jim »

Hi Guys,

I just decommissioned two host but they appear as 'down' in nagios server, how to correct that I mean not to make them appears and also to ensure that Nagios doesn't collect stats for them?

Any ideas would be greatly appreciated.

Kind Regards,
Jim
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: How to get rid of decommissioned host from Nagios

Post by tmcdonald »

You would just need to remove their definitions from the config files and restart the nagios process.
Former Nagios employee
jim
Posts: 37
Joined: Wed Jun 08, 2016 11:18 am

Re: How to get rid of decommissioned host from Nagios

Post by jim »

Hello,

Please close this thread. As recommended update host.cfg and services.cfg, post restart of nagios and httpd I could achieve my objective.

Thanks for your help.

Kind Regards,
Jim
Locked