check_oracle - please movee a "$" sign

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jbieganowski
Posts: 2
Joined: Tue Jun 19, 2012 9:09 am

check_oracle - please movee a "$" sign

Post 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
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: check_oracle - please movee a "$" sign

Post 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.
jbieganowski
Posts: 2
Joined: Tue Jun 19, 2012 9:09 am

Re: check_oracle - please movee a "$" sign

Post 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
Locked