You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Sullivan, Sean C - MWT" <Su...@menlolog.com> on 2004/04/09 01:48:44 UTC

Log4j, SNMPTrapAppender, SNMP

Two questions:

1) Is anybody using this SNMPTrapAppender to generate SNMP traps?

   http://www.m2technologies.net/asp/snmpTrapAppender.asp

2) Are there any plans to integrate a SNMP appender into the Log4j 
   core project?

-Sean


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


RE: Log4j, SNMPTrapAppender, SNMP

Posted by Mark Masterson <m....@computer.org>.
Hi Sean,

1) A good number of people, yes.  The appender is repackaged and included
with JBoss, and a custom implementation of the appender is included with
AdventNet's commercial product.  The state of Georgia apparently uses it as
part of their standardized software architecture for all in-house Java apps,
in a scheme developed for them by consultants from Sun! :-)  I've used it at
a number of my clients; all big, Fortune 500 companies.  I've seen it used
successfully with both OpenView and Tivoli.

2) No, not that I know of.  I've offered it as a contribution a couple of
times, and Ceki has always answered with a polite, but firm "no, thank you".
Ceki's main concern, if I may paraphrase him, revolves around the fact that
this appender relies on third-party libraries that are not part of any kind
of official Java standard, and not available under the Apache license.  In
contrast to things like JDBC, JMS or SMTP, there is no standardized,
Sun-approved way of using SNMP from Java.  And seeing as how  Sun makes a
bit of money off of licenses for the implementation of an SNMP adaptor for
JMX, it's not likely that there ever will be.  For that reason, the
SNMPTrapAppender is forced to define a sort of standardized API itself, and
that's exactly what it does.  I include three different implementations of
that API with the distribution of the appender, and they all use open source
libraries, but none of those libraries uses the Apache license.

So, including it with log4J would basically mean one of two things:

a) distribute just the abstract API, along with the core appender code, and
insist that any given user must implement her own concrete "trap sender",
perhaps by using one of the open source libraries.  That would get around
the licensing issues, but would make the appender basically useless, "out of
the box".

b) distribute it the way I do now, which would inevitably mean mind-bending
grief because of the licensing issues.

Since neither one of these alternatives makes anybody happy, the appender is
not included with log4J, and that's not likely to change.

Above and beyond all that, I suspect Ceki is worried that I wouldn't be able
to provide much support for the thing, and that's a valid concern.

:-)  Despite all that, lots of people use it, and it's been a very
successful coupla hundred lines of code.  Go figure.

Cheers,
Mark

-----Original Message-----
From:
log4j-user-return-12470-mark_masterson=compuserve.com@logging.apache.org
[mailto:log4j-user-return-12470-mark_masterson=compuserve.com@logging.ap
ache.org]On Behalf Of Sullivan, Sean C - MWT
Sent: Friday, April 09, 2004 1:49 AM
To: Log4J Users List
Subject: Log4j, SNMPTrapAppender, SNMP




Two questions:

1) Is anybody using this SNMPTrapAppender to generate SNMP traps?

   http://www.m2technologies.net/asp/snmpTrapAppender.asp

2) Are there any plans to integrate a SNMP appender into the Log4j
   core project?

-Sean


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org