[cl-net-snmp-cvs] r5 - www

ctian at common-lisp.net ctian at common-lisp.net
Fri Mar 30 16:16:33 UTC 2007


Author: ctian
Date: Fri Mar 30 11:16:33 2007
New Revision: 5

Modified:
   www/index.shtml
Log:
[www] add more info and sample code

Modified: www/index.shtml
==============================================================================
--- www/index.shtml	(original)
+++ www/index.shtml	Fri Mar 30 11:16:33 2007
@@ -1,79 +1,121 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-  <title>cl-net-snmp</title>
-  <link rel="stylesheet" type="text/css"
- href="http://www.style.org/css/style.org-blue.css">
-  <meta http-equiv="Content-Type"
- content="text/html; charset=ISO-8859-1">
-</head>
-<body>
-<basefont face="Georgia" size="2">
-<div class="header"><br>
-</div>
-<div class="shadow1"> </div>
-<div class="shadow2"> </div>
-<div class="content">
-<h1>Common Lisp Interface of Net-SNMP (cl-net-snmp)</h1>
-<div class="rule"> </div>
-<a href="http://www.net-snmp.org"><img
- src="http://www.net-snmp.org/images/logos/logo1_50.jpg"
- alt="Net-SNMP Logo" class="titleimage"
- style="margin-top: 10px; margin-right: 0px;" border="0"></a>
-<h1>About</h1>
-<div class="deck">cl-net-snmp is a Common Lisp package, an
-interface to Net-SNMP project: the famous open source implementation of
-Simple Network
-Management Protocol (SNMP). With this package, It's possible to build a
-network nanagement system in common lisp, the most advance computer
-programming language in the world.<br>
-<br>
-This package is still in early development stage, lots of work for me
-to do, but I'll continue coding, because I use it for managing my
-servers. (I'm a Unix System Administrator of <a
- href="http://corp.netease.com/">NetEase.com, Inc.</a>)
-</div>
-<div class="rule"> </div>
-<h1>Release<br>
-</h1>
-<div class="deck">No release at current...<br>
-</div>
-<div class="rule"> </div>
-<h1>Source Code</h1>
-<div class="deck">Click <a
- href="http://common-lisp.net/websvn/listing.php?repname=cl-net-snmp&path=%2F&rev=0&sc=0">here</a>
-to view the source code on common-lisp.net's Web-SVN interface, and use
-follow command to check out the code:<br>
-<br>
-<div class="dateline">svn checkout
-svn://common-lisp.net/project/cl-net-snmp/svn/trunk cl-net-snmp<br>
-</div>
-</div>
-<br>
-<div class="rule"> </div>
-<h1>Mailing List</h1>
-<div class="deck">
-<ul>
-  <li><a
- href="http://common-lisp.net/cgi-bin/mailman/listinfo/cl-net-snmp-announce">cl-net-snmp-announce</a></li>
-  <li><a
- href="http://common-lisp.net/cgi-bin/mailman/listinfo/cl-net-snmp-devel">cl-net-snmp-devel</a></li>
-  <li><a
- href="http://common-lisp.net/cgi-bin/mailman/listinfo/cl-net-snmp-cvs">cl-net-snmp-cvs</a><br>
-  </li>
-</ul>
-</div>
-<div class="rule"> </div>
-<h1>Maintainer<br>
-</h1>
-<div class="deck">Chun Tian (binghe) <ctian at common-lisp dot
-net>, Lisp Programmer, Unix Administrator.<br>
-Welcome to his chinese <a href="http://tianchunbinghe.blog.163.com/">BLOG</a>
-on NetEase blog system.^_^<br>
-</div>
-</div>
-<div class="footer">
-<address>Powered by Common-Lisp.net</address>
-</div>
-</body>
+  <head>
+    <title>cl-net-snmp</title>
+    <link rel="stylesheet" type="text/css"
+	  href="http://www.style.org/css/style.org-red.css"/>
+    <meta http-equiv="Content-Type"
+	  content="text/html; charset=ISO-8859-1"/>
+    <basefont face="Georgia" size="2"/>
+  </head>
+  <body>
+    <div class="header"><br/></div>
+    <div class="shadow1"> </div>
+    <div class="shadow2"> </div>
+    <div class="content">
+      <h1>Common Lisp Interface of Net-SNMP (cl-net-snmp)</h1>
+      <div class="rule"> </div>
+      <a href="http://www.net-snmp.org">
+	<img src="http://www.net-snmp.org/images/logos/logo1_50.jpg"
+	     alt="Net-SNMP Logo" class="titleimage"
+	     style="margin-top: 10px; margin-right: 0px;" border="0"/>
+      </a>
+      <h1>About</h1>
+      <div class="deck">
+	cl-net-snmp is a Common Lisp package, an interface to Net-SNMP project:
+	the famous open source implementation of Simple Network Management Protocol
+	(SNMP). With this package, It's possible to build a network nanagement system
+	in common lisp, the most advance computer programming language in the world.
+	<br/>
+	This package is still in early development stage, lots of work for me
+	to do, but I'll continue coding, because I use it for managing my
+	servers. (I'm a Unix System Administrator of
+	<a href="http://corp.netease.com/">NetEase.com, Inc.</a>)
+      </div>
+      <div class="rule"> </div>
+      <h1>Feature</h1>
+      <div class="deck">
+	<ul>
+	  <li>Base on ASDF and CFFI, can easily run on most CLs.</li>
+	  <li>Only support v1 and v2c now, I'll support v3 some days later.</li>
+	  <li>Only support the GET pdu now.</li>
+	</ul>
+      </div>
+      <div class="rule"> </div>
+      <h1>Release</h1>
+      <div class="deck">No release at current...<br/>
+      </div>
+      <div class="rule"> </div>
+      <h1>Source Code</h1>
+      <div class="deck">
+	Click
+	<a href="http://common-lisp.net/websvn/listing.php?repname=cl-net-snmp&path=%2F&sc=0">
+	  here</a> to view the source code on common-lisp.net's Web-SVN interface, and use
+	follow command to check out the code:<br/>
+	<div class="dateline">
+	  svn checkout svn://common-lisp.net/project/cl-net-snmp/svn/trunk cl-net-snmp<br/>
+	</div>
+      </div>
+      <div class="rule"> </div>
+      <h1>Document</h1>
+      <div class="deck">
+	I define two classes: 'snmp-session and 'oid, and a 'snmp-get-msg method to do the
+	work, see sample usage:
+	<pre>
+CL-USER> (in-package :snmp)
+#<PACKAGE "ORG.NET-SNMP">
+NET-SNMP> (snmp-msg-get "binghe.people.163.org" "sysDescr.0")
+"Linux binghe.people.163.org 2.6.18-4-686 #1 SMP Wed Feb 21 16:06:54 UTC 2007 i686"
+NET-SNMP> (snmp-msg-get "binghe.people.163.org" "laLoad.1")
+"0.00"
+NET-SNMP> (defvar binghe (make-instance 'snmp-session
+                                           :peername "binghe.people.163.org"
+                                           :version +snmp-version-2c+
+                                           :community "public"))
+BINGHE
+NET-SNMP> (snmp-msg-get binghe "sysDescr.0")
+"Linux binghe.people.163.org 2.6.18-4-686 #1 SMP Wed Feb 21 16:06:54 UTC 2007 i686"
+NET-SNMP> (defvar descr (make-instance 'oid :name "sysDescr.0"))
+DESCR
+NET-SNMP> (snmp-msg-get binghe descr)
+"Linux binghe.people.163.org 2.6.18-4-686 #1 SMP Wed Feb 21 16:06:54 UTC 2007 i686"
+	</pre>
+      </div>
+      <div class="rule"> </div>
+      <h1>Relate Lisp Projects</h1>
+      <div class="deck">
+	<ul>
+	  <li><a href="http://common-lisp.net/project/asdf/">
+	      ASDF: Another System Definition Facility</a></li>
+	  <li><a href="http://common-lisp.net/project/cffi/">
+	      CFFI - The Common Foreign Function Interface</a></li>
+	  <li><a href="http://www.sbcl.org/">Steel Bank Common Lisp</a></li>
+	  <li><a href="http://www.cliki.net/Lisp-SNMP">Lisp-SNMP</a></li>
+	</ul>
+      </div>
+      <div class="rule"> </div>
+      <h1>Mailing List</h1>
+      <div class="deck">
+	<ul>
+	  <li><a href="http://common-lisp.net/cgi-bin/mailman/listinfo/cl-net-snmp-announce">
+	      cl-net-snmp-announce</a></li>
+	  <li><a href="http://common-lisp.net/cgi-bin/mailman/listinfo/cl-net-snmp-devel">
+	      cl-net-snmp-devel</a></li>
+	  <li><a href="http://common-lisp.net/cgi-bin/mailman/listinfo/cl-net-snmp-cvs">
+	      cl-net-snmp-cvs</a></li>
+	</ul>
+      </div>
+      <div class="rule"> </div>
+      <h1>Maintainer</h1>
+      <div class="deck">
+	Chun Tian (binghe) <ctian at common-lisp dot
+	net>, Lisp Programmer, Unix Administrator.<br/>
+	Welcome to his chinese <a href="http://tianchunbinghe.blog.163.com/">BLOG</a>
+	on NetEase blog system.^_^<br/>
+      </div>
+    </div>
+    <div class="footer">
+      <address>Powered by Common-Lisp.net</address>
+    </div>
+  </body>
 </html>



More information about the Cl-net-snmp-cvs mailing list