Re: NET-SNMP version: 5.8 - v1/ v2 blocked, v3 works
Dachshund Digital <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Simon, Forgot to add... # snmpwalk -Os -c [redacted] -v 1 localhost NEM-DCI-MIB::nemDCISnmpTrapPort.0 MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp Cannot find module (NEM-DCI-MIB): At line 1 in (none) NEM-DCI-MIB::nemDCISnmpTrapPort.0: Unknown Object Identifier The specific device I tested the OID on, does not support (at time of test) the one you tested, for example. And I could not seem to find the actual OID numeric in google search? So, my test failed on v1, v2c, and v3. -DD On 03/17/2021 11:48, Dachshund Digital wrote: > > Simon, > > What does your 'address' line in snmpd.conf look like? > > Based on the error message, are you sure you have all MIBs needed, > loaded? Try say the device description OID, or the System Up Time > OID. Just as validation, a suggestion. The communication seems good, > just the OID rejected? > > -DD > > On 03/17/2021 11:19, Simon Chamlian wrote: >> >> Hi, >> >> Seems like v1/v2 is blocked while v3 works fine. >> >> >> *V3 works Fine* >> # snmpget -v 3 -u Simon -a MD5 -A simon123 -l authNoPriv localhost >> NEM-DCI-MIB::nemDCISnmpTrapPort.0 >> NEM-DCI-MIB::nemDCISnmpTrapPort.0 = INTEGER: 162 >> >> *V1/V2 does not work* >> # snmpget -v 2c -c public localhost NEM-DCI-MIB::nemDCISnmpTrapPort.0 >> NEM-DCI-MIB::nemDCISnmpTrapPort.0 = No Such Object available on this >> agent at this OID >> >> # snmpget -v 1 -c public localhost NEM-DCI-MIB::nemDCISnmpTrapPort.0 >> Error in packet >> Reason: (noSuchName) There is no such variable name in this MIB. >> Failed object: NEM-DCI-MIB::nemDCISnmpTrapPort.0 >> >> >> *The config file I have is:* >> >> createUser Simon MD5 "simon123" >> rwuser Simon >> # rocommunity: a SNMPv1/SNMPv2c read-only access community name >> rocommunity public >> >> # rwcommunity: a SNMPv1/SNMPv2c read-write access community name >> rwcommunity private >> >> >> Any clues on why this is happening? >> >> Thanks, >> Simon >> >> >> >> >> _______________________________________________ >> Net-snmp-users mailing list >> [email protected] >> Please see the following page to unsubscribe or change other options: >> https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users