munin-monitoring / contrib

Contributed stuff for munin (plugins, tools, etc...)
http://munin-monitoring.org
1.05k stars 678 forks source link

KeyError: 'gnssid' #1349

Open phipac opened 1 year ago

phipac commented 1 year ago

Good day! Running the gpsd_ script on my Raspberry Pi (which hosts the gpsd server) give the following output:

$ sudo munin-run gpsd_localhost multigraph gps_time_offset toff.value 0.0000019150 multigraph gps_error_estimate epc.value 19.09 epd.value U eph.value U eps.value 5.05 ept.value 0.005 epx.value 2.507 epy.value 2.526 epv.value 9.545 multigraph gps_satellites Traceback (most recent call last): File "/etc/munin/plugins/gpsd_localhost", line 310, in for x in result["satellites"] File "/etc/munin/plugins/gpsd_localhost", line 311, in if x["gnssid"] == constellation["gnssid"] and x["used"] KeyError: 'gnssid'