Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Prometheus Metrics for DPinger stats
« previous
next »
Print
Pages: [
1
]
Author
Topic: Prometheus Metrics for DPinger stats (Read 1493 times)
drivera
Jr. Member
Posts: 80
Karma: 0
Prometheus Metrics for DPinger stats
«
on:
June 29, 2021, 04:01:52 pm »
Hi!
I'm on the verge of deploying a monitoring station using Prometheus and Grafana for my home network - just to keep track of overall health and metrics that I'm interested in seeing. As an aside to that, I'm looking to keep track of my internet circuits' (two of them) health, as measured by
dpinger
: RTT, RTTD, loss %, etc.
However, looking at the Prometheus Exporter, these statistics aren't being tracked. Can these metrics be tracked in any meaningful way for reporting via the Prometheus Exporter? Can y'all think of any hints about what the best way to go about that might be?
Thanks!
Logged
drivera
Jr. Member
Posts: 80
Karma: 0
Re: Prometheus Metrics for DPinger stats
«
Reply #1 on:
June 29, 2021, 04:04:52 pm »
I take that back - those metrics are indeed tracked for health reporting, but now I'd have to mine them for the Prometheus exporter ... at least I now know where to look!
As you were
Logged
franco
Administrator
Hero Member
Posts: 16061
Karma: 1420
Re: Prometheus Metrics for DPinger stats
«
Reply #2 on:
June 29, 2021, 04:06:49 pm »
Basically this:
https://github.com/opnsense/core/blob/656c5ada7eb43f52774bd6c256f414f329732eff/src/etc/inc/rrd.inc#L534
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Prometheus Metrics for DPinger stats