munin-monitoring / contrib

Contributed stuff for munin (plugins, tools, etc...)

Home Page:http://munin-monitoring.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: 'gnssid'

phipac opened this issue · comments

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'