Perseverance finally pays dividends.
So I could not figure out for the longest time why all Cisco templates I have tried with my Cisco SG350-20 never worked, despite testing and the OID output coming back, but not getting stored in Zabbix latest data or causing no data in the graph, despite my history and trends being set with 2w and 365d, respectively.
What worked for me was to modify the template the SNMP OID field of each Item in the template, by adding a period at the front of the OID and change Type of information field from Numeric (unsigned) to Numeric (float), as seen below:
FROM:
TO:
Then click Update button in the Item.
I have not tested this for other templates, but this small period at the beginning of the OID could be a culprit for a lot of people not seeing their data.
So I could not figure out for the longest time why all Cisco templates I have tried with my Cisco SG350-20 never worked, despite testing and the OID output coming back, but not getting stored in Zabbix latest data or causing no data in the graph, despite my history and trends being set with 2w and 365d, respectively.
What worked for me was to modify the template the SNMP OID field of each Item in the template, by adding a period at the front of the OID and change Type of information field from Numeric (unsigned) to Numeric (float), as seen below:
FROM:
Code:
SNMP OID [B]1.3.6.1.2.1.2.2.1.20.1[/B] Type of information: [B]Numeric (unsigned)[/B]
Code:
SNMP OID [B].1.3.6.1.2.1.2.2.1.20.1[/B] Type of information [B]Numeric (float)[/B]
I have not tested this for other templates, but this small period at the beginning of the OID could be a culprit for a lot of people not seeing their data.