Ad Widget

Collapse

net.dns item for multiple domains

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan.Rockwell
    Junior Member
    • Feb 2021
    • 5

    #1

    net.dns item for multiple domains

    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?
Working...