tag:blogger.com,1999:blog-20612393.post116229446210265942..comments2023-09-29T21:26:11.876+07:00Comments on Surachart Opun's Blog: Script, Auto start opmn on Oracle ASSurachart Opunhttp://www.blogger.com/profile/05646896104906516714noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-20612393.post-17722895624395809842011-05-06T15:05:30.300+07:002011-05-06T15:05:30.300+07:00Its a very good command, as you know ASG component...Its a very good command, as you know ASG component remains down and we will be getting alerts for ASG only...is there any othere to check only for components which we are using ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20612393.post-69510802575397856992009-01-14T01:46:00.000+07:002009-01-14T01:46:00.000+07:00that's great idea.example shell script:#!/bin/...that's great idea.<BR/>example shell script:<BR/>#!/bin/sh<BR/>AS_HOME/opmn/bin/opmnctl status -l |grep Down > /tmp/check<BR/><BR/>if [ `wc -l /tmp/check | awk '{print $1}'` -gt 0 ]<BR/>then<BR/> # send mail for alert<BR/>fi<BR/>exit;Surachart Opunhttps://www.blogger.com/profile/05646896104906516714noreply@blogger.comtag:blogger.com,1999:blog-20612393.post-67664871807338881642009-01-13T23:29:00.000+07:002009-01-13T23:29:00.000+07:00Nice work. I just have a quick question for you. H...Nice work. I just have a quick question for you. Have you tried to customize OPMN to automatically notify or alert you when one of the components being monitored has stopped? I am actually looking for a way to do it and I'm wondering if you have any idea on this? Thanks.Anonymousnoreply@blogger.com