Hello
Im installing Nagios and I have a doubt I don`t know how to deal with.
When setting up Nagios, in the file /usr/local/nagios/etc/hosts.cfg is where you configure the hosts to be monitored. The question is, how can I update automatically this file when a new server has to be monitored too?
If a new server (that has to be monitored too) starts running, I would like Nagios to automatically monitor this new server too. But if this new server hasnt been included in the hosts.cfg, this wont happen.
is there something that does this automatically?
Thanks in advance
Automatic detection of host to be monitored
-
alberto.alonso
- Posts: 6
- Joined: Thu Aug 21, 2014 10:10 am
Re: Automatic detection of host to be monitored
There is nothing built into Nagios Core that will do this. You would need to first determine what counts as a new server. Newly-added to the network? What if it was on the network but powered off? What if it is blocking pings so it appears to be down? It can certainly be done, but it is not something we have currently.
Former Nagios employee