Hi,
We use Nagios Core to monitor our corporate environment, and for some reason, I cannot delete a host from the Windows config file. I'm no Nagios expert, but I'm perfectly comfortable adding and removing hosts and services, however I have a particular host which breaks Nagios if I hash it out or delete it.
I've been able to remove all services related to the host, but if I remove the host and restart the Nagios process, Nagios breaks. Trying to restart from the command line (Ubuntu) complains about a config issue.
Can anyone suggest what could possibly be causing this? It is just a standard Windows server which is being decommissioned, and I've checked the host to see if there's anything unusual about it (additional Nagios features installed perhaps?), but I can't find anything out of the ordinary.
Happy to provide more info, but unsure what is relevant!
Thanks in advance.
Chris
Unable to delete host from config
Re: Unable to delete host from config
from the terminal please run
Then if you are able to without posting too much sensitive info please post the relevant config file it is moaning about from the above output
We can then try to work out what Nagios does not like.
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgcWe can then try to work out what Nagios does not like.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Unable to delete host from config
Beat me to it FTL..
Please share the output as noted above.