Alex Burger wrote:

I just did some quick tests with the service under 2000 (MSVC 6), and I get the following in the event log. Only the first one looks correct.


ID 100:
Net-SNMP Trap Handler - Successfully registered as Service.

ID 0:
The description for Event ID ( 0 ) in Source ( snmptrapd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: Starting snmptrapd 5.2.pre1


I sent a trap, and it was logged as:

ID 0:
The description for Event ID ( 0 ) in Source ( snmptrapd ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: bink [192.168.4.1]: Trap , DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (12345) 0:02:03.45, SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.534.1.11.4.1.0.22, SNMPv2-SMI::enterprises.534.1.7.2.1.1.52 = INTEGER: 52, SNMPv2-SMI::enterprises.534.1.7.2.1.2.52 = OID: SNMPv2-SMI::enterprises.534.1.7.15, SNMPv2-SMI::enterprises.534.1.11.3.0 = STRING: "Alex"
.


Alex



snmp_logging.c does not retain the name nor id that snmptrapd was registered with. So the event viewer is confused. Watch bug # 926389 for a full description.



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to