Float must be implemented as ASN_OPAQUE_FLOAT,
Status: Beta
Brought to you by:
phalaaxx
Calling axd.RegisterVar() with a float variable yields "Internal error in type switching" errors, stemming from libnetsnmp's snmp_set_var_value() function, This comes from the default: code block there, which triggers because in python-agentx's RequestObject.SetValue() method ASN_APP_FLOAT is used as otype. Instead, ASN_OPAQUE_FLOAT must be used. Attached patch fixes this.
Patch to make python-agentx use ASN_OPAQUE_FLOAT for float datatypes