Is it possible to have a tcpdump of the snmpwalk during "Verbose Query"?
R.
snmpwalk IfAlias not working for a few routers
Moderators: Developers, Moderators
Re: snmpwalk IfAlias not working for a few routers
I've just encountered the same with a Juniper MX5 Router. No ifAlias with SNMPv2c running Cacti verbose query, works with SNMPv1. Logs show (for v2c)
03/13/2014 04:25:16 PM - CMDPHP: Poller[0] WARNING: SNMP Walk Timeout for Host:'172.21.23.122', and OID:'.1.3.6.1.2.1.31.1.1.1.18'
03/13/2014 04:26:22 PM - CMDPHP: Poller[0] WARNING: SNMP Walk Timeout for Host:'172.21.23.122', and OID:'.1.3.6.1.2.1.31.1.1.1.18'
Doing an snmpwalk on from the shell for that oid with v2c works
tcpdump for snmpv1 and snmpv2c attached
Version 0.8.8a
Should add we have another MX5, same junos version (11.4R5.5) that shows the ifAlias in v2c within Cacti. I'm guessing something with the Routers.
Thanks
Patrick
03/13/2014 04:25:16 PM - CMDPHP: Poller[0] WARNING: SNMP Walk Timeout for Host:'172.21.23.122', and OID:'.1.3.6.1.2.1.31.1.1.1.18'
03/13/2014 04:26:22 PM - CMDPHP: Poller[0] WARNING: SNMP Walk Timeout for Host:'172.21.23.122', and OID:'.1.3.6.1.2.1.31.1.1.1.18'
Doing an snmpwalk on from the shell for that oid with v2c works
tcpdump for snmpv1 and snmpv2c attached
Version 0.8.8a
Should add we have another MX5, same junos version (11.4R5.5) that shows the ifAlias in v2c within Cacti. I'm guessing something with the Routers.
Thanks
Patrick
- Attachments
-
- JuniperMX-2ndRouter-snmpv2c-working.txt
- (24.76 KiB) Downloaded 191 times
-
- JuniperMX-snmpv2c.txt
- (34.52 KiB) Downloaded 207 times
-
- JuniperMX-snmpv1.txt
- (533.02 KiB) Downloaded 176 times
Re: snmpwalk IfAlias not working for a few routers
Hi,
Something new about this issue? I'm facing the same problem... no ifalias indexing with SNMPv2, but works with SNMPv2
Thank for your help
Something new about this issue? I'm facing the same problem... no ifalias indexing with SNMPv2, but works with SNMPv2
Thank for your help
-
- Posts: 1
- Joined: Thu Aug 14, 2014 11:01 pm
Re: snmpwalk IfAlias not working for a few routers
Any luck on this problem? I'm also facing this issue now. I have two similar boxes, hardware and software, and the other one is not able to respond on ifAlias query. But when I generate snmpwalk via CLI, I'm able to get an output. I'm using SNMPv3 by the way.
Re: snmpwalk IfAlias not working for a few routers
Hello,
we had similar problems with the junipers. No ifAlias collected. While we used snmpwalk it worked. But when we used our management tool (Watch4Net from EMC) we have no ifaliases. We found out that Junipers have problems with polling using bulk requests. snmpwalk was working but snmpwbulk walk with max-repetitions 50 was not. Lowering the max-repetitions to 49 resolved the problem. We have similar problems with other vendors like Huawei, Redback, OneAccess. Check if cacti is using bulk requests to poll he device. If so try to lover the max-repetitions to some lover values. SNMPv1 does not support bulks so it should not have this problem.
snmpbulkwalk has parameter -Cr<NUM>which configures the max-repetitions.
test: snmpbulkwalk -v2c -Cr30 -c <community> <IP> <OID>
start with higher max-repetitions and try to lower it down till it starts working. We experienced that each device could have different limit which works and which does not.
we had similar problems with the junipers. No ifAlias collected. While we used snmpwalk it worked. But when we used our management tool (Watch4Net from EMC) we have no ifaliases. We found out that Junipers have problems with polling using bulk requests. snmpwalk was working but snmpwbulk walk with max-repetitions 50 was not. Lowering the max-repetitions to 49 resolved the problem. We have similar problems with other vendors like Huawei, Redback, OneAccess. Check if cacti is using bulk requests to poll he device. If so try to lover the max-repetitions to some lover values. SNMPv1 does not support bulks so it should not have this problem.
snmpbulkwalk has parameter -Cr<NUM>which configures the max-repetitions.
test: snmpbulkwalk -v2c -Cr30 -c <community> <IP> <OID>
start with higher max-repetitions and try to lower it down till it starts working. We experienced that each device could have different limit which works and which does not.
Re: snmpwalk IfAlias not working for a few routers
Hi All,
Info
CentOS Linux release 7.2.1511
Kernel 3.10.0-229.1.2.el7.x86_64
# spine -v
SPINE 0.8.8h Copyright 2002-2016 by The Cacti Group
Cacti 0.8.8h
net-snmp 5.7.2
Apache/2.4.6
mysql Ver 15.1 Distrib 5.5.47-MariaDB, for Linux (x86_64) using readline 5.1
Cisco IOS XR Software (Cisco ASR9K Series), Version 5.3.1[Default]
I encounter the same problem when using snmp v2 ifAlias is not display.
However it work when using snmp v1.
This is not an issue on Cisco IOS XR Software (Cisco ASR9K Series), Version 4.3.4[Default]
Manualy run snmpwalk or snmpbulkwalk return ifAlias value
Does anyone know how to fix?
Thank you
EDIT
Manage to fixed it by removing those lines from the router snmp server config
Info
CentOS Linux release 7.2.1511
Kernel 3.10.0-229.1.2.el7.x86_64
# spine -v
SPINE 0.8.8h Copyright 2002-2016 by The Cacti Group
Cacti 0.8.8h
net-snmp 5.7.2
Apache/2.4.6
mysql Ver 15.1 Distrib 5.5.47-MariaDB, for Linux (x86_64) using readline 5.1
Cisco IOS XR Software (Cisco ASR9K Series), Version 5.3.1[Default]
I encounter the same problem when using snmp v2 ifAlias is not display.
However it work when using snmp v1.
This is not an issue on Cisco IOS XR Software (Cisco ASR9K Series), Version 4.3.4[Default]
Manualy run snmpwalk or snmpbulkwalk return ifAlias value
Code: Select all
snmpwalk -v2c -c private router1.local.my .1.3.6.1.2.1.31.1.1.1.18
IF-MIB::ifAlias.1 = STRING:
IF-MIB::ifAlias.2 = STRING:
IF-MIB::ifAlias.4 = STRING:
IF-MIB::ifAlias.8 = STRING:
IF-MIB::ifAlias.9 = STRING:
IF-MIB::ifAlias.15 = STRING: 1Gbps 802.1Q Ethernet Trunk To TIME (NNI) - es-05-akhmw
IF-MIB::ifAlias.16 = STRING: VPLS_TESTING - Au
IF-MIB::ifAlias.17 = STRING: VPLS_TESTING
IF-MIB::ifAlias.18 = STRING: VPLS_TESTING
IF-MIB::ifAlias.19 = STRING: L3VPN-QOS-TEST
Thank you
EDIT
Manage to fixed it by removing those lines from the router snmp server config
Code: Select all
snmp-server view readview internet included
snmp-server packetsize 9000
Re: snmpwalk IfAlias not working for a few routers
Team
Is any update/solution for this issue ? I am alsom facing issue for some Juniper routers
No result coming when doing SNMPWALK for '.1.3.6.1.2.1.31.1.1.1.18 from system.... Getting result for other oids)
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='mplsTunnel(150)'] index: 4 [from value]
But getting result from manual SNMP walk command
@l2cacti snmp_queries]# snmpwalk -v2c -c xxxxxxx yyyyyyyy .1.3.6.1.2.1.31.1.1.1.18
IF-MIB::ifAlias.1 = STRING:BACKBONE
IF-MIB::ifAlias.4 = STRING:
Is any update/solution for this issue ? I am alsom facing issue for some Juniper routers
No result coming when doing SNMPWALK for '.1.3.6.1.2.1.31.1.1.1.18 from system.... Getting result for other oids)
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='mplsTunnel(150)'] index: 4 [from value]
But getting result from manual SNMP walk command
@l2cacti snmp_queries]# snmpwalk -v2c -c xxxxxxx yyyyyyyy .1.3.6.1.2.1.31.1.1.1.18
IF-MIB::ifAlias.1 = STRING:BACKBONE
IF-MIB::ifAlias.4 = STRING:
Who is online
Users browsing this forum: No registered users and 0 guests