Hi All,
I am trying to use the shared library with net-snmp.
Before trying my .SO lib, I try to test the snmpd with
nstAgentPluginObject.so I always get noAccess error
for the snmpset operations.
Here is the log:
kanatara-lnx:270> sudo snmpd -f -L -DnstAgentPluginObject,dlmod &
[1] 27492
kanatara-lnx:271> registered debug token nstAgentPluginObject, 1
registered debug token dlmod, 1
dlmod: register mib
dlmod: dlmod_path: /usr/lib/snmp/dlmod
Turning on AgentX master support.
netsnmp_assert !"registration != duplicate" failed agent_registry.c:536
netsnmp_subtree_load()
NET-SNMP version 5.3.2.2
kanatara-lnx:272> sudo snmpset -v 2c -c public kanatara-lnx
UCD-DLMOD-MIB::dlmodStatus.1 i create
Connection from UDP: [128.107.164.249]:64081
Error in packet.
Reason: noAccess
Failed object: UCD-DLMOD-MIB::dlmodStatus.1
kanatara-lnx:273>
my snmp config file has the following permission:
rwcommunity public kanatara-lnx
Could you please let me know how to fix this noAccess error?
Thanks,
-karthi
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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