aboutsummaryrefslogtreecommitdiff
path: root/munin/plugins/hddtemp-simple
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 23:33:50 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 23:33:50 +0000
commit4c047569a7fb213df74643e7e92d8b82be8f25c8 (patch)
tree86d2886ceea65b7c5f3740172c9b77e4b4ad9bcf /munin/plugins/hddtemp-simple
parent36dfae9b5a58be5a5ad46c4741c0565eebc352d5 (diff)
downloadslackbuilds-4c047569a7fb213df74643e7e92d8b82be8f25c8.tar.gz
slackbuilds-4c047569a7fb213df74643e7e92d8b82be8f25c8.tar.bz2
movendo...
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@684 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'munin/plugins/hddtemp-simple')
-rw-r--r--munin/plugins/hddtemp-simple31
1 files changed, 0 insertions, 31 deletions
diff --git a/munin/plugins/hddtemp-simple b/munin/plugins/hddtemp-simple
deleted file mode 100644
index bc13e013..00000000
--- a/munin/plugins/hddtemp-simple
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-#
-# hddtemp munin plugin
-# feedback: rhatto at riseup.net | gpl
-#
-# configuration example:
-#
-# [hddtemp]
-# user root
-# env.devices hda hdb
-# env.hddtemp /path/to/hddtemp
-#
-
-if [ "$1" == "config" ]; then
- cat << EOF
-graph_title HDD Temperatures
-graph_vlabel Celsius
-graph_category sensors
-EOF
- for dev in $devices; do
- echo $dev.label $dev
- done
- exit 0
-else
- if [ -z "$hddtemp" ]; then
- hddtemp="/usr/sbin/hddtemp"
- fi
- for device in $devices; do
- echo $device.value `$hddtemp -n /dev/$device`
- done
-fi