Re: NET SNMP Sub agent development using snmpd [request for complete ROW in a table]
Ashish vashishtha <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dev, Thanks for the reply. i have one more query : is it possible for the sub agent to register the table and does not add rows(index) to it and when the management client sends request for the entire table. we can send the data(multiple rows) in reply. if it is possible than which approach we can use. currently i have explored mib2c.create-dataset.conf for the table that requires to add the rows to the table in advance. Regards Ashish Vashishtha On Wed, Feb 10, 2010 at 4:03 PM, Dave Shield <[email protected]>wrote: > On 9 February 2010 14:03, Ashish vashishtha <[email protected]> > wrote: > > > In my MIB file i have table with 7 columns. > > > is it possible to get request for complete row? > > If the management client sends a request for the complete > row, then that's what the agent will receive, and pass on to > the subagent. > > If the management client requests individual values, then > that's what the master and subagents will see. > > > > If yes then How sub agent will receive it from master agent. > > will it be multiple get or getnext request or only single request? > > If it comes in as a single request, then the subagent should > receive a single request. Certainly that's the way that the > Net-SNMP master agent tries to operate. > Note that according to the AgentX specs, a master agent > is at liberty to split one SNMP request (except a SET request) > into multiple AgentX queries, so you cannot *rely* on this > behaviour for GET*. But that's how our master agent works. > > Dave > -- Regards Ashish Vashishtha ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users