Hi guys

i test the tutorial example for dynamic module creation(
nstAgentPluginObject.ch)

i put NET-SNMP-TUTORIAL-MIB.txt in /usr/share/snmp/mibs folder

i load it with snmptranslate:
[EMAIL PROTECTED]:~$ snmptranslate -On
NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject
.1.3.6.1.4.1.8072.2.4.1.1.3


i add to snmpd.conf file:

dlmod  nstAgentPluginObject
/home/simone/Desktop/esempio/nstAgentPluginObject.so


but the snmpget don't collect info:
[EMAIL PROTECTED]:~$ snmpget localhost NET-SNMP-TUTORIAL-MIB::
nstAgentPluginObject.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject.0


debugging output:
[EMAIL PROTECTED]:~$ snmpd -DnstAgentPluginObject
No log handling enabled - turning on stderr logging
registered debug token nstAgentPluginObject, 1
[EMAIL PROTECTED]:~$ could not open /proc/net/if_inet6
nstAgentPluginObject: Initializing the nstAgentPluginObject module
nstAgentPluginObject: Initalizing nstAgentPluginObject scalar integer.
Default value = 3
nstAgentPluginObject: Done initalizing nstAgentPluginObject module
[init_smux] bind failed: Permission denied
Error opening specified endpoint "udp:161"
Server Exiting with code 1


what i have to do to query nstAgentPluginObject??
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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

Reply via email to