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, 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