Author | Allan Cano |
---|---|
Compatibility | Xymon 4.3 |
Requirements | Perl, Ksh, Linux/AIX, Oracle |
Download | Google Share |
Last Update | 2015-02-18 |
Fork of xym-oracle which forked from deadcat's bb-moracle.sh. Adapted to xymon server new versions and updated to work in AIX. Also, some bug fixes.
Tested with Oracle 11G R2
ORACLE_HOME=YOUR_ORACLE_HOME; export ORACLE_HOME ORACLE_SIDS=""; export ORACLE_SIDS DB_PASSWORD="YOUR_XYMON_ORACLE_PWD"; export DB_PASSWORD
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.
create user xymon identified by my_passwd default tablespace users; grant connect to xymon; grant alter session, create session, select any table to xymon; grant select on sys.dba_data_files to xymon; grant select on sys.dba_free_space to xymon; grant select on sys.dba_segments to xymon; grant select on sys.v_$backup to xymon; grant select on sys.v_$datafile to xymon; grant select on sys.v_$process to xymon; grant select on sys.v_$session to xymon; grant select on sys.v_$recovery_file_dest to xymon; grant select on sys.v_$sql to xymon; grant select on dba_users to xymon; grant select on dba_objects to xymon;
hostname.domain.com:/path/to/oracle/home
# The oracle client task [oracle] ENVFILE /home/xymon/etc/xymonclient.cfg CMD /home/xymon/ext/chk_oracle.sh LOGFILE /home/xymon/logs/chk_oracle.log INTERVAL 10m
Nothing
There's a link to the extension at the top of the page!
Javier is updating xym-oracle so this may soon be a dead branch.
xym-oracle project at https://sourceforge.net/projects/xymoracle/
This development is under fsf gnu 3.0 licence or better if exists.
More info at http://www.gnu.org/licenses/gpl-3.0.html
Changes compared to xym-oracle:
$XYMONCLIENTHOME/etc/clientlaunch.cfg
/tmp/XYMon/chk_oracle
Useful in debugging