--===============1565718804==
Content-Type: multipart/alternative;
boundary="----=_Part_35680_32380672.1204107576943"

------=_Part_35680_32380672.1204107576943
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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:
simone@simone-laptop:~$ 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:
simone@simone-laptop:~$ 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:
simone@simone-laptop:~$ snmpd -DnstAgentPluginObject
No log handling enabled - turning on stderr logging
registered debug token nstAgentPluginObject, 1
simone@simone-laptop:~$ 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??

------=_Part_35680_32380672.1204107576943
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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:
simone@simone-laptop:~$ 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:
simone@simone-laptop:~$ 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:
simone@simone-laptop:~$ snmpd -DnstAgentPluginObject

No log handling enabled - turning on stderr logging
registered debug token nstAgentPluginObject, 1
simone@simone-laptop:~$ 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??







------=_Part_35680_32380672.1204107576943--


--===============1565718804==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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/
--===============1565718804==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/...net-snmp-users

--===============1565718804==--