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

Input validation on SNMP OID

XMLWordPrintable

      I created an XML template and imported it. One of the SNMP LLD rules had a trailing whitespace after the OID that caused the rule to not discover anything. It also did not cause the rule to become "not supported."

      Expected behavior (applied to SNMP OID field ONLY in Items and Discovery rules):

      Leading and trailing whitespace should be ignored, both in the GUI and during XML import. Optionally, it should be automatically removed when the Item or Discovery rule is saved. It's a common, harmless mistake that can be safely corrected, rather than failing.

      Whitespace anywhere else in this field should generate a failure. The GUI should refuse to save it, the API should reject any item.update or item.create, and the Import function should reject the import. There is no case where whitespace inside the OID field is valid.

            Unassigned Unassigned
            mcnuttj Justin McNutt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: