On Wed, 27 Jul 2005 12:23:47 +0530 (IST) [EMAIL PROTECTED] wrote:
RC> I am running 2 snmpd agents in a single linux machine for my project
RC> purpose. I am using configuration files snmpd.conf from from
RC> /etc/snmp/snmp.conf for the first agent with default port (161) and
RC> snmp.conf from my home directory for the second agent with port number
RC> (5050).
RC> The second agent is invoked with the command
RC> /usr/sbin/snmpd -c <homedir>/snmp.conf udp:5050
Be default, the agent will read /etc/snmp/snmpd.conf, even if another file is
specified. If you don't want to read it, you need to specify -C.
Note that there are probably issues with the persistent file in this scenario,
since both agents will be accessing the same file. I've just created a
min-howto on how to do this safely:
http://www.freesnmp.com/net-snmp/faqs/#persistmulti
--
NOTE: messages sent directly to me, instead of the lists, will be deleted
unless they are requests for paid consulting services.
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-coders>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders