Updated changelogs
[invirt/packages/xvm-munin-config.git] / debian / xvm-munin-host-config.postinst
index f8e86d6..fc2de88 100755 (executable)
@@ -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
     ;;