Hi,

My original thought was that because this is 'configure' related it belonged on 
-coders. I realize cross/double-posting is discouraged so before I make a 
different attempt to get clarification on the role of the 
--sysconfdir/--datadir configure options wrt 'snmpd.conf' I'd like to make 
another plea here. Can anyone shed some light on this?

Thanks in advance,
-David

On Friday, February 06, 2015 10:37 AM, David Hauck wrote:
> Hi,
> 
> The 'net-snmp-create-v3-user' script uses the
> --with-persistent-directory and the --datadir configuration parameter
> values for identifying the persistent and configuration files that it 
> modifies.
> 
> Two questions:
> 1. Is there a particular reason for why --datadir and not --sysconfdir
> is used to identify the 'snmpd.conf' file to write to?
> 2. What is the rationale for supporting both --datadir and --sysconfdir
> with respect to the configuration file? That is, if these both
> represent different directories then configuration information is
> spread between both of these system locations (*).
> 
> Thanks,
> -David
> 
> * In my case I'd like to isolate the system 'snmpd.conf' to a single
> directory (in my case '/etc', --sysconfdir) but also keep other SNMP
> data files (i.e., MIBs) elsewhere (in my case '/usr/share',
> --datadir), but I don't want an 'snmpd.conf' in this latter location. Can 
> this be done?

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to