Commit 08b5e71
authored
Raise satellites/satellites_used RRD max from 40 to 200 for gpsd (librenms#19655)
Modern multi-constellation GNSS receivers (GPS+GLONASS+Galileo+BeiDou,
sometimes also QZSS/NavIC) routinely report 70-80+ satellites visible
and 60+ used in fix, far exceeding the existing RRD GAUGE max of 40.
When the polled value exceeds the DS max, RRD records "Unknown" - which
graphs as 0 - even though the application is correctly returning the
real value. Visible-satellites graphs flat-line at 0 on otherwise healthy
multi-constellation feeds (e.g. Quectel LC29H + gpsd 3.25, reporting
77-79 visible / 64-68 used).
Raise both DS maxima to 200, which gives headroom for any conceivable
constellation count today (current theoretical maximum across all GNSS
is ~140 satellites) and any near-term expansion.
Tested on gpsd 3.25 + Quectel LC29H multi-constellation GNSS HAT on
Debian 13 Trixie: with max=40, `rrdtool lastupdate` showed `satellites=0`
for an extend output of `79`; after `rrdtool tune --maximum
satellites:200`, the same poll cycle records `satellites=79`
correctly.1 parent 7bd424e commit 08b5e71
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
| 153 | + | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments