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

XMLWordPrintable

    • Type: Incident report
    • Resolution: Done
    • Priority: Minor
    • None
    • Affects Version/s: 6.0.36
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: