Well i have a script with me(attached) which monitors the response time of each file and sends mail according to its severity
As i am very new to this script it involves mix of korn shell plus html.
Request your guidance on the same.
Presently it sends us through mail, irrespective of all. i.e (pass(green),fail(red),not-available(yellow)..
But now on-wards i need to receive mail only when its fail(red).
I dont want the pass(green) and not-available(yellow).
Please see the attached script and request your guidance on the same in-order to achieve the desired result.