Yes, I�m talking about disabling an instance of the column.

I have tested it with returning the eror code 'SNMP_ERR_NOSUCHNAME' in the
_get_value function for that column and one specific instance.
The function 'snmp_set_var_typed_value' is not called then.
It doesn�t work, because a walk through the whole table stops now there (
but without an error message). Normally the walk should go further to the
next valid colum/instance in that table.
If I return SNMP_NOSUCHINSTANCENAME the walk stops there with error 129.

Dirk

-----Urspr�ngliche Nachricht-----
Von: Dave Shield [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 10. August 2004 13:30
An: Froese Dirk
Cc: NET-SNMP-USERS (E-Mail)
Betreff: Re: question about valid table columns 


>                                 Also the disabling of the column
> should be dynamically; this means, dependent on other variables in this
> table  the column is enabled (valid) or not.

So you're talking about disabling an *instance* of the column,
rather than marking the whole column as invalid - yes?

> Any possibilities for handle this ?

Have you tried simply returning a "noSuchInstance" exception?
I haven't got as far as working with the array-user helper yet,
but the upper-level table helper should detect this and mark such
a GetNext request as needing to be retried.

Dave


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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

Reply via email to