Re: About SQUID and SNMP TRAPS , and snmp in general

From: Andrew Rucker Jones <arjones@dont-contact.us>
Date: Sun, 10 Jul 2005 11:12:14 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

I certainly can't argue with what Henrik says. I was really hoping for
an AgentX implementation, though. (In fact, i was wanting to be the
developer who implements it, but then i had a child, and, well, nowadays
i'm lucky to have time enough to read my e-mail.) My biggest reason for
that was SNMPv3 support. I don't believe in SNMP before version 3, and
hooking in to Net-SMNP via AgentX is a quick and easy way to get SNMPv3
into Squid (because Squid doesn't have to do the work).

I just wanted to add that quick thought to the discussion.

                -&

Henrik Nordstrom wrote:
> On Sat, 9 Jul 2005, Henrik Nordstrom wrote:
>
>> There is two approaches, either resurrect the now deleted trap snmp
>> code in the old simplminded snmp library used (and distributed) by
>> Squid, or do it more proper and replace the SNMP agent glue in Squid
>> with a new one using the more up to date net-snmp library API
>> <url:http://net-snmp.sourceforge.net/>, making Squid a SMUX or AgentX
>> sub-agent to an existing system SNMP agent supporting either method.
>
>
> A quick inspection of the net-snmp agent API indicates it is not
> immediately suitable to be called from inside Squid. This due to a
> design heavily centered around select() semantics and fd_set processing.
>
> It may be possible to build glue around, but I have doubts in how the
> library uses the fd_set:s. Any library having static/local fd_set
> instances is not useable from Squid (filedescriptor limitation problem).
>
> So for now I think it would be better to simply resurrect/reimplement
> the TRAP PDU sending code. Since we are only looking at sending traps
> there is not much danger or maintenance headache.
>
> Regards
> Henrik
>

- --
GPG key / Schl?ssel -- http://simultan.dyndns.org/~arjones/gpgkey.txt
Encrypt everything. / Alles verschl?sseln.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFC0OZsoI7tqy5bNGMRAx4+AJ9JJwpb+/+J2m91e0k+eTtMLzTUiACgxOUB
LCtS8Ki3DVAY/KwXfBEZIl4=
=3FBF
-----END PGP SIGNATURE-----
Received on Sun Jul 10 2005 - 03:12:34 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:03 MDT