README
1A collection of test scripts for the Perl SNMP code.
2
3arp Sample application that lists the ipNetToMediaTable of a
4 host. Similar to the simple form of the Unix "arp" command.
5
6asn1-test.pl
7ber-test.pl
8 A few regression tests for BER encoding. If you get errors
9 running these, I'd be very interested to hear about it!
10
11cisco-cpus
12 Use CISCO-PROCESS-MIB to get CPU utilization statistics from
13 all processors in a Cisco router. This is most useful for
14 routers with multiple CPUs, such as 7500 (RSP) routers with
15 VIP2s, or Cisco 12000 (GSR) routers.
16
17cisco-memory
18 Print global usage statistics (total/used/free bytes) for
19 different types of memory on the main processor of a Cisco
20 router.
21
22if-counters.pl (requires Curses.pm)
23 Displays a router's byte and packet counter development in
24 real-time. Demonstrates map_table_4 and a heuristic for
25 maxRepetitions.
26
27iftop (requires Curses.pm)
28 Display top interface counters in real time.
29 Based on if-counters.pl.
30 Contributed by Dave Plonka <plonka@doit.wisc.edu>, see also
31 http://net.doit.wisc.edu/~plonka/iftop/
32
33set-test.pl
34 Application that tries to change the sysContact.0 variable and
35 then changes it back to the original value. Contributed by
36 Matthew Trunnell <matter@dune.media.mit.edu>
37
38SNMPAgent.pm
39 Simple SNMP agent returning nonsense replies.
40 Intended as an example of how to write agents.
41 Contributed by Mike McCauley <mikem@open.com.au>
42
43sun-find-process
44 Use SEA's "sun" MIB to find process ID(s) of processes with a
45 specific command name.
46
47sun-ps List the process table of a remote system using the "sun" MIB
48 implemented in Sun's Solstice Enterprise Agents.
49
50test.pl Trivial application that reads some fixed variables from an
51 agent.
52
53trap-send
54 Send an SNMPv1 trap to a remote management station
55
56trap-listener
57 Sit there and listen for SNMPv1 traps, which are decoded and
58 written out in a readable form
59
60walk-intf.pl
61 A variant of walk-test.pl that walks several columns of the
62 RFC 1213 interfaces table.
63
64walk-test.pl
65 Another trivial application that walks two columns in the
66 interface table of RFC 1213.
67
68wwwtest Example for a CGI script that allows SNMP read access to a
69 specific set of devices over the Web.
70