Simple Network Management Protocol (SNMP)

SNMP platform on Common Lisp, client and server support, and GUI tools.

Overview

MIB Browser

;;;; A Sample SNMPv3 Query
CL-USER 6 > (snmp:with-open-session (s "192.168.xxx.xxx" :user "md5" :auth '(:md5 "vHunxJXPRdUyAzjY"))
(snmp:snmp-walk s "system"))
((#<ASN.1:SIMPLE-OID SNMPv2-MIB::sysDescr.0>
 "Linux 2950.lab.163.org 2.6.26-2-amd64 #1 SMP Thu Nov 25 04:30:55 UTC 2010 x86_64")
(#<ASN.1:SIMPLE-OID SNMPv2-MIB::sysObjectID.0> #<ASN.1:SIMPLE-OID SNMPv2-SMI::enterprises.8072.3.2.10>)
(#<ASN.1:SIMPLE-OID SNMPv2-MIB::sysUpTime.0> #<ASN.1:TIMETICKS (19038239) 52:53:02.39>)
(#<ASN.1:SIMPLE-OID SNMPv2-MIB::sysContact.0> "Chun Tian (binghe) <binghe.lisp@gmail.com>")
(#<ASN.1:SIMPLE-OID SNMPv2-MIB::sysName.0> "2950.lab.163.org")
(#<ASN.1:SIMPLE-OID SNMPv2-MIB::sysLocation.0> "Hangzhou")
(#<ASN.1:SIMPLE-OID SNMPv2-MIB::sysORLastChange.0> #<ASN.1:TIMETICKS (0) 0:00:00.00>)
... )

;;;; Load a new MIB into Lisp at runtime
CL-USER 7 > (snmp:load-mib #p"MIB:IETF;IF-MIB")
T
CL-USER 8 > (asn.1:oid "ifTable")
#<ASN.1:OBJECT-ID IF-MIB::ifTable (2) [1]>

Features

Package Dependency

Supported Platforms

Version Dependency Table

SNMP SNMP-SERVER ASN.1 USOCKET-UDP LISPWORKS-UDP
5.19
5.16
5.5
5.0
3.0
2.0
3.11
3.5
3.0
2.0
4.14
4.12
4.5
4.0
2.3
2.4
2.3
2.2
2.2, 2.1, 2.0
1.3
1.2, 1.1, 1.0
-
-
3.2
3.1, 3.0
2.2, 2.1
1.1, 1.0

Source Code

Package Bundle Download

Download all versions of the SNMP package (source tar.gz) here, its also ASDF-INSTALLable.

Loadable Patch for Live Upgrade

Package Version & Download Release Date Release Notes Dependency
snmp-6



none
snmp-5 5.20
5.21
5.22
2008-11-17
2008-12-17
2009-01-21
Multiple fixes for SNMP-BULK
Restore CREATE-SOCKET keyword in OPEN-SESSION
Fix for handle SNMP-WALK terminal condition correctly
-
-
-
snmp-server-3 3.12
2008-12-4
Fix for "lispMachineVersion"
-

Documentation

Not available at this time, sorry ...

Feature Request or Bugs

Reporting a feature request or bug in SNMP package should be done by sending e-mail to the cl-net-snmp-general mailing list or direct to the author.

 

CL-NET-SNMP is under MIT license