[Nagiosplug-devel] Re: Bug in check_oracle.sh

Paul L. Allen pla at softflare.com
Wed Aug 18 13:21:07 CEST 2004


Ton Voon writes: 

> On 9 Jun 2004, at 16:32, carole verdon wrote:

>> To solve this problem, it is enough to correct the line that calls the 
>> 'ps' command by:
>> pmonchk=`ps -ef | grep -v grep | grep ${2}$ | grep -c pmon`

Yep, that will stop etu923 being confused with etu92.  However, you will
have problems with vetu92.  I would suggest ^${2}$ is a more complete fix. 

-- 
Paul Allen
Softflare Support 






More information about the Devel mailing list