Removing Redundant Windows Hosts 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
AnthonyBMA35
Posts: 1
Joined: Wed Jun 05, 2019 9:34 am

Removing Redundant Windows Hosts From Nagios

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Removing Redundant Windows Hosts From Nagios

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked