Re: question about agentx configure file
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 04/11/2007 <[email protected]> wrote: > how would a subagent know where > to look for its configure files, It looks in the same list of directories as the master agent. This is hardcoded into the core Net-SNMP library. > and what configure files to read in without > confusing the master agent to read in the same configure files. That depends on the initialisation code in your subagent. Look for the line init_snmp( "name" ); The token "name" is used to control which config files to read in. If you initialise the library using init_snmp( "subagent" ); then your application will read in config files named "subagent.conf" Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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