Open raydoom opened 5 months ago
Currently, this isn't possible. The OPNsense team has not made the dashboard values accessible via the API. Refer to https://github.com/opnsense/core/issues/7031.
Although I initially considered creating a plugin for this, I think there are better courses of action than this one, like fixing the dashboard values to be retrieved via an API endpoint. Introducing a plugin to this exporter will be one more dependency just for a few metrics. We don't have the time to argue and present the ideas with the OPNsense team.
I strongly believe their implementation of the dashboard widgets is inconvenient, but I will not blame them or spam them with this. They have more important work. We should also be grateful for their vision and dedication. When they rework the dashboard widgets API, we will introduce these metrics to the exporter.
@raydoom if you are open to having another exporter alongside, node_exporter is available in opnsense repositories and does what you're looking for
Stale issue message
What would you like to be added?
cpu and memory usage
Why is this needed?
cpu and memory usage
Any implementation details that are not related to source code may be included here.
No response