Our Zabbix 5.0 custom message is
That works well for most triggers but is misleading for "Template OS Linux by Zabbix agent active"'s "Disk read/write request responses are too high" trigger. Example
It was the write request response which was too high but as shown the message showed the read request value
How can we modify the custom message so it also shows the write request value?
I guess we could add {ITEM.VALUE2} but that would result in an empty value for all those triggers which have only one item
Code:
Host: {HOST.NAME}
Severity: {EVENT.SEVERITY}
Problem started at {EVENT.TIME} on {EVENT.DATE}
Problem name: {EVENT.NAME}
Item: {ITEM.NAME}
Item value: {ITEM.VALUE}
Original problem ID: {EVENT.ID}
Code:
Host: storage4.iciti.av Severity: Warning Problem started at 03:40:47 on 2021.08.28 Problem name: sdc: Disk read/write request responses are too high (read > 20 ms for 15m or write > 20 ms for 15m) Item: sdc: Disk read request avg waiting time (r_await) Item value: 1.74 ms Original problem ID: 319756
How can we modify the custom message so it also shows the write request value?
I guess we could add {ITEM.VALUE2} but that would result in an empty value for all those triggers which have only one item
Comment