On Fri, 18 Mar 2005 18:26:44 -0500, Robert Story <[EMAIL PROTECTED]> wrote:
> On Fri, 18 Mar 2005 13:18:03 -0600 Mike wrote:
> MK> I'm using version 5.2.1 (the latest release AFAIK).  There are two
> MK> handlers involved in my subagent: the stock integer handler (i.e., the
> MK> one "magically" invoked with netsnmp_register_int_instance()), and a
> MK> custom handler for strings generated by mib2c.  The mib2c script gave
> MK> me the framework and I filled in the details.
> 
> What if you set something else and the integer? Like sysContact.0 + your
> integer? Or can you add another integer handler for testing? Does setting two
> different integers get the same results?

I played around with a few different combinations of variables. 
AFAICT, the warnings appear whenever two or more of the variables
involved in the snmpset are from my private MIB and at least one of
them is a string.  So, setting one of my integers and one of my
strings causes the warning, as does setting one of my strings and
sysContact.0.  But setting sysContact.0 and one of my integers does
not cause the warning.  I have yet to try writing a custom integer
handler.
 
> MK> Do you have any further suggestions given the new information I've
> MK> provided?
> 
> No, but if you are willing to keep helping me track this down, and maybe test 
> a
> patch or two, we might be able to get this fixed for 5.2.2.

I'm happy to do what I can to help.  Please understand that I have
other responsibilities at my job so I won't be able to devote much
time to this.  When I get some free time I could try writing an
integer handler and report the results.

Michael


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to