Coders, Sorry that we were off-line.
Andy Smith wrote:
Alex Burger wrote:
Michael J. Slifcak wrote:
Recalling that, and reviewing your recent announcement that '-C' forces an error if the Net-SNMP win32 software is not installed in "C:\USR",
Perhaps the "-C -c XX.conf" should be removed from the register{snmpd,snmptrapd}.bat files.
And a note added to the ...Services section of README.Win32 to identify that a reboot while not always necessary (example, when installing to C:\USR), *could* be done when installing elsewhere to ensure the service will start correctly, once the configuration file is formed properly.
Although not perfect, will this work ?
How about the log option? We are adding a -L f <base>/log/snmpd.log and snmptrapd.log file but now the eventlog is fixed. It's fixed with MSVC already and with my patch also for MinGW (and Cygwin??). Do we still want to include the -Lf?
Maybe we still do because a test log is nice to have...
Can we add another variable to the batch files instead of lumping them together in the %otheroption% variable? Maybe a %logoptions% variable as well. That would make setting log options easier for the end user.
Andy
BTW, 5.2 allows for a logOption token in snmptrapd.conf. I never added that token to snmpd.conf, but probably should have.. It's only in 5.2, so for 5.1.x users need to specify the text log on the command line..
Alex
I agree with Andy. a %logoption% would be nice to have in the service register scripts. -Mike Slifcak
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
