Re: Finding active configuration file
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> "c" == cnelson <[email protected]> writes: c> Is there a function or a #define or something that will let a subagent c> determine what configuration file the agent is using? I found c> get_configuration_directory() but it returns a path of several c> directories. What I want is something that returns, for example, c> /usr/share/snmp/snmpd.conf. It's not so simple: the library actually loads every configuration file it can see in that path. So it may be more than one config file. (in a side note: running snmpd with -Dread_config will list what it reads) -- Wes Hardaker Sparta, Inc. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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