What is not working ie. what is the error output?
Is this written for a df -k on your Linux box?
Some Unix'es/Linux'es have different positions for their Used%.
Please tell exactly what the problem is - do you get garbled output? Maybe comment out the line where it is sent as mail and redirect to a file or check your output on the screen.
And also which mount point are you interested in monitoring..
---------- Post updated at 04:44 AM ---------- Previous update was at 04:36 AM ----------
Your script says no Mount point is above 90% .. if you need a mail to check ... change the 90% in your script to 1% or less ... You will get a alert email ...