-
New Feature Request
-
Resolution: Duplicate
-
Trivial
-
None
-
3.4.10
-
SPARC Solaris 10 64bit, MYSQL 5.7.16
I have a trigger expression for network bandwidth (problem expression: {hostname.domain:net.if.out[igb0].avg(10m)}>500000000}; recovery expression: {hostname.domain:net.if.out[igb0].avg(10m)}<300000000)).
I want to receive in the alert the value that triggered the event (in this case avg(10m) not value of item at the event time) but there is not macro that i can use.
In my case, the network bandwidth can increase rapidly (spike) and for 2-3 item values it is above the trigger limit but tha 10 minute average is still under limit. When the average gets above the limit and an alert is sent, the message can contain the item value at that moment but I am interested in the value of the expression at that moment which I can not extract from any macro
Steps to reproduce:
- Set a trigger for network bandwidth average (10m) > 500mbs
- Set an alert action using macro {ITEM.VALUE} in the message
- Generate spike traffic around limit value in such a way that avg (10m) passes limit after several item values
- Check alert message on notification
Result:
- ITEM.VALUE<1-9> in message < 500mbs (possibly the value at the time of notification)
Expected: - EXPRESSION.VALUE<1-9> in message >= 500mbs (the value that raised the trigger)
- duplicates
-
ZBXNEXT-3008 add macro {FUNCTION.VALUE<1-9>} to capture i-th function in the trigger expression
- Closed