Page 1 of 1

Removing Redundant Windows Hosts From Nagios

Posted: Tue Jun 11, 2019 6:28 am
by AnthonyBMA35
Hi

The system was set up by my predecessor who left zero documentation on how they set it up, and we have recently retired some redundant servers which now means we have lots of Critical alerts for the three servers and the multiple services on them. I have been asked to remove these server from nagios, i have never used nagios before so i have browsed through the knowledge base documentation to try a get a understanding of how it works and i believe i have found the file where all the hosts and services are listed (windows.cfg) but cannot seem to be able remove them from the list. Am i missing something?

Any help would be appreciated

Thank you

Re: Removing Redundant Windows Hosts From Nagios

Posted: Tue Jun 11, 2019 11:06 am
by scottwilkerson
Boy, there are an unlimited ways Nagios can be setup so this can be tricky to diagnose.

You do need to verify the configuration and restart the nagios service after making config changes for them to take affect.

something like:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
If everything looks good

Code: Select all

service nagios restart