On Thu, 2009-11-26 at 12:13 +0530, Saleem Ahmed Khan wrote:
> Hi,
> 
> There is a requirement to simulate the SNMP Agents for testing
> purpose..  I need to support around 1000 devices with the some dummy
> values... (for e.g getting whole mib tree of some cisco device and use
> them in the agent) . I am using net-snmp to do this. I was able to add
> the predefined values for the System table by adding to the snmpd.conf
> file. Now i am trying to do for other mibs.. but not able to get the
> response... 
> 
> Is this possible to create this using Net-SNMP

Yes.
I think you want to read about the override directive in the
documentation for snmpd.conf.

> and also can i run multiple agent with the different ports on the same
> machine...

Yes. You can even run one agent with multiple ports on the same machine.

snmpd -c config.cfg :5000 :5001 :5002 ...

Note that you might run into problems with the number of open file
descriptors and that each agent is single threaded and finally the fact
that select(2) is used for multiplexing in the agent.

The first problem could be handled by changing the ulimit or running
more agents (e.g. two that handle half the port range each) and the
second and third problem could be handled by running more agents.

/MF


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to