[ZBXNEXT-4629] Macro to expand at the Nth value of a trigger expression (not item value) Created: 2018 Jul 05 Updated: 2018 Jul 11 Resolved: 2018 Jul 11 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | 3.4.10 |
Fix Version/s: | None |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Little Martian | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | actions, macros, notifications | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
SPARC Solaris 10 64bit, MYSQL 5.7.16 |
Issue Links: |
|
Description |
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:
Result:
|
Comments |
Comment by Glebs Ivanovskis [ 2018 Jul 09 ] |
I think it makes no sense if you have avg(10m) in the expression. No singe value can be blamed for raising average over the bar. |
Comment by Little Martian [ 2018 Jul 09 ] |
Exactly my point. That is why I need it in the notification. It has much more sense than a single value. |
Comment by Glebs Ivanovskis [ 2018 Jul 09 ] |
Sorry, I did not get your idea from the first time. Isn't what you are asking for somewhat similar to |
Comment by Little Martian [ 2018 Jul 09 ] |
It's exactly that, i did not find it before opening this one. You can close this one, thank you. |
Comment by dimir [ 2018 Jul 11 ] |
Closing. Don't forget to vote for original issue. |