diff options
author | Maxim Chudinov <maxim.chudinov@zabbix.com> | 2021-12-18 17:36:41 +0300 |
---|---|---|
committer | Maxim Chudinov <maxim.chudinov@zabbix.com> | 2021-12-18 17:36:41 +0300 |
commit | 385ff06c9cc12861246e37cbce2b15572260586b (patch) | |
tree | ca83490b630045fc61bf050592691fc8a5384a20 /templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml | |
parent | f513e08c08da0f062d3711de4359869758d67be8 (diff) |
.........T [DEV-1998] fixed typos and changed README files for Net templates
Diffstat (limited to 'templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml')
-rw-r--r-- | templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml index d917a0e4ef0..ef3220940c9 100644 --- a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml +++ b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml @@ -1,6 +1,6 @@ zabbix_export: - version: '5.4' - date: '2021-07-22T14:51:39Z' + version: '6.0' + date: '2021-12-17T06:34:29Z' groups: - uuid: 36bff6c29af64692839d077febfc7079 @@ -27,7 +27,7 @@ zabbix_export: You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/422668-discussion-thread-for-official-zabbix-templates-for-zyxel - Template tooling version used: 0.38 + Template tooling version used: 0.40 groups: - name: 'Templates/Network devices' @@ -93,7 +93,7 @@ zabbix_export: units: '%' description: | MIB: ZYXEL-MES3500-10-MIB - Show device CPU load in %, it's the snapshot of CPU load when + Show device CPU load in %, it's the snapshot of CPU load when getting the values. tags: - @@ -130,7 +130,7 @@ zabbix_export: tmpObj[item["{#SNMPINDEX}"]] = item["{#SNMP.ARRAY}"] }); var strOut = 'V' + tmpObj["1.0"] + '.' + tmpObj["2.0"] - + '(' + tmpObj["3.0"] + '.' + tmpObj["4.0"] + ')_' + + '(' + tmpObj["3.0"] + '.' + tmpObj["4.0"] + ')_' + tmpObj["7.0"] + '.' + tmpObj["6.0"] + '.' + tmpObj["5.0"]; return strOut; - @@ -388,7 +388,6 @@ zabbix_export: value: '{$ZYXEL.LLD.FILTER.IF.LINKUPTYPE.NOT_MATCHES}' operator: NOT_MATCHES_REGEX formulaid: B - description: 'An entry in fanRpmTable.' item_prototypes: - uuid: d300b380e4bc44f89ac7a40083d424ed @@ -1221,7 +1220,7 @@ zabbix_export: var nameMap = {"1":"MAC", "2":"CPU", "3":"PHY"}; var outArr = []; inArray.forEach(function(item, i, arr) { - item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]] + item["{#ZYXEL.TEMP.ID}"] = nameMap[item["{#SNMPINDEX}"]] outArr.push(item) }); return JSON.stringify(outArr); @@ -1286,7 +1285,7 @@ zabbix_export: var outArr = [] inArray.forEach(function(item, i, arr) { item["{#ZYXEL.VOLT.NOMINAL}"] = "+" + item["{#ZYXEL.VOLT.NOMINAL}"] / 1000 + "V"; - item["{#ZYXEL.VOLT.THRESH.LOW}"] = item["{#ZYXEL.VOLT.THRESH.LOW}"] / 1000; + item["{#ZYXEL.VOLT.THRESH.LOW}"] = item["{#ZYXEL.VOLT.THRESH.LOW}"] / 1000; outArr.push(item) }); return JSON.stringify(outArr); @@ -1303,12 +1302,16 @@ zabbix_export: description: 'The time interval for SNMP agent availability trigger expression.' - macro: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}' - value: 'CHANGE_IF_NEEDED' + value: CHANGE_IF_NEEDED description: 'Triggers will be created only for interfaces whose description contains the value of this macro' - macro: '{$ZYXEL.LLD.FILTER.IF.LINKUPTYPE.MATCHES}' value: 1|2 - description: 'Filter of discoverable link types. 0 - Down link 1 - Cooper link 2 - Fiber link' + description: | + Filter of discoverable link types. + 0 - Down link + 1 - Cooper link + 2 - Fiber link - macro: '{$ZYXEL.LLD.FILTER.IF.LINKUPTYPE.NOT_MATCHES}' value: CHANGE_IF_NEEDED @@ -1324,7 +1327,11 @@ zabbix_export: - macro: '{$ZYXEL.LLD.FILTER.SFP.STATUS.MATCHES}' value: 1|2 - description: 'Filter of discoverable status. 0 - OK with DDM 1 - OK without DDM 2 - nonoperational' + description: | + Filter of discoverable status. + 0 - OK with DDM + 1 - OK without DDM + 2 - nonoperational - macro: '{$ZYXEL.LLD.FILTER.SFP.STATUS.NOT_MATCHES}' value: CHANGE_IF_NEEDED |