Ad Widget

Collapse

Value in notification different than trigger settings

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ovidiustroe
    Junior Member
    • Jan 2019
    • 1

    #1

    Value in notification different than trigger settings

    Hello,
    I have the following trigger :
    Code:
    "Average    Processor load is too high on {HOST.NAME}    {Template OS Linux:system.cpu.load[percpu,avg1].avg(15m)}>0.9"
    When it get triggered it sends an alert which contains the following text :

    Code:
    Date: 05:10:14 on 2019.01.19
    
    Host: xxxxxx
    
    Processor load is too high on xxxxxx value : [B]0.5925[/B]
    As you can see the value is lower than the trigger settings hence my question .. why is this and how can i fix ?

    The email settings are :

    Code:
    Date: {EVENT.TIME} on {EVENT.DATE}
    
    Host: {HOST.NAME}
    
    {TRIGGER.NAME} value : {{HOST.HOST}:{ITEM.KEY}.last()}
    Thank you !
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    The value may have changed between the time the trigger event occurred and the alert sent by the action. When last() is used, it gets the latest value.

    If you want to see the value when the trigger event occurred, please use the macro {ITEM.VALUE}.

    Comment

    Working...