Hi.
I need to report the current and previous values of my host's cpu utilization value when it changes.
Here are my settings:
Zabbix Version (Servers, Proxies, Agents): latest 4.4
Host is reporting to Active proxy.
Active agent.
Trigger name: Value Changed
Operational data: Value Changed from {ITEM.VALUE1} to {ITEM.VALUE2}
Expression: {server.name:system.cpu.util.diff()}=1 [where server.name is my host name]
Last data shows change on the reading of cpu.util , and the trigger fires. So far so good.
But the values for both {ITEM.VALUE1} and {ITEM.VALUE2} macros are the same: the last value of cpu.util .
How do I get this to work?
Thank you in advance!
Amit.
I need to report the current and previous values of my host's cpu utilization value when it changes.
Here are my settings:
Zabbix Version (Servers, Proxies, Agents): latest 4.4
Host is reporting to Active proxy.
Active agent.
Trigger name: Value Changed
Operational data: Value Changed from {ITEM.VALUE1} to {ITEM.VALUE2}
Expression: {server.name:system.cpu.util.diff()}=1 [where server.name is my host name]
Last data shows change on the reading of cpu.util , and the trigger fires. So far so good.
But the values for both {ITEM.VALUE1} and {ITEM.VALUE2} macros are the same: the last value of cpu.util .
How do I get this to work?
Thank you in advance!
Amit.
Comment