![]() |
Repository. |
The Repository is divided in two categories : apps and servlet. Applets are not mentionned there: just use beanbox and you can make your applet in a few clicks ( go to beans for examples.)
| Category | Name | Goal |
|---|---|---|
| Non graphical apps | snmpMessageHandler | Can be used as a trap receiver or as a message handler for debugging purpose. |
| Non graphical apps | snmpPing | Ping a target node with a snmp message: useful to see if an agent is up. Can also be use to fetch the identity of a node (sysDescr). | Non graphical apps | snmpRoute | Uses snmp to retreive routing tables of a remote host. |
| Servlet | TekBoot | Uses snmp to retreive and set Tektronix X term's boot configuration. |
| Graphical apps | MibBrowser | Tool to make snmp queries. |
note1: to run apps, don't forget to put sck.jar in your classpath or use java with command flag -classpath:
java -classpath /usr/lib/classes.zip:../../sck.jar:. snmpPing lunar (unix with csh) or
java -classpath "%CLASSPATH%;..\..\sck.jar;." snmpPing lunar for dos.
note2: to use servlets, get JSDK from Sun and use servletrunner for test.
To start servletrunner under unix:
#!/bin/sh CLASSPATH=/usr/lib/classes.zip:/USERS/soun/SRCj/sck2.1/sck.jar export CLASSPATH $HOME/JSDK2.0/bin/servletrunner -d /USERS/soun/SRCj/sck2.1/repository/servlet
note3: Don't forget to edit code before compiling to replace dumb communities names by your real communities names.