Ad Widget

Collapse

Zabbix 5.4.4 - Comparing two values, 12 hours apart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bradturnbough
    Junior Member
    • Apr 2020
    • 21

    #1

    Zabbix 5.4.4 - Comparing two values, 12 hours apart

    I am collecting a text string and need to compare the last value with the value form "now-12 hours".

    I am slowly migrating my zabbix checks from 4.0, and am not fully understanding the new trigger syntax yet.

    I have referenced:


    But when I try the various suggestions, I end up receiving errors.

    Trigger: last(/BIC - Fortinet - SNMPv3 - noAuthNoPriv - Antivirus Definition Version/avdefver,12h)=0
    Error: Invalid parameter "/1/expression": invalid second parameter in function "last".

    Can someone please help me?

    I basically want to compare two collected values (strings) and trigger if they match.

    Basically,
    if last() = last(now-12h) ==== trigger
Working...