Cisco template and not getting data for serial/T1 interface

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sbotnick
Posts: 38
Joined: Tue Sep 10, 2019 12:55 am

Cisco template and not getting data for serial/T1 interface

Post by sbotnick »

Hello,

I've set up interface stats for several Cisco routers using the default Cisco device template. I am getting data for the Ethernet interfaces and/or subinterfaces but I am getting NaN when it polls serial/T1 interfaces. Any suggestions? Thanks.
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: Cisco template and not getting data for serial/T1 interface

Post by bmfmancini »

I use that template on many Devices with se interfaces so it definitely works


Can you provide the following info
what version of cacti ?
what SNMP version ?
Which OID is shown in the poller_cache ?
Which Cisco Model

Perform the follwing checks

SNMP walk on the device via the following
snmpwalk -v2c -c <community> <ip of device>
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
sbotnick
Posts: 38
Joined: Tue Sep 10, 2019 12:55 am

Re: Cisco template and not getting data for serial/T1 interface

Post by sbotnick »

OK, I think I see a problem with indexing, the question is, why is this happening on multiple routers? Thanks for your help on this.

Cacti 1.2.11
SNMP v2
OIDs in poller cache, 1 router 4 interfaces
.1.3.6.1.2.1.31.1.1.1.6.14
.1.3.6.1.2.1.31.1.1.1.10.14
.1.3.6.1.2.1.31.1.1.1.6.15
.1.3.6.1.2.1.31.1.1.1.10.15
.1.3.6.1.2.1.31.1.1.1.6.16
.1.3.6.1.2.1.31.1.1.1.10.16
.1.3.6.1.2.1.31.1.1.1.6.17
.1.3.6.1.2.1.31.1.1.1.10.17

This is happening on Cisco 1700,1921s and 2911

From the snmpwalk used for the router where the poller cache OIDs came from
IF-MIB::ifHCInOctets.1 = Counter64: 62158276475082
IF-MIB::ifHCInOctets.2 = Counter64: 0
IF-MIB::ifHCInOctets.4 = Counter64: 53505835159350
IF-MIB::ifHCInOctets.5 = Counter64: 0
IF-MIB::ifHCInOctets.6 = Counter64: 0
IF-MIB::ifHCInOctets.7 = Counter64: 0
IF-MIB::ifHCInOctets.9 = Counter64: 0
IF-MIB::ifHCInOctets.18 = Counter64: 0
IF-MIB::ifHCInOctets.19 = Counter64: 53505903691047
IF-MIB::ifHCInOctets.20 = Counter64: 0
IF-MIB::ifHCInOctets.21 = Counter64: 6241223637
IF-MIB::ifHCInOctets.22 = Counter64: 1366099556
IF-MIB::ifHCInOctets.23 = Counter64: 4172435390
IF-MIB::ifHCInOctets.24 = Counter64: 59382284524925
IF-MIB::ifHCInOctets.25 = Counter64: 1499733809238
IF-MIB::ifHCInOctets.26 = Counter64: 50949944412

IF-MIB::ifHCOutOctets.1 = Counter64: 51305409660388
IF-MIB::ifHCOutOctets.2 = Counter64: 0
IF-MIB::ifHCOutOctets.4 = Counter64: 58881979761281
IF-MIB::ifHCOutOctets.5 = Counter64: 0
IF-MIB::ifHCOutOctets.6 = Counter64: 0
IF-MIB::ifHCOutOctets.7 = Counter64: 0
IF-MIB::ifHCOutOctets.9 = Counter64: 0
IF-MIB::ifHCOutOctets.18 = Counter64: 0
IF-MIB::ifHCOutOctets.19 = Counter64: 58881587082538
IF-MIB::ifHCOutOctets.20 = Counter64: 0
IF-MIB::ifHCOutOctets.21 = Counter64: 6070964022
IF-MIB::ifHCOutOctets.22 = Counter64: 250129198
IF-MIB::ifHCOutOctets.23 = Counter64: 8484933020
IF-MIB::ifHCOutOctets.24 = Counter64: 43983728528105
IF-MIB::ifHCOutOctets.25 = Counter64: 3708457687741
IF-MIB::ifHCOutOctets.26 = Counter64: 8970619642
sbotnick
Posts: 38
Joined: Tue Sep 10, 2019 12:55 am

Re: Cisco template and not getting data for serial/T1 interface

Post by sbotnick »

Solved.
IF-MIB::ifHCInOctets and Out don't exist for Serial and T1 interfaces. I was using the In/Out Bits (64 bit, BW) source. I changed to In/Out Bits (BW) and it is now using IF-MIB::ifInOctets and Out and getting data for the Serial interface. Interesting that Cisco provides both 32 and 64 bit counters for all other interfaces. By interesting, I mean annoying.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest