I was reviewing the latest "Template Module Linux network interfaces by Zabbix agent".
In the Trigger "Interface {#IFNAME}: Link down" the Descriptions says "3. {TEMPLATE_NAME:METRIC.diff()}=1) - trigger fires only if operational status was up(1) sometime before. (So, do not fire 'ethernal off' interfaces.)"
What is TEMPLATE_NAME:METRIC ?
I could not find any documentation on this.
I assume this is a MACRO to a Item in the current Template
I am not sure what item METRIC is referencing.
I assume it has something to do with the last line in the Problem expression, based on the Description.
In the Trigger "Interface {#IFNAME}: Link down" the Descriptions says "3. {TEMPLATE_NAME:METRIC.diff()}=1) - trigger fires only if operational status was up(1) sometime before. (So, do not fire 'ethernal off' interfaces.)"
What is TEMPLATE_NAME:METRIC ?
I could not find any documentation on this.
I assume this is a MACRO to a Item in the current Template
- TEMPLATE_NAME="Template Module Linux network interfaces by Zabbix agent"
- METRIC= ?
I am not sure what item METRIC is referencing.
I assume it has something to do with the last line in the Problem expression, based on the Description.
Code:
[FONT=Lucida Sans Unicode]{$IFCONTROL:"{#IFNAME}"}=1 and ({Template Module Linux network interfaces by Zabbix agent:vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"].last()}=2 and [B]{Template Module Linux network interfaces by Zabbix agent:vfs.file.contents["/sys/class/net/{#IFNAME}/operstate"].diff()}=1[/B])[/FONT]
Comment