Hi,
I have a working Librenms with Grafana and InfluxDB integration enabled.
Is there any option to get or set in Grafana metrics of different Custom OID ?I can see in Grafana values from Custom OID of a device, but don’t see or select the other Custom OID configured in device
Hello. It doesn’t look like it currently so I’ve submitted the following PR.
librenms:master
← slashdoom:customoid_tags
opened 09:15PM - 28 Aug 23 UTC
Please give a short description what your pull request is for
Include descr a… nd unit in tags for customoid data for better usability in external metric storage.
[https://community.librenms.org/t/custom-oid-in-grafana-cant-select-different-custom-oid-configured/22160](https://community.librenms.org/t/custom-oid-in-grafana-cant-select-different-custom-oid-configured/22160)
DO NOT DELETE THE UNDERLYING TEXT
#### Please note
> Please read this information carefully. You can run `./lnms dev:check` to check your code before submitting.
- [x] Have you followed our [code guidelines?](https://docs.librenms.org/Developing/Code-Guidelines/)
- [x] If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
- [x] If my Pull Request makes discovery/polling/yaml changes, I have added/updated [test data](https://docs.librenms.org/Developing/os/Test-Units/).
#### Testers
If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 15260`
After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.
Feel free to test as described by the PR and provide feedback. It should let you WHERE filter or GROUP BY the customoid’s description or unit.
1 Like