HI Pal,
This is the script which used to monitor the keyword and its working perfectly.
The below screen shot showing the component monitor for the server. Its turns red whenever the key words detected. No issue as well up to this stage.
Below are the Alert settings.
Below is the Trigger action when when the alert detected in log, the alarm will be send over to email. but when happen for the second time it wont be send out.
i guess something we need to specify here to ensure the sub-sequence alert also being send to email as the first one.