Plugin-Gallery: Get better 2nd level headings
sensors, weather, snmp
This commit is contained in:
parent
37d658526b
commit
95de964ec9
|
@ -108,7 +108,7 @@ if($stationName eq "") {
|
||||||
# Output for config
|
# Output for config
|
||||||
if(defined $ARGV[0] && $ARGV[0] eq 'config') {
|
if(defined $ARGV[0] && $ARGV[0] eq 'config') {
|
||||||
print "graph_title ".$stationName."\n";
|
print "graph_title ".$stationName."\n";
|
||||||
print "graph_category Weather\n";
|
print "graph_category sensors\n";
|
||||||
if($LAN eq "nl") {
|
if($LAN eq "nl") {
|
||||||
# Dutch Language
|
# Dutch Language
|
||||||
if($TMP eq "yes") { print "tmp.label Temperatuur (C)\n"; }
|
if($TMP eq "yes") { print "tmp.label Temperatuur (C)\n"; }
|
||||||
|
@ -181,4 +181,4 @@ sub print_stations {
|
||||||
." [6319] Terneuzen (Station Westdorpe) [6248] Hoorn (Station Wijdenes)\n"
|
." [6319] Terneuzen (Station Westdorpe) [6248] Hoorn (Station Wijdenes)\n"
|
||||||
." [6257] Wijk aan Zee (Station Wijk aan Zee) [6340] Woensdrecht (Station Woensdrecht)\n"
|
." [6257] Wijk aan Zee (Station Wijk aan Zee) [6340] Woensdrecht (Station Woensdrecht)\n"
|
||||||
." [6239] Noordzee (Station Zeeplatform F-3) [6252] Noordzee (Station Zeeplatform K13)\n";
|
." [6239] Noordzee (Station Zeeplatform F-3) [6252] Noordzee (Station Zeeplatform K13)\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ then
|
||||||
multigraph $plugin_name
|
multigraph $plugin_name
|
||||||
graph_title Temperature in ${CITY}
|
graph_title Temperature in ${CITY}
|
||||||
graph_vlabel Celsius
|
graph_vlabel Celsius
|
||||||
graph_category weather
|
graph_category sensors
|
||||||
graph_info This graph show the temperature in ${CITY}
|
graph_info This graph show the temperature in ${CITY}
|
||||||
temp_avg.label avg
|
temp_avg.label avg
|
||||||
temp_avg.cdef $KELVIN_BIAS,-
|
temp_avg.cdef $KELVIN_BIAS,-
|
||||||
|
@ -42,7 +42,7 @@ then
|
||||||
multigraph $plugin_name.temp
|
multigraph $plugin_name.temp
|
||||||
graph_title Temperature in ${CITY}
|
graph_title Temperature in ${CITY}
|
||||||
graph_vlabel Celsius
|
graph_vlabel Celsius
|
||||||
graph_category weather
|
graph_category sensors
|
||||||
graph_info This graph show the temperature in ${CITY}
|
graph_info This graph show the temperature in ${CITY}
|
||||||
temp_avg.label avg
|
temp_avg.label avg
|
||||||
temp_avg.cdef $KELVIN_BIAS,-
|
temp_avg.cdef $KELVIN_BIAS,-
|
||||||
|
@ -54,28 +54,28 @@ then
|
||||||
multigraph $plugin_name.humidity
|
multigraph $plugin_name.humidity
|
||||||
graph_title Humidity in ${CITY}
|
graph_title Humidity in ${CITY}
|
||||||
graph_vlabel %
|
graph_vlabel %
|
||||||
graph_category weather
|
graph_category sensors
|
||||||
graph_info This graph show the humidity in ${CITY}
|
graph_info This graph show the humidity in ${CITY}
|
||||||
humidity.label humidity
|
humidity.label humidity
|
||||||
|
|
||||||
multigraph $plugin_name.pressure
|
multigraph $plugin_name.pressure
|
||||||
graph_title Pressure in ${CITY}
|
graph_title Pressure in ${CITY}
|
||||||
graph_vlabel hPa
|
graph_vlabel hPa
|
||||||
graph_category weather
|
graph_category sensors
|
||||||
graph_info This graph show the pressure in ${CITY}
|
graph_info This graph show the pressure in ${CITY}
|
||||||
pressure.label pressure
|
pressure.label pressure
|
||||||
|
|
||||||
multigraph $plugin_name.wind_speed
|
multigraph $plugin_name.wind_speed
|
||||||
graph_title Wind Speed in ${CITY}
|
graph_title Wind Speed in ${CITY}
|
||||||
graph_vlabel m/s
|
graph_vlabel m/s
|
||||||
graph_category weather
|
graph_category sensors
|
||||||
graph_info This graph show the wind speed in ${CITY}
|
graph_info This graph show the wind speed in ${CITY}
|
||||||
speed.label wind speed
|
speed.label wind speed
|
||||||
|
|
||||||
multigraph $plugin_name.wind_direction
|
multigraph $plugin_name.wind_direction
|
||||||
graph_title Wind direction in ${CITY}
|
graph_title Wind direction in ${CITY}
|
||||||
graph_vlabel m/s
|
graph_vlabel m/s
|
||||||
graph_category weather
|
graph_category sensors
|
||||||
graph_info This graph show the wind direction in ${CITY}
|
graph_info This graph show the wind direction in ${CITY}
|
||||||
direction.label wind direction
|
direction.label wind direction
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -32,7 +32,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config":
|
||||||
|
|
||||||
print 'graph_title Atmospheric pressure at code %s' % code
|
print 'graph_title Atmospheric pressure at code %s' % code
|
||||||
print 'graph_vlabel Pressure in hPa'
|
print 'graph_vlabel Pressure in hPa'
|
||||||
print 'graph_category Weather'
|
print 'graph_category sensors'
|
||||||
|
|
||||||
print 'pressure.label Pressure'
|
print 'pressure.label Pressure'
|
||||||
print 'pressure.type GAUGE'
|
print 'pressure.type GAUGE'
|
||||||
|
|
|
@ -32,7 +32,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config":
|
||||||
|
|
||||||
print 'graph_title Temperature and Dew Point at code %s' % code
|
print 'graph_title Temperature and Dew Point at code %s' % code
|
||||||
print 'graph_vlabel Temperature and Dew Point in C'
|
print 'graph_vlabel Temperature and Dew Point in C'
|
||||||
print 'graph_category Weather'
|
print 'graph_category sensors'
|
||||||
|
|
||||||
print 'temperature.label Temperature'
|
print 'temperature.label Temperature'
|
||||||
print 'dewpoint.label Dew Point'
|
print 'dewpoint.label Dew Point'
|
||||||
|
|
Loading…
Reference in New Issue