allowed_hosts DNS Windows
Posted: Thu Apr 23, 2015 1:00 pm
We are currently migrating our old Nagios core server to a new host. From what I've seen so far, I don't need to change the client software on any of the hosts we communicate with (we are also upgrading the core to latest release and changing the O/S from Solaris to Ubuntu.
All well and good. My problem is with the allowed_hosts parameter in nrpe.cfg in the clients. As it currently has an IP in it, and we are moving the core, I'm having to visit all the monitored boxes to add the new address in. I was thinking that I don't want to do this again if I can avoid it, and use a DNS entry instead. That way, any future migratoins can be managed by a change of DNS.
Got a name allocated, and the Solaris boxes are fine. The Windows boxes refuse connection. I check that the host can resolve the name, and it can. Restart the service, and it still refuses to connect where I use a DNS entry in allowed_hosts.
Any ideas?
Thanks.
All well and good. My problem is with the allowed_hosts parameter in nrpe.cfg in the clients. As it currently has an IP in it, and we are moving the core, I'm having to visit all the monitored boxes to add the new address in. I was thinking that I don't want to do this again if I can avoid it, and use a DNS entry instead. That way, any future migratoins can be managed by a change of DNS.
Got a name allocated, and the Solaris boxes are fine. The Windows boxes refuse connection. I check that the host can resolve the name, and it can. Restart the service, and it still refuses to connect where I use a DNS entry in allowed_hosts.
Any ideas?
Thanks.