-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dell S6100: snmpwalk for IF-MIB and IP-MIB fails #118
Comments
Did you check it on the latest image? There were few fixes made in the context of SNMP agent. You can check the logs to see if there are any failures/crashes in SNMP agent initialization. |
Hello, @chitra-raghavan we've run the SNMP test against the S6100 platform, and it passes fine.
|
@prsunny , @stcheng I am using the latest version of the label and seeing the same issue.
I see the below messages in syslog file.
|
Looks like it is due the following pull-requests. sonic-net/sonic-sairedis#234 We are tracking this! |
we've fixed this. please confirm. |
seeing same issue in build 376. snmpwalk doesnt return any output.
snmp o/p :
IF-MIB :
IP-MIB:
|
@chitra-raghavan The syslog you pasted on Oct 23 is saying the 'COUNTERS_PORT_NAME_MAP' is not available in redis-db. You may double check by command.
Normally it is due to very slow initialization on this platform. We are trying to solve this problem (@yxieca ). Please confirm if it is the case. If yes, mitigating solution is to restart snmp docker:
|
After restarting the snmp docker , snmpwalk for IF-MIB works fine. (sudo systemctl restart snmp) |
snmpwalk for IP-MIB still fails. rchitra@login-sjc-01[1:57am] : ~ > snmpwalk -v 2c -c public 10.11.150.100 1.3.6.1.2.1.4.20 |
My original comment still applies if you met the same error in syslog. |
Even after restarting the snmp , IP-MIB doesnt work. |
@chitra-raghavan Sorry, I thought you were talking about IF-MIB. If you want to check code, you may read: class IpMib, class IpCidrRouteTable. What do you really need in IP-MIB? Feel free to submit a pull request if you would like to contribute. |
it is fine if the oid polled in the sonic-mgmt script is enough for now |
Any resolution on this ? The latest sonic builds are still seeing this problem. On 2 different vendor platforms. |
I'm also seeing this, on a fresh install of build 306 from Jenkins (a day or two old), on an as7326_56x (Broadcom). snmpwalk shows IP-MIB but not IF-MIB. |
Found in syslog:
I'm not that familiar with Redis, but it doesn't look like that key exists:
|
FWIW, after upgrading to build 310 and rebooting, IF-MIB entries now appear. |
Snmpwalk for IF-MIB and IP-MIB provided in library files are failing in S6100,whereas System mibs are passing .
In S6000 Snmpwalk for all the provided MIBs are passing.
Working mibs in s6100:
Snip from library file : /var/johnar/sonic-mgmt/ansible/library/snmp_facts.py
Sample o/p in S6100:
Failing mibs in s6100 :
The below oid’s are failing in 6100 .All these OIDs are running fine in S6000
Snip from library file :
Sample o/p inS6100 :
S6000 sample o/p :
The text was updated successfully, but these errors were encountered: