Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNMP support for exometer_function #100

Open
dergraf opened this issue Oct 17, 2014 · 4 comments
Open

SNMP support for exometer_function #100

dergraf opened this issue Oct 17, 2014 · 4 comments
Assignees

Comments

@dergraf
Copy link

dergraf commented Oct 17, 2014

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?

@tolbrino
Copy link
Contributor

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?

@uwiger
Copy link
Member

uwiger commented Oct 20, 2014

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.

@dergraf
Copy link
Author

dergraf commented Nov 5, 2014

how is it going with this issue.. is there any way I can help with this?

@tolbrino tolbrino self-assigned this Apr 1, 2015
@tolbrino
Copy link
Contributor

tolbrino commented Apr 1, 2015

I had something in the works for this, will resurrect it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants