From 7a7f9d206dcbd372f52b5d4057d6b913d71a367d Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Sat, 14 Mar 2009 03:06:21 -0400 Subject: [PATCH] Remove smart monitoring for Equallogic RAID devices svn path=/trunk/packages/xvm-munin-config/; revision=2247 --- debian/changelog | 6 ++++++ debian/xvm-munin-host-config.postinst | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/debian/changelog b/debian/changelog index 8deed5a..421aa5e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +xvm-munin-config (0.0.7) unstable; urgency=low + + * Remove smart monitoring for Equallogic RAID devices + + -- Quentin Smith Sat, 14 Mar 2009 03:06:05 -0400 + xvm-munin-config (0.0.6) unstable; urgency=low * Add Provides and Conflicts lines to debian/control for diff --git a/debian/xvm-munin-host-config.postinst b/debian/xvm-munin-host-config.postinst index f8e86d6..1f64371 100755 --- a/debian/xvm-munin-host-config.postinst +++ b/debian/xvm-munin-host-config.postinst @@ -36,6 +36,13 @@ EOF # Install munin plugins that are now configured munin-node-configure --suggest --shell | sh + + (cd /etc/munin/plugins; + for i in smart_*; do + if smartctl -i /dev/${i#smart_} | grep Device | grep EQLOGIC; then + rm -v $i; + fi + done) invoke-rc.d munin-node restart ;; -- 1.7.9.5