On Wed, 09 Mar 2005 21:33:39 -0300 Jose wrote:
JD> Is there any way to add different configurations to different hosts in
JD> snmpd.conf , as for instance:
JD>
JD> include roll-1.conf
JD> include server-2.conf
JD> include database-3.conf
JD>
JD> And then to point (link) with these include files to NFS or AFS anywhere
JD> just to keep different configurations posibilities.
No. It's a good idea, though. You could simulate it, though, with directories.
i.e.
SNMPCONFPATH=/usr/local/share/snmp
SNMPCONFPATH=$SNMPCONFPATH:/usr/local/share/snmp/roll-1
SNMPCONFPATH=$SNMPCONFPATH:/usr/local/share/snmp/server-2
SNMPCONFPATH=$SNMPCONFPATH:/usr/local/share/snmp/database-3
export SNMPCONFPATH
snmpd
The file in each directory (roll-1, server-2, etc) would still have to be
called snmpd.conf.
--
Robert Story; NET-SNMP Junkie
Support: <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.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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