This discussion is archived
4 Replies Latest reply: Dec 10, 2012 3:37 AM by Roshni Shankar RSS

How to extend notification method to os command in OEM

Roshni Shankar Newbie
Currently Being Moderated
Hi All,

I am using OEM 12c R1 and want to use an os command as notification method. I wrote a shell script and placed the script on the machine where I have installed OEM. Now I provided the script with its absolute path in the text field of os command and tried creating a new notification method however while testing I got the following error

"Test failed: Error calling /<source_folder>/alertlog.sh: Cannot run program "/<source_folder>/alertlog.sh": java.io.IOException: error=2, No such file or directory (<host_name>:<port>_Management_Service)"

Can anyone please tell me where I should keep the os script to get read and run by oms? or what could be the correct steps of extending nitification methos as os command?

Thanks in Advance!!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points