Hey guys! 
We've just recently started working with Zabbix, and I'm trying to build some monitors to make sure our dns servers are still serving zones properly.
From the checks available, net.tcp.dns seemed the most applicable, and easiest to use.
From what I could tell from the source code in libs/zbxsysinfo/common/common.c for CHECK_DNS it looks like I assumed operation correctly.
The selection helper lists it like this:
net.tcp.dns[ip, zone]
Which, I assume, if we had a dns server at, say, 10.0.0.1 and a zone of abc.com, we would check the dns server for operation like so:
net.tcp.dns[10.0.0.1, abc.com]
This has been returning false for us, even though a manual lookup using 'host' shows the dns server works fine.
So, I also tried, thinking maybe I had it wrong, to list the ip that the domain should resolve to and not the ip of the dns server... for example...
Say abc.com is supposed to reolve to 1.2.3.4, I tried:
net.tcp.dns[1.2.3.4, abc.com]
This failed as well.
Anyone have any ideas?
Thanks!

We've just recently started working with Zabbix, and I'm trying to build some monitors to make sure our dns servers are still serving zones properly.
From the checks available, net.tcp.dns seemed the most applicable, and easiest to use.
From what I could tell from the source code in libs/zbxsysinfo/common/common.c for CHECK_DNS it looks like I assumed operation correctly.
The selection helper lists it like this:
net.tcp.dns[ip, zone]
Which, I assume, if we had a dns server at, say, 10.0.0.1 and a zone of abc.com, we would check the dns server for operation like so:
net.tcp.dns[10.0.0.1, abc.com]
This has been returning false for us, even though a manual lookup using 'host' shows the dns server works fine.
So, I also tried, thinking maybe I had it wrong, to list the ip that the domain should resolve to and not the ip of the dns server... for example...
Say abc.com is supposed to reolve to 1.2.3.4, I tried:
net.tcp.dns[1.2.3.4, abc.com]
This failed as well.
Anyone have any ideas?

Thanks!
Comment