zabbix / community-templates

Zabbix Community Templates repository
https://share.zabbix.com
MIT License
1.34k stars 1.8k forks source link

template_checkpoint not fully upgraded to 6.0+ #336

Open thenebular opened 7 months ago

thenebular commented 7 months ago

Template Checkpoint SNMP or template_checkpoint has not been properly updated for 6.0+. The main template has been updated properly, however it creates other templates: SNMP Generic, SNMP Interfaces, SNMP Device, SNMP Disks. These templates still use positional macros (i.e. $1). This breaks naming items in discovery as everything is referred to as $1.

The fix is simple, change every instance of $1 to [{#SNMPVALUE}] in template_checkpoint.yaml.