8 usb-wde1 - Munin plugin to report usb-wde1 temperature and humidity data
11 The plugin offers two modes: temperature and humidity graphing.
13 Symlink usb-wde1_ as "usb-wde1_temperature" and/or "usb-wde1_humidity".
15 =head2 EXAMPLE CONFIGURATION
17 [usb-wde1_temperature]
18 env.logfile /var/log/usb-wde1.log
20 env.sensors 0 1 2 3 4 7
21 env.sensor0 Living room
27 #%# capabilities=autoconf suggest
31 if [ "$1" = "autoconf" ]; then
32 if [ -r "$logfile" ]; then
35 echo "no (Logfile \"$logfile\" does not exist)"
39 elif [ "$1" = "suggest" ]; then
47 TYPE=`basename $0 | sed 's/^.*_//g'`
50 if [ "$1" = "config" ]; then
51 if [ "$host_name" != "" ]; then
52 echo "host_name $host_name"
54 if [ "$TYPE" = "temperature" ]; then
55 echo 'graph_title Temperature'
56 echo 'graph_args --base 1000 --lower-limit -30 --upper-limit 60'
57 echo 'graph_vlabel Temperature'
58 echo 'graph_info Shows the temperature of different thermometers'
60 echo 'graph_title Humidity'
61 echo 'graph_args --base 1000 --lower-limit 0 --upper-limit 100'
62 echo 'graph_vlabel Humidity'
63 echo 'graph_info Shows the air humidity of different thermometers (in %)'
66 echo 'graph_category sensors'
68 #FIXME: warning/critical values