Zabbix 5.0.4
I'm not sure how to approach this or if it's possible. I can't find anything with my google fu.
I'm trying to set up a item that will do a DNS check for multiple domains. I tried net.dns.record[,DOMAIN1,SOA,,,] which kinda worked. It returned the SOA record for DOMAIN1 on all HOSTS latest data. Unfortunately I want it to return the SOA record for HOSTS that are part of DOAMIN2, DOMAIN3, etc.. I thought maybe I'd get lucky if I tried net.dns.record[,{ITEM.DOMAIN},SOA,,,] where ITEM.DOAMIN is a ITEM I created that returns the domain of the HOST, but it fails. Is it possible to use a variable in net.dns or net.dns.record?
I'm not sure how to approach this or if it's possible. I can't find anything with my google fu.
I'm trying to set up a item that will do a DNS check for multiple domains. I tried net.dns.record[,DOMAIN1,SOA,,,] which kinda worked. It returned the SOA record for DOMAIN1 on all HOSTS latest data. Unfortunately I want it to return the SOA record for HOSTS that are part of DOAMIN2, DOMAIN3, etc.. I thought maybe I'd get lucky if I tried net.dns.record[,{ITEM.DOMAIN},SOA,,,] where ITEM.DOAMIN is a ITEM I created that returns the domain of the HOST, but it fails. Is it possible to use a variable in net.dns or net.dns.record?