mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
[wunderground_] loan from other graphs in root
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
parent
f018bada38
commit
e612fbbd46
1 changed files with 3 additions and 7 deletions
|
@ -43,7 +43,7 @@ of the plugin.
|
||||||
|
|
||||||
Olivier Mehani
|
Olivier Mehani
|
||||||
|
|
||||||
Copyright (C) 2020 Olivier Mehani <shtrom+munin@ssji.net>
|
Copyright (C) 2020--2021 Olivier Mehani <shtrom+munin@ssji.net>
|
||||||
|
|
||||||
=head1 LICENSE
|
=head1 LICENSE
|
||||||
|
|
||||||
|
@ -133,9 +133,10 @@ graph_title Weather in \(.neighborhood)
|
||||||
graph_info Weather ${STATION_INFO}
|
graph_info Weather ${STATION_INFO}
|
||||||
graph_category weather
|
graph_category weather
|
||||||
graph_vlabel Temperature / UV Index / Precipitation
|
graph_vlabel Temperature / UV Index / Precipitation
|
||||||
|
graph_order temp=temperature.temp windChill=temp.windChill heatIndex=temp.heatIndex uv=uv_index.uv precipRate=precipitation.precipRate
|
||||||
temp.label Temperature [${TEMP_UNIT}]
|
temp.label Temperature [${TEMP_UNIT}]
|
||||||
windChill.label Wind chill [${TEMP_UNIT}]
|
windChill.label Wind chill [${TEMP_UNIT}]
|
||||||
heatIndex.label Heat index [$TEMP_UNIT]
|
heatIndex.label Heat index [${TEMP_UNIT}]
|
||||||
uv.label UV index
|
uv.label UV index
|
||||||
precipRate.draw AREA
|
precipRate.draw AREA
|
||||||
precipRate.label Precipitation rate [${PRECIPITATION_UNIT} per hour]
|
precipRate.label Precipitation rate [${PRECIPITATION_UNIT} per hour]
|
||||||
|
@ -299,11 +300,6 @@ get_data() {
|
||||||
fetch "${API_URL}" | jq -r ".observations[0]
|
fetch "${API_URL}" | jq -r ".observations[0]
|
||||||
| @text \"
|
| @text \"
|
||||||
multigraph wunderground_${STATION_ID}
|
multigraph wunderground_${STATION_ID}
|
||||||
temp.value \(.${UNITS}.temp)
|
|
||||||
windChill.value \(.${UNITS}.windChill)
|
|
||||||
heatIndex.value \(.${UNITS}.heatIndex)
|
|
||||||
uv.value \(.uv)
|
|
||||||
precipRate.value \(.${UNITS}.precipRate)
|
|
||||||
|
|
||||||
multigraph wunderground_${STATION_ID}.air_humidity
|
multigraph wunderground_${STATION_ID}.air_humidity
|
||||||
humidity.value \(.humidity)
|
humidity.value \(.humidity)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue