[Nagiosplug-devel] Check_oracle

Khan, Ali AKhan2 at ifdsgroup.co.uk
Tue Mar 21 12:30:05 CET 2006


$ ./check_oracle --version
1.14 (nagios-plugins 1.4.2) 
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

--db)
    pmonchk=`ps -ef | grep -v grep | grep -c "ora_pmon_${2}$"`

The above line has an extra '$' at the end, please change it to

--db)
    pmonchk=`ps -ef | grep -v grep | grep -c "ora_pmon_${2}"`

The database is reported as down even though it is up as the oracle sid cannot be resolved due to the trailing $

Thanks!
Ali






INTERNATIONAL FINANCIAL DATA SERVICES (UK) LTD Tel: +44 1268 44 3000
********************** N O T I C E *********************************

This message and any attachments is intended only for the individual or company to which it is addressed and may contain
information which is privileged, confidential or prohibited from disclosure or unauthorised use. If the recipient of this
transmission is not the intended recipient, or the employee or agent responsible for delivering such materials to the
intended recipient, you are hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, 
modification, distribution and/or publication of this e-mail message or its attachments other than by it's intended
recipient is strictly prohibited by the sender. If you have received it in error, please notify us immediately by 
telephone on the number above and destroy the message and all copies in your possession.

International Financial Data Services (UK) Ltd is authorised and regulated by the Financial Services Authority.

This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.

**********************************************************************





More information about the Devel mailing list