Oracle

check_has

Description:

Nagios plug-in for Oracle High Availability Services OHAS (11g and above)
It checks:
a) ohas stack status
b) OCR registry integrity
c) resource status (ONLINE/OFFLINE); you can define exceptions with exclude option
d) database instance status – if it is running as configured

Current Version

1.0

Last Release Date

2015-06-09

Compatible With

  • Nagios 3.x
  • Nagios 4.x

License

GPL


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Files
Project Notes
Nagios plug-in for Oracle High Availability Services OHAS (11g and above) It checks: a) ohas stack status b) OCR registry integrity c) resource status (ONLINE/OFFLINE); you can define exceptions with exclude option d) database instance status - if it is running as configured This plug-in needs to be run as clusterware binaries owner (usually oracle). Run 'check_has --help' for full description. Setup: 1. disable 'requiretty' for nrpe-owner in /etc/sudoers Defaults:nagios !requiretty 2. enable sudo for nrpe-owner to run this script nagios ALL=(oracle) NOPASSWD: /usr/lib64/nagios/plugins/check_has 3. edit nrpe.cfg and insert required checks with options: command[check_has_ohasstatus]=sudo -u oracle /usr/lib64/nagios/plugins/check_has --has_home=$CRS_HOME --action=ohasstatus command[check_has_ocrcheck]=sudo -u oracle /usr/lib64/nagios/plugins/check_has --has_home=$CRS_HOME --action=ocrcheck command[check_has_resstatus]=sudo -u oracle /usr/lib64/nagios/plugins/check_has --has_home=$CRS_HOME --action=resstatus --exclude=res1.example,res2.example command[check_has_instancestatus]=sudo -u oracle /usr/lib64/nagios/plugins/check_has --has_home=$CRS_HOME --action=instancestatus Sample output: check_has --has_home=/oracle/gridhome --action=ohasstatus [OK] All OHAS services are up (OHAS version: 11.2.0.4.0) check_has --has_home=/oracle/gridhome --action=ocrcheck [OK] Cluster registry integrity check succeeded - (/u01/app/11.2.0/grid11204/cdata/localhost/local.ocr: succeeded) check_has --has_home=/oracle/gridhome --action=resstatus [OK] All required resources are up check_has --has_home=/oracle/gridhome --action=instancestatus [OK] All required database instances are up
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
7,310