I have nagios configured to check dns on a dns master server. It checks the named files. These 2 files are modified, which then propagates down to the dns slaves.
The dns master server was rhel 6.10. I upgraded it to rhel 8.9, which went fine for everything but 1 thing.
All the nagios checks pass, except for the check of these named files.
Code: Select all
define service{
use linux-generic-service
host_name nagios
servicegroups linux-dns-services
service_description DNS cord.edu
check_command check_dns_zone!brogurt.com
check_interval 5
}
ALL other checks work fine, from the client. This check is performed by the nagios core server. They are on different subnets, but they have always been.
I imagine it's probably something simple, I just haven't found it.
Thanks
Edit, I had reverted back, since this is a virtual server.
I updated php from a really dead version, 5.3, to slightly less really dead version, 7.3.25. I didn't want to jump too far.
So, it still worked after that.
Then I upgraded from core 4.4.5, to core 4.5.0.
So, these changes have not mattered. Just wanted to keep this current. I didn't think a php or core change would be the issue, however, since it started when the dns server was upgraded.
The plugins and nrpe are updated, too. nrpe is 4.1, and the plugins are 2.4.7.
If it helps, eth0 has the IP, netmask, and gateway specified. NM controlled is yes. DNS servers are not specified. peerdns = yes, ipv6 of, bootproto=none This is on the nagios core server.
The master dns server has IP and netmask set, no gateway, no dns servers set, nm controlled = no, bootproto static. not much else is set.
I will say that I can curl connect back and forth between the 2 servers. All other nrpe checks work. Just the check_dns does not work to the Named config files.
The master/slaves are working, changes made to master do propagate. permissions are 444, owned by root. I use RCS to keep track of revisions.