exometer
exometer copied to clipboard
SNMP support for exometer_function
the current version of exometer_report_snmp.erl
can not deal with exometer_function
entries. It will run into
{error, {function_not_exported,
{snmp_bin, 1}}}
when calling modify_mib.
Is there a simple workaround besides specifying my own function entry module?
The issue with exometer_function
is that they can return arbitrary values, thus one can't really map that to a particular SNMP structure. I think the easiest way forward for you would be to specify a custom module.
@uwiger Any idea how to generalize this?
I thought a bit about that, but am not sure I've arrived at a great solution.
I considered adding an option, {snmp_syntax, binary()}
when creating the metric. This could then be used by the exometer_report_snmp:create_bin/3
function. It certainly would be easy enough to implement.
how is it going with this issue.. is there any way I can help with this?
I had something in the works for this, will resurrect it.