Page 1 of 1

check_oracle - please movee a "$" sign

Posted: Tue Jun 19, 2012 9:22 am
by jbieganowski
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

Re: check_oracle - please movee a "$" sign

Posted: Tue Jun 19, 2012 9:51 am
by agriffin
Posting this here will likely have no effect whatsoever. You should contact the plugin developer instead, who is likely not affiliated with the Nagios project. The author's contact information can usually be found in the plugin's source code or on its page on Nagios Exchange.

Re: check_oracle - please movee a "$" sign

Posted: Tue Jun 19, 2012 10:49 am
by jbieganowski
I think, it's a little bit complicated. This plugin was written 12 years ago...
Never mind. I though, that any developers are readin' this forum sometimes :)
Regards

Jacek Bieganowski