Projet

Général

Profil

Révision 38f3a429

ID38f3a4297e6f03e9957d4895ba963cb819e9eab3
Parent 8061bfcf
Enfant 3c20ac15

Ajouté par Olivier Mehani il y a presque 4 ans

[wunderground_] Fix windChil and heatIndex in root graph

The data was incorrectly loaned from a `temp` subgraph, which should
have been `temperature`.

This led to errors during munin-graph, as follow

[ERROR] Failed to find windChill source at temp.windChill, skipping field
[ERROR] Failed to find heatIndex source at temp.heatIndex, skipping field
[PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Munin/Master/Utils.pm line 1149, <GEN1> line 1728.
[ERROR] filename is empty for $VAR1 = {
'#%#name' => 'windChill',
'graph_data_size' => 'normal',
'label' => 'Wind chill [°C]',
'update_rate' => '300'
};
, temp.windChill
[PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Munin/Master/Utils.pm line 1149, <GEN1> line 1728.
[ERROR] filename is empty for $VAR1 = {
'#%#name' => 'heatIndex',
'graph_data_size' => 'normal',
'label' => 'Heat index [°C]',
'update_rate' => '300'
};
, temp.heatIndex

Signed-off-by: Olivier Mehani <>

Voir les différences:

plugins/weather/wunderground_
137 137
graph_info Weather ${STATION_INFO}
138 138
graph_category weather
139 139
graph_vlabel Temperature / UV Index / Precipitation
140
graph_order temp=temperature.temp windChill=temp.windChill heatIndex=temp.heatIndex uv=uv_index.uv precipRate=precipitation.precipRate
140
graph_order temp=temperature.temp windChill=temperature.windChill heatIndex=temperature.heatIndex uv=uv_index.uv precipRate=precipitation.precipRate
141 141
temp.label Temperature [${TEMP_UNIT}]
142 142
windChill.label Wind chill [${TEMP_UNIT}]
143 143
heatIndex.label Heat index [${TEMP_UNIT}]

Formats disponibles : Unified diff