This is a discussion on dlmod within the SNMP Users forums, part of the Networking and Network Related category; --===============1565718804== Content-Type: multipart/alternative; boundary="----=_Part_35680_32380672.1204107576943" ------=_Part_35680_32380672.1204107576943 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============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<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::nstAgentPluginObject<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 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. Default value = 3<br>nstAgentPluginObject: Done initalizing nstAgentPluginObject module<br>[init_smux] bind failed: Permission denied<br>Error opening specified endpoint "udp:161"<br> Server Exiting with code 1<br><br><br>what i have to do to query nstAgentPluginObject??<br><br><br><br><br><br> ------=_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==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|