On 16 July 2010 16:28, Fulko Hew <fulko....@gmail.com> wrote:
> But I have encountered problems with sub-agents written by my co-workers
> that did not 'do the right thing' at the end of tables and their 'assigned
> block' of the OID tree.
>
> They did two things wrong, they:
> a) didn't always return the correct 'next' OID within their block, when
> asked.

Sure - if an agent module is broken, then you'll get the wrong results.
That's only to be expected.   Computers don't work by magic!


> b) didn't return the 'right' indication when asked for the next OID after
> the last thing _in_ their part.

That shouldn't be a problem.
The agent framework is meant to examine the results from calling
each helper, and check that the results are within the registered
range of OIDs.   If not, then these values are discarded, and
control passes to the next registered module.

That's certainly how it's meant to work.

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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