You can use WLST tool for monitoring your EBS managed servers
Please refer below
If I have answered your question , please mark my answer as Correct/Helpful
But this dont send any alert right?
I want some options like how to send an alert when oacore stops responding to user requests.
WLST command to check status of managed servers -> redirect the status to a file
you can use shell scripts and mailx command to send status of managed servers once it is down
Hope this helps
Thanks for the update.
The problem here is,oacore is not going down.It just stops responding to user requests like when there are stuck threads..etc..etc
For stuck threads, you should write wlst script to trigger an email whenever there are stuck threads and you can also define a threshold of stuck threads( whenever stuck thread count reaches a defined value of 2,3,etc.,).
Below link frmo middleware magic can help you on stuck thread
Also, you can setup alerts using WLS Diagnostics