Re: NET SNMP Sub agent development using snmpd [request for complete ROW in a table]
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 11 February 2010 05:51, Ashish vashishtha <[email protected]> wrote: > is it possible .... when the management client sends request for the > entire table. There is no such thing as a "request for an entire table". With one exception, all SNMP requests have a 1-1 relationship between varbinds in the incoming request, and those in the corresponding response. The only request that doesn't work in this way is GETBULK. But the SNMP protocol itself has no concept of tables (or even table rows) - it purely works in terms of individual values. It's up to the client application to work out what to ask for, and display the responses appropriately. I suggest you buy/borrow/steal a good book on SNMP, and review your understanding of the basic model. As far as coding an agent is concerned, you just write a module that can respond to requests for each of the individual instances. That will then work with whatever approach the management client uses. Dave ------------------------------------------------------------------------------ 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