[Debconf-video-commits] r207 - fai-config/scripts/DEBCONF8
holger at alioth.debian.org
holger at alioth.debian.org
Thu Aug 7 14:57:52 UTC 2008
Author: holger
Date: 2008-08-07 14:57:51 +0000 (Thu, 07 Aug 2008)
New Revision: 207
Added:
fai-config/scripts/DEBCONF8/50-smart-munin
Log:
monitor hdd temparature with smart + munin
Added: fai-config/scripts/DEBCONF8/50-smart-munin
===================================================================
--- fai-config/scripts/DEBCONF8/50-smart-munin (rev 0)
+++ fai-config/scripts/DEBCONF8/50-smart-munin 2008-08-07 14:57:51 UTC (rev 207)
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+#
+# (c) 2006, 2008 Holger Levsen holger at layer-acht.org
+# GPL2 licenced
+#
+
+#
+# smart munin plugins
+#
+for i in hda hdb hdc sda sdb sdc sdd sde sdf ; do
+ [ -b /dev/$i ] && ln -sf /usr/share/munin/plugins/smart_ /etc/munin/plugins/smart_$i
+}
+
+$ROOTCMD ln -sf /usr/share/munin/plugins/hddtemp_smartctl /etc/munin/plugins/hddtemp_smartctl
+$ROOTCMD /etc/init.d/munin-node restart
Property changes on: fai-config/scripts/DEBCONF8/50-smart-munin
___________________________________________________________________
Name: svn:executable
+ *
More information about the Debconf-video-commits
mailing list