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

Unhandled -1 value in External battery packs bad discovery

XMLWordPrintable

    • 1

      Hello, I noticed a small problem in "APC UPS by SNMP" and sibling templates.

      On devices without external battery packs, discovery rule "External bad battery packs discovery" creates items that become unsupported with 'Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "-1"' error.

       

      Reason for this is that discovery{#EXTERNAL_PACKS},1.3.6.1.4.1.318.1.1.1.2.2.6 find one result {#SNMPINDEX}=0, {#EXTERNAL_PACKS}=-1, meaning external packs not supported.

       

      I propose putting filter on this discovery rule that {#EXTERNAL_PACKS} must not match ^-1$.

       

      Does this belong to bugs or feature requests? Please tell me. Thanks.

            akotsegubov Aleksandr Kotsegubov
            user185953 user185953
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: