[ZBXNEXT-2188] Template SNMP Interfaces should use 64-bit values instead of 32-bit values if available Created: 2012 Jul 17  Updated: 2017 Aug 29  Resolved: 2017 Aug 29

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Templates (T)
Affects Version/s: None
Fix Version/s: 3.4.0

Type: Change Request Priority: Minor
Reporter: Dustin Marquess Assignee: Unassigned
Resolution: Fixed Votes: 2
Labels: templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux



 Description   

The Template SNMP Interfaces includes Item prototypes as part of its discovery rules.

Two of these are:

Incoming traffic on interface

{#SNMPVALUE} - ifInOctets[{#SNMPVALUE}

]
Outgoing traffic on interface

{#SNMPVALUE} - ifOutOctets[{#SNMPVALUE}

]

These are both 32-bit values, which default to being polled no less than 60 seconds apart. This breaks stats on interfaces > 650Mbps, which is very common in today's GigE, 10GE, 40GE+ environments.

These should probably be updated to use ifInOctets[

{#SNMPVALUE}] / ifOutOctets[{#SNMPVALUE}

] if they are available. These are the 64-bit versions.



 Comments   
Comment by Alexei Vladishev [ 2012 Aug 07 ]

The Template SNMP is a default template, which is supposed to work also for older devices. I think that we should probably introduce another template with 64 bit counters.

I am closing it for now.

Comment by Tobias van Hoogen [ 2013 Feb 25 ]

Hi there,

Can I request to open this one again? The de-facto standard in the networking world is to use 64bit counters for everything faster then 100Mbit/s. My suggestion would be to at least have both templates in the standard templates.
I just have a very strong feeling that quite some engineers will only find our later, after applying the default one - only to find out they have been looking at the wrong data for quite some time.
The great thing with autodiscovery is that it will save a lot of time making individual templates for different devices, the possible drawback is that many lazy engineers will not look in depth what they are doing.. (and then blaming zabbix afterwards

Comment by Tobias van Hoogen [ 2013 Feb 25 ]

Ah, and Dustin prob. meant ifHCOutOctets for 64bit?

Comment by Oleksii Zagorskyi [ 2013 Feb 25 ]

I suppose only Alexei could reopen it.

Comment by Oleksii Zagorskyi [ 2013 Feb 25 ]

Some related link http://www.cisco.com/en/US/tech/tk648/tk362/technologies_q_and_a_item09186a00800b69ac.shtml

Comment by richlv [ 2014 Mar 06 ]

moved to feature requests. probably adding another set of templates would be the best

Comment by Vitaly Zhuravlev [ 2017 Aug 29 ]

since 3.4.0 there are two templates for SNMPv2 available:
Template Module Interfaces SNMPv2 with 64bit counters
Template Module Interfaces Simple SNMPv2 with 32bit counters
see ZBXNEXT-3725

Generated at Wed Jul 16 10:24:54 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.