Hi,
I have a problem with the SNMP Trap Appender in that my machine's IP Address
is coming out as 49.50.55.46.48.46.48.46.49 from a config that looks like:
log4j.appender.TRAP_LOG.LocalIPAddress=127.0.0.1
Of course what's happening is that the SnmpOctetString class in the JoeSnmp
Hi Steve,
Ahh, brilliant!
the SnmpOctetString class in the JoeSnmp implementation is treating the IP Address
String as a list of bytes, so what I get in the trap is the ascii values of my String
IP Address.
Yes, this had been reported before, but the report was not specific enough
: Joe SNMP facade bug
|
|
| Hi Steve,
|
| Ahh, brilliant!
|
| the SnmpOctetString class in the JoeSnmp implementation is
| treating the IP Address String as a list of bytes, so what I get
| in the trap is the ascii values of my String IP Address.
|
| Yes, this had been reported before
PROTECTED]]
| Sent: 15 October 2002 20:22
| To: Log4J Users List
| Subject: SnmpAppender extention suggestion (was: RE: Joe SNMP facade
| bug)
|
|
| Add interface:
|
| public abstract interface SysupTimeResolver {
| public abstract long getSysupTime();
| }
|
| Add the following to SNMPAppender