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

weird validation for net.dns item

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.0
    • None
    • Agent (G)
    • trunk agent as of september 5th

      according to the manual, 4th param for net.dns is timeout and 5th param is count of attempts.

      $ zabbix_get -s 127.0.0.1 -k net.dns[,zabbix.com,MX,0,85]
      1
      $ zabbix_get -s 127.0.0.1 -k net.dns[,zabbix.com,MX,-1,85]
      1
      $ zabbix_get -s 127.0.0.1 -k net.dns[,zabbix.com,MX,-1,-85]
      0

      a) timeout of 0 doesn't seem to be sane (is it ignored); negative timeout even less so
      b) negative attempt count doesn't seem sane either

      also...
      $ zabbix_get -s 127.0.0.1 -k net.dns[,zabbix.com,MX,zomg]
      1

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: