Plugin-Gallery: Get better 2nd level headings

sensors, weather, snmp
This commit is contained in:
dipohl 2017-02-24 17:30:35 +01:00
parent 37d658526b
commit 95de964ec9
24 changed files with 10 additions and 10 deletions

View File

@ -108,7 +108,7 @@ if($stationName eq "") {
# Output for config
if(defined $ARGV[0] && $ARGV[0] eq 'config') {
print "graph_title ".$stationName."\n";
print "graph_category Weather\n";
print "graph_category sensors\n";
if($LAN eq "nl") {
# Dutch Language
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"
." [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";
}
}

View File

@ -34,7 +34,7 @@ then
multigraph $plugin_name
graph_title Temperature in ${CITY}
graph_vlabel Celsius
graph_category weather
graph_category sensors
graph_info This graph show the temperature in ${CITY}
temp_avg.label avg
temp_avg.cdef $KELVIN_BIAS,-
@ -42,7 +42,7 @@ then
multigraph $plugin_name.temp
graph_title Temperature in ${CITY}
graph_vlabel Celsius
graph_category weather
graph_category sensors
graph_info This graph show the temperature in ${CITY}
temp_avg.label avg
temp_avg.cdef $KELVIN_BIAS,-
@ -54,28 +54,28 @@ then
multigraph $plugin_name.humidity
graph_title Humidity in ${CITY}
graph_vlabel %
graph_category weather
graph_category sensors
graph_info This graph show the humidity in ${CITY}
humidity.label humidity
multigraph $plugin_name.pressure
graph_title Pressure in ${CITY}
graph_vlabel hPa
graph_category weather
graph_category sensors
graph_info This graph show the pressure in ${CITY}
pressure.label pressure
multigraph $plugin_name.wind_speed
graph_title Wind Speed in ${CITY}
graph_vlabel m/s
graph_category weather
graph_category sensors
graph_info This graph show the wind speed in ${CITY}
speed.label wind speed
multigraph $plugin_name.wind_direction
graph_title Wind direction in ${CITY}
graph_vlabel m/s
graph_category weather
graph_category sensors
graph_info This graph show the wind direction in ${CITY}
direction.label wind direction
EOF

View File

@ -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_vlabel Pressure in hPa'
print 'graph_category Weather'
print 'graph_category sensors'
print 'pressure.label Pressure'
print 'pressure.type GAUGE'

View File

@ -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_vlabel Temperature and Dew Point in C'
print 'graph_category Weather'
print 'graph_category sensors'
print 'temperature.label Temperature'
print 'dewpoint.label Dew Point'