Much appreciated that looks like its doing the job. Very nice. Cheers, Garyc ----- Original Message ----- From: "Robert Story (Users)" <[EMAIL PROTECTED]> To: "Gary Clark" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, October 25, 2004 3:12 PM Subject: Re: Packaging of snmpd
> On Mon, 25 Oct 2004 12:04:27 -0500 Gary wrote: > GC> 1) I want the snmpd executable to be self-contained and not dependant on > GC> installation of net-snmp. Is this possible. > > Yes. Try the static linking tips here: > > http://www.net-snmp.org/faqs/rstory/#static > > GC> 2) The snmpd.conf file is situated in /usr/local/share/snmp. If there is no > GC> /usr/local/share/snmp then can the agent > GC> point to it using an environment variable. I know SNMPCONFPATH is a > GC> way. However this gave me problems > GC> when trying to use persistence and was advised to not to set the > GC> environment variable. Do I simply ask the user to create > GC> a directory /usr/local/share/snmp ? > > That directory is not used for persistence and dose not need to exist. The > normal configuration of snmpd can be loaded from anyplace on the filesystem by > pointing to it with the -c option. > > The persistent directory defaults to /var/net-snmp. See the configure help for > options on configuring various paths. > > -- > Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> > <irc://irc.freenode.net/#net-snmp> > Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> > > You are lost in a twisty maze of little standards, all different. > > > ------------------------------------------------------- > 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 ------------------------------------------------------- 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