Unable to get interfaces from device

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

Moderators: Developers, Moderators

Post Reply
dramage
Posts: 2
Joined: Fri Feb 02, 2018 2:15 pm

Unable to get interfaces from device

Post by dramage »

Hey folks,
I have a Nokia (formerly Alcatel) 7450 that I cannot get any interface data from. Cacti is able to load the sysname, uptime, and other pieces of information, just not the interfaces. More specifically, when I run the SNMP interface statistics query in debug mode I get this error:

Code: Select all

+ Running data query [1].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count: 120
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 0
+ No SNMP data returned
I am able to walk .1.3.6.1.2.1.2.2.1.1 from the command line on the Cacti server:

Code: Select all

iso.3.6.1.2.1.1.1.0 = STRING: "TiMOS-C-13.0.R4 cpm/hops ALCATEL ESS 7450 Copyright (c) 2000-2015 Alcatel-Lucent.
All rights reserved. All use subject to applicable license agreements.
Built on Wed Jul 29 16:27:49 PDT 2015 by builder in /rel13.0/b1/R4/panos/main
"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.6527.1.6.3
iso.3.6.1.2.1.1.3.0 = Timeticks: (2923535745) 338 days, 8:55:57.45
iso.3.6.1.2.1.1.4.0 = STRING: "CONTACT PHONE NUMBER"
iso.3.6.1.2.1.1.5.0 = STRING: "SWITCH HOSTNAME"
iso.3.6.1.2.1.1.6.0 = STRING: "SWITCH LOCATION"
iso.3.6.1.2.1.1.7.0 = INTEGER: 79
iso.3.6.1.2.1.2.1.0 = INTEGER: 120
iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
iso.3.6.1.2.1.2.2.1.1.4 = INTEGER: 4
iso.3.6.1.2.1.2.2.1.1.6 = INTEGER: 6
iso.3.6.1.2.1.2.2.1.1.7 = INTEGER: 7
iso.3.6.1.2.1.2.2.1.1.8 = INTEGER: 8
iso.3.6.1.2.1.2.2.1.1.9 = INTEGER: 9
iso.3.6.1.2.1.2.2.1.1.10 = INTEGER: 10
iso.3.6.1.2.1.2.2.1.1.13 = INTEGER: 13
iso.3.6.1.2.1.2.2.1.1.35684352 = INTEGER: 35684352
iso.3.6.1.2.1.2.2.1.1.35717120 = INTEGER: 35717120
iso.3.6.1.2.1.2.2.1.1.35749888 = INTEGER: 35749888
iso.3.6.1.2.1.2.2.1.1.35782656 = INTEGER: 35782656
iso.3.6.1.2.1.2.2.1.1.35815424 = INTEGER: 35815424
iso.3.6.1.2.1.2.2.1.1.35848192 = INTEGER: 35848192
iso.3.6.1.2.1.2.2.1.1.35880960 = INTEGER: 35880960
iso.3.6.1.2.1.2.2.1.1.35913728 = INTEGER: 35913728
iso.3.6.1.2.1.2.2.1.1.35946496 = INTEGER: 35946496
iso.3.6.1.2.1.2.2.1.1.35979264 = INTEGER: 35979264
iso.3.6.1.2.1.2.2.1.1.36012032 = INTEGER: 36012032
iso.3.6.1.2.1.2.2.1.1.36044800 = INTEGER: 36044800
iso.3.6.1.2.1.2.2.1.1.36077568 = INTEGER: 36077568
iso.3.6.1.2.1.2.2.1.1.36110336 = INTEGER: 36110336
iso.3.6.1.2.1.2.2.1.1.36143104 = INTEGER: 36143104
iso.3.6.1.2.1.2.2.1.1.36175872 = INTEGER: 36175872
iso.3.6.1.2.1.2.2.1.1.36208640 = INTEGER: 36208640
iso.3.6.1.2.1.2.2.1.1.36241408 = INTEGER: 36241408
I should also mention that I have several other 7450s that Cacti is doing a wonderful job of monitoring. I have not been able to find any difference in the SNMP configs between this device and the ones that work.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Unable to get interfaces from device

Post by netniV »

1.3.6.1.2.1.2.2.1.1 is defined as being the IF-MIB::ifIndex so basically an index of interfaces. Your's start off OK but then have some super high numbers which I wouldn't expect, but could still be valid. Have you compared this with another device of the same model?

The walk value uses 1.3.6.1.2.1.2.2.1.2 which is defined as IF-MIB:ifDesc which is the description of the interfaces. Maybe your device only outputs interfaces that actually have a description?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
dramage
Posts: 2
Joined: Fri Feb 02, 2018 2:15 pm

Re: Unable to get interfaces from device

Post by dramage »

Thanks for getting back to me.

Further down in the walk I do see interface descriptions:

Code: Select all

iso.3.6.1.2.1.2.2.1.2.136347648 = STRING: "4/1/1, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136380416 = STRING: "4/1/2, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136413184 = STRING: "4/1/3, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136445952 = STRING: "4/1/4, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136478720 = STRING: "4/1/5, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136511488 = STRING: "4/1/6, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136544256 = STRING: "4/1/7, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136577024 = STRING: "4/1/8, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136609792 = STRING: "4/1/9, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136642560 = STRING: "4/1/10, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136675328 = STRING: "4/1/11, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136708096 = STRING: "4/1/12, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136740864 = STRING: "4/1/13, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136773632 = STRING: "4/1/14, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136806400 = STRING: "4/1/15, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136839168 = STRING: "4/1/16, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136871936 = STRING: "4/1/17, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136904704 = STRING: "4/1/18, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136937472 = STRING: "4/1/19, 10/100/Gig Ethernet SFP"
iso.3.6.1.2.1.2.2.1.2.136970240 = STRING: "4/1/20, 10/100/Gig Ethernet SFP"

The output on another 7450 that Cacti is successfully (and quite nicely) polling looks awfully similar to me:

Code: Select all

so.3.6.1.2.1.1.1.0 = STRING: "TiMOS-C-13.0.R4 cpm/hops ALCATEL ESS 7450 Copyright (c) 2000-2015 Alcatel-Lucent.
All rights reserved. All use subject to applicable license agreements.
Built on Wed Jul 29 16:27:49 PDT 2015 by builder in /rel13.0/b1/R4/panos/main
"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.6527.1.6.3
iso.3.6.1.2.1.1.3.0 = Timeticks: (2923097098) 338 days, 7:42:50.98
iso.3.6.1.2.1.1.4.0 = STRING: "CONTACT PHONE NUMBER"
iso.3.6.1.2.1.1.5.0 = STRING: "OTHER SWITCH HOSTNAME"
iso.3.6.1.2.1.1.6.0 = STRING: "OTHER LOCATION"
iso.3.6.1.2.1.1.7.0 = INTEGER: 79
iso.3.6.1.2.1.2.1.0 = INTEGER: 36
iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.1.3 = INTEGER: 3
iso.3.6.1.2.1.2.2.1.1.5 = INTEGER: 5
iso.3.6.1.2.1.2.2.1.1.6 = INTEGER: 6
iso.3.6.1.2.1.2.2.1.1.7 = INTEGER: 7
iso.3.6.1.2.1.2.2.1.1.35684352 = INTEGER: 35684352
iso.3.6.1.2.1.2.2.1.1.35717120 = INTEGER: 35717120
iso.3.6.1.2.1.2.2.1.1.35749888 = INTEGER: 35749888
iso.3.6.1.2.1.2.2.1.1.35782656 = INTEGER: 35782656
iso.3.6.1.2.1.2.2.1.1.35815424 = INTEGER: 35815424
iso.3.6.1.2.1.2.2.1.1.35848192 = INTEGER: 35848192
iso.3.6.1.2.1.2.2.1.1.35880960 = INTEGER: 35880960
iso.3.6.1.2.1.2.2.1.1.35913728 = INTEGER: 35913728
iso.3.6.1.2.1.2.2.1.1.35946496 = INTEGER: 35946496
iso.3.6.1.2.1.2.2.1.1.35979264 = INTEGER: 35979264
iso.3.6.1.2.1.2.2.1.1.36012032 = INTEGER: 36012032
iso.3.6.1.2.1.2.2.1.1.36044800 = INTEGER: 36044800
iso.3.6.1.2.1.2.2.1.1.36077568 = INTEGER: 36077568
iso.3.6.1.2.1.2.2.1.1.36110336 = INTEGER: 36110336
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests