Ad Widget

Collapse

{ITEM.LASTVALUE} - Not working as expected?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shlomia
    Member
    • Jul 2020
    • 38

    #1

    {ITEM.LASTVALUE} - Not working as expected?

    Hi, So I'm trying to get in my action message the new value and the last value of the problematic item.
    Zabbix version: 5.0

    So I configured my message as:
    Code:
    Old Value: {ITEM.LASTVALUE}
    New Value: {ITEM.VALUE}
    and when the value changing on item, I expect to get:
    Code:
    Old Value: Value before the problem occured
    New Value: Value after the problem occured
    But I get the new value for both which is {ITEM.VALUE}.

    What is going on?
    Last edited by shlomia; 30-07-2020, 15:57.
  • shlomia
    Member
    • Jul 2020
    • 38

    #2
    Originally posted by splitek
    None of this macros will give you "Value before the problem occurred".
    For that you must use function last(#2) in trigger expression.
    But how do I use it in my 'action' message notification? Any chance for an example please? :P

    Comment

    • shlomia
      Member
      • Jul 2020
      • 38

      #3
      bump......

      Comment

      Working...