Hello
In my t1.txt log file I have such lines
 
T1 1/1 is up.
Applique type is Channelized T1
Cablelength is short 133
No alarms detected.
 
Now if it is possible with a shell script I would like to check the following.
If the first line get's value T1 1/1 is down, to have a mail message whit a subject T1 is down, and when the T1 gets UP, to have a mail message whit a subject T1 is up.
 
If anyone can help me with this script ?
 
Thanks a lot in advance.
 

Reply via email to