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

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
46046
Files:
FileDescription
check_orasid_status.plxcheck_orasid_status
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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
}
##########################################################