Automatic detection of host to be monitored
Posted: Fri Aug 22, 2014 2:55 am
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
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