1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-31 05:13:45 +00:00

Leftover from migration

This commit is contained in:
Various 2011-12-18 15:11:52 +01:00 committed by Steve Schnepp
parent b6fb15597c
commit 51ee702d81
10 changed files with 635 additions and 41 deletions

View file

@ -1,11 +1,11 @@
#!/bin/bash
# Written by Lars Falk-Petersen, cleware@falk-petersen.no
# Version 0.2. To be used with http://www.vanheusden.com/clewarecontrol/
# Version 0.3. To be used with http://www.vanheusden.com/clewarecontrol/
# Clewarecontrol device serial must be set in config file:
# #Put the following lines in /etc/munin/plugin-conf.d/cleware
# [cleware]
# [cleware*]
# #device serial. find it by running: clewarecontrol -l
# env.serial 7778
# #path of clewarecontrol
@ -32,11 +32,11 @@ if [ ! $serial ]; then
exit 1
fi
$bin -ag > /dev/null 2>&1
$bin -c 1 -ag > /dev/null 2>&1
echo -n "temp.value "
$bin -d $serial -b -rt
$bin -d $serial -b -c 1 -rt
echo -n "hum.value "
$bin -d $serial -b -rh
$bin -d $serial -b -c 1 -rh