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

Custom on fail - Set value to user macro no longer works despite test indicating that it does

XMLWordPrintable

    • Sprint 106 (Nov 2023), Sprint 107 (Dec 2023)
    • 1

      We are monitoring Netapp boxes, and we retrieve volume usage thresholds from NetApp Unified Manager to trigger on volume usage. However if Unified manager does not provide a threshold for a specific volume, we fall back to the user macro {$NETAPP.VOL.PUSED.MAX.CRIT} defined in the Zabbix template, possibly overridden on host level:

      And this has worked in the past (for sure in 6.2), but recently we noticed all those items going into 'Not supported' due to the error Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "{$NETAPP.VOL.PUSED.MAX.CRIT}"

      Btw: When the item is set to type Character, the item will actually get the string "{$NETAPP.VOL.PUSED.MAX.CRIT}" as value.

      However when we "Test" the item, the Custom on error - set value correctly translates to the value of that user macro and the result is the desired default threshold value:

       

            dimir dimir
            robinr Robin Roevens
            Team I
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: