Thanks, Thomas and Robert.

Thomas Anders wrote:

Marco Waller wrote:

calling the 5.1.2 agent on my Linux PC with attached snmp.conf results
in a very strange log message "Optional File does not exist".


That's bug 1040686:
http://sourceforge.net/tracker/index.php?func=detail&aid=1040686&group_id=12694&atid=112694



It's fixed in 5.2.rc1 (by applying patch 1040330), but not yet in the V5-1-patches branch, AFAIK. There was some discussion on net-snmp-coders whether patch 1040330 is "overkill" for V5-1-patches.

Feel free to add your vote to the bug report. :)


+Thomas

Robert Story (Users) wrote:
> On Tue, 26 Oct 2004 17:08:51 +0200 Marco wrote:
> MW> ./snmpd -C -c '/var/snmp/snmpd.conf,/usr/local/share/snmp/snmp.conf'
>
> The problem is the use of strtok in a look which calls other code that also
> uses strtok. You have three options. Upgrade to 5.2.rc1. Patch the 5.1.x code
> to use strtok_r in read_configs() (in read_config.c). Or don't use -c, and
> instead set the SNMPCONFPATH environment variable, setting it to
> "var/snmp:/usr/local/share/snmp".
>




-------------------------------------------------------
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-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to