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

outdated description for abs() function, starting from 5.4+

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 6.0.36
    • Documentation (D)
    • None

      Older version 5.2 for function abschange has a text:

      For example:
      (previous value;latest value=abschange)
      1;5=4
      3;1=2
      0;-2.5=2.5
      
      For strings returns:
      0 - values are equal
      1 - values differ
      

      https://www.zabbix.com/documentation/5.2/en/manual/appendix/triggers/functions
       

      Looks like this text (with modifications) has been inherited to abs() function by mistake, for 5.2+ versions
      https://www.zabbix.com/documentation/5.4/en/manual/appendix/functions/math
      This looking wrong:

      Absolute numeric difference will be calculated, as seen with these incoming example values ('previous' and 'latest' value = absolute difference):
      

      I'm even unsure that String, Text, Log values are supported in any way.

            zalex_ua Oleksii Zagorskyi
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: