Email alert on disk space outage in linux
For Send mail Tutorial Click Here Need to be installed sendmail ( yum install sendmail) and mailx (yum install mailx) Create a shell script in linux. vi diskalert.sh #!/bin/sh support=”itsupport@xyz.com” # set alert level 90% is default ALERT=90 df -HP | grep -vE ‘^Filesystem|tmpfs|cdrom’ | while read partition size used free perc mnt ; … Read more