> Bernhard> Wherre should I place such tokens if I want to 
> centrally tell 
> Bernhard> all my subagents which configuration to use?
> 
> Wes> if you call init_snmp("blah") then the configuration for your 
> Wes> subagent should go into blah.conf.
> 
> Robert> Note that all calls to init_snmp will read in any snmp.conf 
> Robert> files found in the conf path,
> 
> Though of course those files will also be read in by any 
> client-side tools that run on the same system, so that might 
> be a less appropriate choice for settings specific to just 
> the subagents.

Well, I think snmp.conf might be the right place for the agentx stuff.
It would be a global configuration setting, telling all agentx-enabled
applications on the system where to connect. Currently I have the socket
hardcoded.

If I read the man-pages & code right, there exists a config token for
snmpd.conf "AgentXSocket", is there a specific reason why no such token
exists for snmp.conf? Because I could always override a token specified
in snmp.conf by specifying it also in the agent-specific config file,
right?

Regards,
Berni


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to