tag:blogger.com,1999:blog-3785982738552552720.post7997474866442957514..comments2024-02-27T10:11:33.106+04:00Comments on Mahmoud Thoughts: Monitor Unix processes in HP OMMahmoud Ibrahimhttp://www.blogger.com/profile/05129246002184351764noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3785982738552552720.post-74709495565147275312015-07-29T13:48:18.930+04:002015-07-29T13:48:18.930+04:00Hi Mahmoud,
i am woking on weblogic spi with oMW 9...Hi Mahmoud,<br />i am woking on weblogic spi with oMW 9 and agent 11.0.25.<br />Generating failure alerts everyday as The process 'wasspi_perl -S wasspi_wls_files wasspi_perl.log' terminated with a non-zero exit code. (OpC20-432)<br />The process 'wasspi_perl -S wasspi_wls_files Discovery.log' terminated with a non-zero exit code. (OpC20-432)<br />The process 'wasspi_perl -S wasspi_wls_files Collector.log' terminated with a non-zero exit code. (OpC20-432)<br />The process 'wasspi_perl -S wasspi_wls_files wlslog' terminated with a non-zero exit code. (OpC20-432)<br /><br />I checked the script.that wa snot helped out.<br /><br />Could you please help me out.Anonymoushttps://www.blogger.com/profile/08945793703151308497noreply@blogger.comtag:blogger.com,1999:blog-3785982738552552720.post-1444830434713877202014-04-22T18:34:42.837+04:002014-04-22T18:34:42.837+04:00using logfile method, however /tmp/processname is ...using logfile method, however /tmp/processname is not getting updated. I am using OMU9.poojahttps://www.blogger.com/profile/12491829244792218035noreply@blogger.comtag:blogger.com,1999:blog-3785982738552552720.post-25061800139056374082012-03-21T18:22:54.227+04:002012-03-21T18:22:54.227+04:00Thank you for all the help you provide. I use OMW ...Thank you for all the help you provide. I use OMW 8.16 and know very little about linux. I need to monitor a process and alert when it is not running and also when it is running again. Step #2 sounds like a match but what lines to edit in processmonitor.sh has me confused. If were to rename the file to gedit.sh and create a meausure ment threshold policy named geditmt then should the contents read like this?<br />---------gedit.sh--------<br />opcmon=$OVINSTALLDIR/bin/opcmon<br />policy=$geditmt<br />process=$gedit<br />count=$(ps -ef | grep $gedit | grep -v grep | wc -l)<br />$opcmon $geditmt=$count<br /><br />Does this work? Sorry for asking what must seem as a very nube-like question.<br /><br />thanks for reading<br />scott_rAnonymousnoreply@blogger.com