Re: how to determine table query index in snmp subagent table handler?
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGaSJ7-NevhL1eNrcxhtCiwvkx08hCva=t6=KOYm=t=stQ@mail.gmail.com> |
On 5 December 2011 21:27, STOTTS Timothy <[email protected]> wrote: > Thank you for your answer Dave. However, your suggestion of using the varbind list only > works for single GET operations of the table entries. No - it ought to work for all requests. > As a reminder, my table initialization code looks like this. [snip] > An example of what I am doing: > switch (reqinfo->mode) { > case MODE_GET: [snip] It's actually quite difficult to work out what might be going wrong from individual snippets of code. Could you please post the full code files (.c and .h) for your module, so I can try this out for myself. Thanks Dave ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ 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