How about adding the command line options for snmptrapd into the snmptrapd.conf file? It looks like snmpd already has some of the command line options in the snmpd.conf file. For example:

dumpPackets        0
printEvenNumbers    0
doNotFork        0
format            %M-%L-%y %W
syslogFacility        d
loggingOutput        f /var/log/snmptrapd.log
pidFile            /var/run/snmptrapd.pid
doNotLogTraps        0


I'll try to come up with a patch to implement the above over the next week.



Adding the above lines to snmptrapd.conf does not work on my XP box. The service was not logging so I tried running from the command line. See the output below and more testing to come.

They don't exist yet as options for snmptrapd.conf. I will try to implement them over the next week and provide a patch.


Alex


------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to