check_oracle - please movee a "$" sign
Posted: Tue Jun 19, 2012 9:22 am
Hi,
To nagios plugins developers. I think, you should check, and change a check_oracle plugin. I thing 'bout one sign - second "$" in line:
pmonchk=`ps -ef | grep -v grep | grep -c "ora_pmon_${2}$"`
Usually it's not a problem, buth under AiX sometimes pmonchk returns 0, but it should be 1. Last $ sign is not necessary. After removin' it, check_oracle works fine. I didn't see this problem under HP-UXs, (like) RHEL.
Best Regards
Jacek Bieganowski
To nagios plugins developers. I think, you should check, and change a check_oracle plugin. I thing 'bout one sign - second "$" in line:
pmonchk=`ps -ef | grep -v grep | grep -c "ora_pmon_${2}$"`
Usually it's not a problem, buth under AiX sometimes pmonchk returns 0, but it should be 1. Last $ sign is not necessary. After removin' it, check_oracle works fine. I didn't see this problem under HP-UXs, (like) RHEL.
Best Regards
Jacek Bieganowski