Re: snmpget fails on my second agent.

This is a discussion on Re: snmpget fails on my second agent. within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 27 Jul 2005 12:23:47 +0530 (IST) raviraj@sasken.com wrote: RC> I am running 2 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-27-2005
Robert Story
 
Posts: n/a
Default Re: snmpget fails on my second agent.

On Wed, 27 Jul 2005 12:23:47 +0530 (IST) raviraj@sasken.com 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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0