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

Convert string output from SNMP to float in Meinberg Syncbox agent #844

Open
BrianJKoopman opened this issue Mar 21, 2025 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@BrianJKoopman
Copy link
Member

Some of the output from the Syncbox SNMP interface is provided as strings, for instance the mean path delay, which is reported as "5.111 us". This is inconvenient as it's not easily plotted in Grafana. It'd be better to convert this within the agent before publishing to the OCS feed so that we get floats within InfluxDB/Grafana.

We can't mix types in InfluxDB, so we won't be able to use the same field name we're using without re-writing all of what's currently in InfluxDB. Doing that might be the cleanest solution for users who want to plot this, since if we change the field name, both will still persist within the database.

I suspect the units might change in this string output depending on the magnitude of the offset, so some care will be needed in the conversion.

@BrianJKoopman BrianJKoopman added the enhancement New feature or request label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants