Skip to content
Snippets Groups Projects

Resolve "Surveillance interne des serveur"

Merged Elian Loraux requested to merge 6-monit-update into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -56,7 +56,7 @@ if [ -z "$(dpkg -l | grep ' monit ')" ]; then
apt-get update && apt-get install -y monit
# Monit all partition without swap and boot
list_of_part=(`grep -v "#\|swap\|boot" /etc/fstab | awk '{print $2}'`)
list_of_part=(`grep -v "#\|swap\|noauto" /etc/fstab | awk '{print $2}'`)
echo "" > ./result
for part in "${list_of_part[@]}"
do
Loading