On 17 March 2011 14:15, Dave Shield <d.t.shi...@liverpool.ac.uk> wrote:
> If the problem is confined to this one table, then I'd suspect that it's a bug
> in the code that implements this particular table.   We'd really have to see
> this code in order to make any suggestions.


I've just spotted the previous messages you posted, where you list the
code for the handler.   In terms of the agent crashing when you request
a non-existant column object,   my suspicion is that the
'netsnmp_extract_table_info'
call is returning NULL for this varbind,  so attempting to dereference
'table_info->colnum' is failing.
    It would probably be worth checking this value for NULL, before continuing
with the switch statement.


As for the missing values for individual columns,  I can't immediately
spot anything wrong.   It might be worth posting the full code for this
module (rather than just the handler), so we can try to reproduce the problem.
Another possibility would be to try with a more recent release than 5.3.3
I'm not _aware_ of any fixes since then that might be relevant,  but it's
certainly not impossible.   At the very least, it's worth determining whether
the same behaviour is present with 5.6.1 and/or 5.5.1


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