On Wed, Jan 6, 2010 at 9:33 AM, Peyush Kumar <peyush.ku...@gmail.com> wrote:

> Hi,
>
> Thanks for your response
>
> Related questions,
>
> 1)Is your master agent SNMPD or created by self.
>

My master agent is Net-SNMP with my own added 'grand-unified'
MIBs/extentions.


>  Basically Will the creation of 'grand-unified' OID format,will it pe
> possible by snmpd
> by just configuration or we need to implement code for this ( of what
> size/complexity)
>

Basically, its a separate MIB/code _you_ write..
The complexity is dependent on what/how-many variables and tables you need
to handle,
but basically, its non-trivial!

>
>


> 2) Can we achive same functionality without using master agent
> If SNMP mnager does GetNext will it be possible to browse all devices one
> after another ?
>

An alternative could be to use the 'proxied sub-agent' approach, but that
could only work for the most simple of cases, and wouldn't handle situations
where the data values also need to massaged.

For example... what happens if the OID you are querying is an interface
number?
The OID given to the master might be index 10 (OID.10), but that translates
at the lowest
device to interface # 2.  The value that gets returned by the low level is
OID.2
with a value of 2, but the master needs to translate this into an answer of
OID.10
with a value of 10.


So, no, I don't think you have an alternative to writting your own MIBs and
MIB agents
that perform this 'intelligent' proxying, that understands _your_ indexing.


>  On Wed, Jan 6, 2010 at 7:43 PM, Fulko Hew <fulko....@gmail.com> wrote:
>
>>
>>   On Wed, Jan 6, 2010 at 5:53 AM, Peyush Kumar <peyush.ku...@gmail.com>wrote:
>>
>>> Hi,
>>> Can someone please suggest on follwoing
>>>
>>> I am using Snmp Proxy - agent architecture.
>>>
>>> I plan to implement same MIB in multiple devices D1, D2, ..Dn.
>>> Proxy should be routing to right device using index in OID ( .0,
>>> .1.2.3.4)
>>>
>>> Can I use GetNext to browse thorugh all the devices D1, D2.
>>>
>>
>> Yes.  I do this all the time.
>>
>> I have a device (that we built) that contains a number of processors, each
>> one had its own SNMP agent.
>> And then my customer wanted a 'master' agent at a single published IP
>> address to query instead.
>>
>> So what my master agent does when it get an OID, is extract a portion of
>> the indexes, and
>> uses that to determine both the IP address of the actual device to query
>> and the OID/indexes
>> on that target device.  It then uses SNMP to query the sub-device's agent,
>> gets its response,
>> rewrites the OID (and possibly the value) into the 'grand-unified' OID
>> format, and then returns
>> that to the querying NMS.
>>
>>
>>
>>
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to