On 21 March 2011 13:43,  <normanrae...@gmx.de> wrote:
> Thanks for your fast answer.
>
> I attach all source files and the whole MIB-file.

OK - I've spotted two significant problems with the module_param_table code:

  -  several of the objects attempt to set 'requests->requestvb'
           (i.e. the first varbind in the list) rather than 'request->requestvb'
      This doesn't matter for the first (or only) varbind in a request,
       but will leave the affected varbinds unset if they occur as the second
       (or subsequent) varbind in the list.

  -  The final 'break' at the end of the "for (request=requests;...)" loop
       is invoked automatically - regardless of whatever else happens
in the loop.
      This means that the second and subsequent varbinds are never actually
      processed at all.

Fixing these two problems seems to get the module working correctly.




> How it is possible to reference to other table indexes and the specific OID?

I'm not quite sure what you mean by this

Dave

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
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