Home Directory Plugins Databases Oracle plugin to check oracle SID status

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

plugin to check oracle SID status

Current Version
0.1
Last Release Date
2012-12-26
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
License
GPL
Hits
50985
Files:
FileDescription
check_orasid_status.plxcheck_orasid_status
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!
plugin to check oracle SID status
Plugin to check whether Oracle SID is up or down.
This plugin requires one argument that is the Oracle SID name.

This is used with nrpe.

To use this with nrpe:

Add the line in the sudo file:
##########################################################
nagios ALL=(root) NOPASSWD: /bin/su,/usr/bin/perl,/usr/local/nagios/libexec/check_orasid_status.plx
###########################################################

Then in nrpce.cfg add this line:
###################################################
command[check_ORASIDDB_db]=sudo su -l -c '/usr/local/nagios/libexec/check_orasid_status.plx ORASID' orauser
#####################################################

Replace ORASID with the SID name of the DB.

Later add the command check_ORASIDDB_db in the host file in nagios server.
######################################################
define service{
use generic-service
host_name Server02
service_description Production DB status
check_command check_nossl6_nrpe!check_ORASIDDB_db
}
##########################################################