With this plugin, you can perform various checks agains an Oracle database without the need of installing the oracle client software: you only need to download the appropriate JDBC driver from the oracle site (a jar file) and put it in the same directory as this plugin (if you prefer, you can put such jar inside the lib/ext directory of your JRE installation).
Follows the list of checks this plugin supports:
Supported parameters are
The following example, shows how to check that an Oracle database is alive.
<command name="check_oracle_alive" plugin_name="CHECK_ORACLE"> <arg name="alive" /> <arg name="username" value="$ARG1$" /> <arg name="password" value="$ARG2$" /> <arg name="db" value="$ARG3$" /> <arg name="server" value="$ARG4$" /> </command>
check_oracle_alive : CHECK_ORACLE --alive --username $ARG1$ --password $ARG2$ --db $ARG3$ --server $ARG4$
With the following invocation example we want to monitor that the DATABASE with SID 'TESTSID' on the server 'DB_ADDRESS' is up and running. To perform the check we use the user SCOTT with password TIGER.
check_nrpe -n -H my.jnrpe.server -c check_oracle_alive -a SCOTT TIGER TESTSID DB_ADDRESS