Skip to content
Snippets Groups Projects
Verified Commit 3bba35ac authored by David Beniamine's avatar David Beniamine
Browse files

Fix typo

parent 07a2a57c
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ echo "" > ./$$-parts
for part in "${list_of_part[@]}"
do
name=$(echo $part | sed -e 's@^/$@root@' -e 's@^/@@')
echo -e "check device $name with path $part\n if SPACE usage > ${MEM_OVERLOAD_PERCENT:-75}% then alert\n\n" >> ./$$-parts
echo -e "check device $name with path $part\n if SPACE usage > ${DISC_OVERLOAD_PERCENT:-75}% then alert\n\n" >> ./$$-parts
done
mv ./$$-parts /etc/monit/conf-available/disc
ln -s /etc/monit/conf-available/disc /etc/monit/conf-enabled/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment