Hi Andy.
Andy Smith wrote:
Are there any options that need to be fed to snmptrapd when the service is registered for logging? Are we going to leave the default event log logging enabled?
Andy
I think it would be a good idea to leave the event log enabled, but we need to document how to re-register the service with the other (new for 5.2) command line logging options. README.win32 is missing the snmptrapd register info.
I think we could re-write some of that section to make it clearer to people using the binary release.
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
------------------------------------------------------- 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
