[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I hate the net-snmp library
From: |
Jeff Bailey |
Subject: |
I hate the net-snmp library |
Date: |
Tue, 23 Apr 2002 12:54:33 -0700 |
User-agent: |
Mutt/1.3.28i |
I hate the net-snmp library. Bad examples and non-existant documentation.
And it's *ugly* too.
As an example:
http://net-snmp.sourceforge.net/tutorial/toolkit/demoapp/index.html
I'm thinking of a nice starting set of wrappers:
try {
snmp_connection foo = new snmpv1_connection("server", "community");
} catch { // Various can't connect errors;
}
// This is a blocking request, presumably with a timeout. Could do a
// similar non-blocking too.
pdu *pdu = foo.get(".1.3.6.1.2.1.1.1.0");
I'm not sure yet how to handle an snmpwalk type of sequence, but I
think I'd like it to be something like it either returning a list<pdu
*>, or something. Suggestions?
--
One of the great things about books is sometimes
there are some fantastic pictures.
-- George W. Bush
- I hate the net-snmp library,
Jeff Bailey <=