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

weird validation for net.dns item

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: