Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26121

net.dns.get issues (resolution, query time)

XMLWordPrintable

    • S25-W10/11, S25-W12/13, S25-W14/15
    • 1

      net.dns.get has some issues:

      1.

      $ zabbix_get -s localhost -k 'net.dns.get[1.1.1.1,_nonexistant__.google.com,A]'
      
      {"flags":["RA"],"query_time":"0.00","question_section":[{"qclass":"IN","qname":"_nonexistant__.google.com.","qtype":"A"}],"response_code":"SERVFAIL","zbx_error_code":0}
      

      But:

      $ zabbix_get -s localhost -k 'net.dns.get[1.1.1.1,_nonexistant__.google.com,A,,,,""]'
      
      {"authority_section":[{"class":"IN","name":"google.com.","rdata":{"expire":1800,"mbox":"dns-admin.google.com.","minttl":60,"ns":"ns1.google.com.","refresh":900,"retry":900,"serial":731662737},"rdlength":38,"ttl":60,"type":"SOA"}],"flags":["RD","RA"],"query_time":"0.04","question_section":[{"qclass":"IN","qname":"_nonexistant__.google.com.","qtype":"A"}],"response_code":"NXDOMAIN","zbx_error_code":0} 

      2.

      query_time has 2 decimal places precision. This means that times below 10ms will not be reported properly. It must be increased to 6 decimal places.

            arimdjonoks Artjoms Rimdjonoks
            Kalimulin Alex Kalimulin
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 3.5h
                3.5h