Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This check_oracle plugin is the same as check_oracle embbeded in Nagios Plugins Package (v1.4.14), BUT THIS ONE IS CAPPABLE TO MONITOR TEMP TABLESPACES TOO.
Current Version
Last Release Date
June 7, 2010
Owner
Eduardo Valentim
Compatible With
Plugin
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.
Usage: check_oracle --tns <Oracle Sid or Hostname/IP address> check_oracle --db <ORACLE_SID> check_oracle --login <ORACLE_SID> check_oracle --cache <ORACLE_SID> <USER> <PASS> <CRITICAL> <WARNING> check_oracle --tablespace <ORACLE_SID> <USER> <PASS> <TABLESPACE> <CRITICAL> <WARNING> check_oracle --oranames <Hostname> check_oracle --help check_oracle --version
Check Oracle status
--tns SID/IP Address Check remote TNS server --db SID Check local database (search /bin/ps for PMON process) and check filesystem for sgadefORACLE_SID.dbf --login SID Attempt a dummy login and alert if not ORA-01017: invalid username/password --cache Check local database for library and buffer cache hit ratios ---> Requires Oracle user/password and SID specified. ---> Requires select on v_$sysstat and v_$librarycache --tablespace Check local database for tablespace capacity in ORACLE_SID ---> Requires Oracle user/password specified. ---> Requires select on dba_data_files,dba_tablespaces,dba_free_space and V_$temp_space_header (Updated by Eduardo Valentim) --oranames Hostname Check remote Oracle Names server --help Print this help screen --version Print version and license information
If the plugin doesn't work, check that the ORACLE_HOME environment variable is set, that ORACLE_HOME/bin is in your PATH, and the tnsnames.ora file is locatable and is properly configured.
When checking local database status your ORACLE_SID is case sensitive.
If you want to use a default Oracle home, add in your oratab file: *:/opt/app/oracle/product/7.3.4:N
***** UPDATE - 06/07/2010 - This script now read temporary tablespaces information. Updated by Eduardo Valentim. *****
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!