How to properly end a bulk request

He Da-Luo <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAHuM4Q+TsNoMmmFfGKV6p8t-qRiJp0c7XqwyF5MoRkAK_koGbg@mail.gmail.com>
Hello,
I'm developing an agent using the library Net-SNMP agent. Most of it works
fine but the requests from "snmptable" (bulk requests).
When the Net-SNMP agent gets a "get next request"(snmpwalk) that reaches
the end of a column or my table, my handler returns "null". Net-SNMP agent
responds with a next oid which belongs to another part of the tree and
snmpwalk stops its requests.
But when the Net-SNMP agent gets a "bulk request"(snmptable), it does not
stop at the end of my table. It keeps going down the tree, calling my other
handlers for other tables.
So my question is : How is it supposed to end ? I read about 'End of MIB
exception' but I don't really know how to raise that and I don't really
reach the end of the MIB just the end of that table.

I hope I'm being clear, I'll send you more infos if not.
Best regards,
He Da-Luo

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.