monitors:chk_oracle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
monitors:chk_oracle [2015/02/26 13:16] – [Changelog] aecanomonitors:chk_oracle [2015/02/26 14:37] – [Installation] aecano
Line 1: Line 1:
-====== My Monitor (CHANGEME) ======+====== CHK_ORACLE ======
  
 ^ Author | [[ aecano@gmail.com | Allan Cano ]] | ^ Author | [[ aecano@gmail.com | Allan Cano ]] |
Line 16: Line 16:
 === Client side === === Client side ===
  
-  Edit the parameters in chk_oracle.def with your oracle's settings:<code>+  Edit the parameters in chk_oracle.def with your oracle's settings:<code>
 ORACLE_HOME=YOUR_ORACLE_HOME; export ORACLE_HOME ORACLE_HOME=YOUR_ORACLE_HOME; export ORACLE_HOME
 ORACLE_SIDS=""; export ORACLE_SIDS ORACLE_SIDS=""; export ORACLE_SIDS
 DB_PASSWORD="YOUR_XYMON_ORACLE_PWD"; export DB_PASSWORD DB_PASSWORD="YOUR_XYMON_ORACLE_PWD"; export DB_PASSWORD
-</code> +</code> \\ Set ORACLE_SIDS to your oracle sid or space delimited list of sids. \\ If left blank it will default to the sids in your oratab file. 
-Set ORACLE_SIDS to your oracle sid or space delimited list of sids. +  Run the chk_oracle.setup script as an oracle dba account to create an oracle user for xymon monitoring:<code>
-If left blank it will default to the sids in your oratab file. +
-  Run the chk_oracle.setup script as an oracle dba account to create an oracle user for xymon monitoring:<code>+
 create user xymon identified by my_passwd default tablespace users; create user xymon identified by my_passwd default tablespace users;
 grant connect to xymon; grant connect to xymon;
Line 39: Line 37:
 grant select on dba_objects to xymon; grant select on dba_objects to xymon;
 </code> </code>
-  Add servers to be monitored to chk_oracle.servers<code>+  Add servers to be monitored to chk_oracle.servers<code>
 hostname.domain.com:/path/to/oracle/home hostname.domain.com:/path/to/oracle/home
 </code> </code>
-  You can simply run chk_oracle.sh and if the hostname is in the servers file the script will update the clientlaunch.cfg file with the following:<code>+  You can simply run chk_oracle.sh and if the hostname is in the servers file the script will update the clientlaunch.cfg file with the following:<code>
 # The oracle client task # The oracle client task
 [oracle] [oracle]
Line 52: Line 50:
  
 === Server side === === Server side ===
 +
 Nothing Nothing
  
  • monitors/chk_oracle.txt
  • Last modified: 2015/02/26 14:42
  • by aecano