Hello,

As suggested in the first option

if i make my process p1 as a net snmp subagent using agentx than will the
snmp master agent(SNMPD) will forward all the incoming requests to P1(as
there can be more than one sub-Agent)?

is it possible to filter incoming requests from the snmpd to the p1 based on
the range of the OIDs ?
if yes than how this filtering can be done.


Regards
Ashish Vashishtha






On Wed, Jan 6, 2010 at 8:33 PM, Dave Shield <d.t.shi...@liverpool.ac.uk>wrote:

> 2010/1/6 Ashish vashishtha <ashish.vashish...@gmail.com>:
> > But we have a separate application "P1" that contains the response data
> that
> > i need to send in response to the get or get next.
> >
> > How SNMPD will get this inforamtion from P1 unless P1 is also a SNMP
> agent.
>
> Two options:
>
>  a)  Make P1 an AgentX subagent, and have snmpd
>      (acting as a master agent) pass the requests on to P1
>
>  b)  Have some form of private API within P1,
>           for P1 to make the data available.
>       Then the MIB module code can use this API to retrieve
>           the necessary data.
>
> That private API can be as simple as a text file that contains a
> snapshot of the data to be reported.   Otherwise you're looking
> at inter-process mechanisms.
>   But fundamentally this is nothing to do with SNMP - this is
> all private between the MIB module and your P1 application.
>
> Dave
>
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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