- Edit /etc/munin/plugin-conf.d/munin-node and add the following lines:
- [usb-wde1_*]
- env.logfile /tmp/usb-wde1-last
- env.host_name House
- env.sensors 0 1 7
- env.sensor0 Living room
- env.sensor1 Kitchen
- env.sensor7 Outside
-
-4. Try it:
- $ munin-run usb-wde1_temperature autoconf
- - should echo "yes"
- $ munin-run usb-wde1_temperature config
- - should display the plugin configuration with all environment variables
- set
- $ munin-run usb-wde1_temperature
- $ munin-run usb-wde1_humidity
- - should display the current values from the log file
+ Edit /etc/munin/plugin-conf.d/munin-node and add the following lines::
+
+ [usb-wde1_*]
+ env.logfile /tmp/usb-wde1-last
+ env.host_name House
+ env.sensors 0 1 7
+ env.sensor0 Living room
+ env.sensor1 Kitchen
+ env.sensor7 Outside
+
+4. Try it::
+
+ $ munin-run usb-wde1_temperature autoconf
+
+ should echo "yes"
+ ::
+
+ $ munin-run usb-wde1_temperature config
+
+ should display the plugin configuration with all environment variables set
+ ::
+
+ $ munin-run usb-wde1_temperature
+ $ munin-run usb-wde1_humidity
+
+ should display the current values from the log file