Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
plugin to check oracle SID status
0.1
2012-12-26
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
GPL
50952
File | Description |
---|---|
check_orasid_status.plx | check_orasid_status |
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!
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
}
##########################################################
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
}
##########################################################
Reviews (0)
Be the first to review this listing!