Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Plugin to check whether Oracle SID is up or down.
Current Version
0.1
Last Release Date
2012-12-26
Owner
priyadarshee
Website
https://github.com/divyaimca/Nagios-Plugins/blob/master/check_orasid_status.plx
Download URL
https://raw.github.com/divyaimca/Nagios-Plugins/master/check_orasid_status.plx
License
GPL
Compatible With
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 } ##########################################################
You must be logged in to submit a review.
To:
From: