for the ones using 6.4+ In Zabbix versions prior to 6.0, such as 5.0, it was possible to display item values directly in map labels using the syntax {HOST.NAME} Battery Voltage: {UGTS62:ups.battery.voltage.last(0)}. However, starting with Zabbix 6.0, the syntax for including item values in map labels changed. The new format requires using expression macros like {?last(/UGTS62/ups.battery.voltage)} to display the latest item value in map labels. ZABBIX Therefore, if you're using Zabbix 6.0 or later, you should adopt the updated syntax to include item values in map labels.
for the ones using 6.4+
In Zabbix versions prior to 6.0, such as 5.0, it was possible to display item values directly in map labels using the syntax {HOST.NAME} Battery Voltage: {UGTS62:ups.battery.voltage.last(0)}. However, starting with Zabbix 6.0, the syntax for including item values in map labels changed. The new format requires using expression macros like {?last(/UGTS62/ups.battery.voltage)} to display the latest item value in map labels.
ZABBIX
Therefore, if you're using Zabbix 6.0 or later, you should adopt the updated syntax to include item values in map labels.
Command structure: {host:key.func(param)}
Host Label:
{HOST.HOST}
Latency: {{HOSTNAME}:icmppingsec.last(0)}
Interface Label:
In:{deviceName.if.in[ifHCInOctets.ifIndex].last(0)} / Out:{deviceName:net.if.out[ifHCOutOctets.ifIndex].last(0)}
deviceName:ifName
Just saw 3 of your videos and now I'm ready to monitor my network ;-) Nice work and THX!
Hi, is there a macro that shows the exact number of the port which connection is on?
pls share script label pls
Hi, I am new to zabbix.
My zabbix did not know the hostname. how can write the macro for the link with IP address.
Thanks
You'd figure Zabbix could automatically determine link information via cdp/lldp/snmp.......