I don't have an address in snmpd.conf.

Here is my snmpd.conf:

# cat nem_snmpd.conf
#

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


What puzzles me is why the OID in v3 is found and in v1/v2 it is rejected?!?





On Wed, Mar 17, 2021 at 2:48 PM Dachshund Digital <
dachshund-digi...@dc.rr.com> 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 listnet-snmp-us...@lists.sourceforge.net
> 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
> Net-snmp-users@lists.sourceforge.net
> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to