Ad Widget

Collapse

How Can I show the Trigger and LastValue Diffrencies on action e-mail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zabbixtrator
    Junior Member
    • Jan 2022
    • 7

    #1

    How Can I show the Trigger and LastValue Diffrencies on action e-mail

    Hello everyone,

    I'm working on a problem on Zabbix.
    I have an Item that collect connections of clients number using OID from a network devices from every minutes.

    Click image for larger version

Name:	item.png
Views:	135
Size:	42.5 KB
ID:	440945

    And I set an Trigger. That works if any connection decrease suddenly for example -10.000.

    Click image for larger version

Name:	trigger.png
Views:	120
Size:	34.2 KB
ID:	440946

    I'm chekcing the latest data screen. Every minute lively I can see the changes.

    Click image for larger version

Name:	latest-data.png
Views:	117
Size:	6.6 KB
ID:	440947
    My scenario is like that;

    Step One -> 50.000 client online
    Step Two -> 10.000 client leave the device.Trigger work (-10.000 client change I set the trigger as you see on screenshots)
    Step Three -> I have the e-mail action.
    -------------------------------------------------------
    Subject: Sudden Client Leave Alert
    Least Value: 40.000
    First Value: 50.000
    Differences: 10.000
    ------------------------------------------------------

    I wonder can I show that 3 values dynamically on my-email when every trigger works ?? (Least Value: 40.000, First Value: 50.000, Differences: 10.000)

    I will be pleasured If you help to me.





  • tikkami
    Member
    • May 2018
    • 71

    #2
    I have added extra information to emails by using items in dummy trigger expression. I mean I have just added those items with condition which doesn't fire in any condition.

    Then {ITEM.LASTVALUEx} can be used to construct the operational data.

    It must be kept in mind that trigger expression is evaluated always when any of items gets a new value. So there is a risk to get double problems.


    ​​

    Comment


    • Zabbixtrator
      Zabbixtrator commented
      Editing a comment
      Thanks Tikkami, I understand your answer this is not a stable solution on zabbix ? Is there any another way to solve that?
Working...