install

来自「snmp based application it is used to get」· 代码 · 共 56 行

TXT
56
字号
unzip the archiveThere should be the following componentsnetsnmpj-RELEASE/netsnmpj.jarnetsnmpj-RELEASE/SYSTEM/libnetsnmpj.sonetsnmpj-RELEASE/SYSTEM/libnetsnmpjmib.soTo run any of the programs within netsnmp.jarcd netsnmpj-0.2.0java -Djava.library.path=SYSTEM -cp netsnmpj.jar org.netsnmp.swingui.snmpgetjava -Djava.library.path=SYSTEM -cp netsnmpj.jar org.netsnmp.examples.GetSysDescr <host> <community>java -Djava.library.path=SYSTEM -cp netsnmpj.jar org.netsnmp.examples. <host> <community>Where SYSTEM is currently one of:  Win32-x86 linux-i386 or solaris-sparcThe script file snmpget.sh will launch the swing snmpget applicationfrom the archive directory:cd netsnmpj-0.2.0./snmpget.shOn Win32 platforms:.\snmpget.batInstalling as an extension in your existing JRE(Java Runtime Environment)Copy the jar file to JAVAHOME/jre/lib/extAnd the .so libraries to JAVAHOME/jre/lib/SYSTEMYour platform should have the net-snmp 5.0.6 or above packageinstalled.  If not installed alread, it is available fromhttp://sourceforge.net/project/showfiles.php?group_id=12694For win32 systems, the net-snmp libraries have been statically linkedinto the netsnmpj.dll and netsnmpjmib.dll libraries, so a fullinstallation of net-snmp on Windows is not necessary.  You may howeverneed the MIB files that come with the netsnmp-5.0.x distribution.These files are found in netsnmp-5.0.x/mibs.  They have been includedin this distribution.  They may be copied to a location on yourwindows systems.  Set the environmental variable MIBDIRS to thislocation: For example:set MIBDIRS=c:\net-snmp-5.0.7\mibsAdditional directories may be specified by separating them withsemi-colons.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?