Hi Magnus,
Thanks.. for the response...
I needed some more clarity... actually i am intending to take the whole mibs
along with their values from various cisco devices and populate( like dummy
cisco devices..) running on different ports.. as said before. I am not able
to figure out how to do that in the agent side using net-smp .. If this
possible can you let me know the steps i need to do for this...
Currently i am using the net-snmp-5.3.2.2-5.el5_3.2 of the rpm package.. Do
I need to use the source and recompiling to for what i am intending to do..
Thanks for your quick response once again...
Regards
Saleem
On Thu, Nov 26, 2009 at 12:36 PM, Magnus Fromreide <[email protected]>wrote:
> 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