dlmod problem

This is a discussion on dlmod problem within the SNMP Users forums, part of the Networking and Network Related category; --===============0143048888== Content-Type: multipart/alternative; boundary="----=_Part_35739_26487383.1204107946362" ------=_Part_35739_26487383.1204107946362 Content-Type: text/plain; charset=ISO-8859-1 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008
simone marangoni
 
Posts: n/a
Default dlmod problem

--===============0143048888==
Content-Type: multipart/alternative;
boundary="----=_Part_35739_26487383.1204107946362"

------=_Part_35739_26487383.1204107946362
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::nstAgent
PluginObject
..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_35739_26487383.1204107946362
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi guys<br><br>i test the tutorial example for dynamic module creation(nstAgentPluginObject.ch)<br><br>i put NET-SNMP-TUTORIAL-MIB.txt in /usr/share/snmp/mibs folder<br><br>i load it with snmptranslate:<br>simone@simone-laptop:~$ snmptranslate -On NET-SNMP-TUTORIAL-MIB::nstAgent<div id="mb_0">
PluginObject<br>
..1.3.6.1.4.1.8072.2.4.1.1.3<br><br><br>i add to snmpd.conf file:<br><br>dlmod&nbsp; nstAgentPluginObject /home/simone/Desktop/esempio/nstAgentPluginObject.so<br><br><br>but the snmpget don't collect info:<br>simone@simone-laptop:~$ snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject.0<br>

Error in packet<br>Reason: (noSuchName) There is no such variable name in this MIB.<br>Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentPluginObject.0<br><br><br>debugging output:<br>simone@simone-laptop:~$ snmpd -DnstAgentPluginObject<br>

No log handling enabled - turning on stderr logging<br>registered debug token nstAgentPluginObject, 1<br>simone@simone-laptop:~$ could not open /proc/net/if_inet6<br>nstAgentPluginObject: Initializing the nstAgentPluginObject module<br>

nstAgentPluginObject: Initalizing nstAgentPluginObject scalar integer.&nbsp; Default value = 3<br>nstAgentPluginObject: Done initalizing nstAgentPluginObject module<br>[init_smux] bind failed: Permission denied<br>Error opening specified endpoint &quot;udp:161&quot;<br>

Server Exiting with code 1<br><br><br>what i have to do to query nstAgentPluginObject??<br><br><br></div>

------=_Part_35739_26487383.1204107946362--


--===============0143048888==
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/
--===============0143048888==
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

--===============0143048888==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:58 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0