1 # +------------------------------------------------------------------+
2 # | ____ _ _ __ __ _ __ |
3 # | / ___| |__ ___ ___| | __ | \/ | |/ / |
4 # | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
5 # | | |___| | | | __/ (__| < | | | | . \ |
6 # | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
8 # | Copyright Mathias Kettner 2014 mk@mathias-kettner.de |
9 # +------------------------------------------------------------------+
11 # This file is part of Check_MK.
12 # The official homepage is at http://mathias-kettner.de/check_mk.
14 # check_mk is free software; you can redistribute it and/or modify it
15 # under the terms of the GNU General Public License as published by
16 # the Free Software Foundation in version 2. check_mk is distributed
17 # in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
18 # out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 # PARTICULAR PURPOSE. See the GNU General Public License for more de-
20 # tails. You should have received a copy of the GNU General Public
21 # License along with GNU Make; see the file COPYING. If not, write
22 # to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
23 # Boston, MA 02110-1301 USA.
26 ### Configuration examples for the mk_oracle plugin
29 ### set environment for TNS_ADMIN
30 # export TNS_ADMIN=/u00/app/oracle/network/admin
32 ### regular credentials for authentication with several
33 ### options for configuration verbosity
34 # DBUSER='check_mk:myPassword'
35 # DBUSER='check_mk:myPassword:SYSDBA:localhost:1521'
36 # DBUSER='check_mk:myPassword::localhost:1521'
37 # DBUSER='check_mk:myPassword::localhost'
39 ### Credentials for a specific Schema (CMKD)
40 # DBUSER_CMKD='check_mk:myPassword:'
42 ### Credentials for ASM
43 # ASMUSER='asm_user:asmPassword::localhost'
44 # ASMUSER='asm_user:asmPassword:SYSASM:localhost'
46 ### Only get some SIDs
47 # ONLY_SIDS='TES CMKD THIS'
49 ### Excluding a schema partially or completely
50 # EXCLUDE_TES='longactivesessions logswitches'
53 ### Define sections to catch synchroniously or asynchroniously. The first
54 ### example is the default if nothing is specified. Omitted sections will not
55 ### be retrieved. ASM Sections must be specified seperately. The first example
56 ### is also the default.
57 # SYNC_SECTIONS='instance dataguard_stats logswitches longactivesessions performance processes recovery_area recovery_status sessions undostat'
58 # SYNC_SECTIONS='instance dataguard_stats processes sessions'
59 # ASYNC_SECTIONS='jobs locks resumable rman tablespaces ts_quotas'
60 # ASYNC_SECTIONS='tablespaces locks undostat performance'
61 # SYNC_ASM_SECTIONS='instance processes'
62 # SYNC_ASM_SECTIONS='' # retrieve nothing if ASM is not available
63 # ASYNC_ASM_SECTIONS='asm_diskgroup'
65 ### Specifies how long asynchronious retrieved data is valid. The Example
69 ### If the database is not located on the host with the plugin running you
70 ### can still get monitoring information. The data will be piggybacked to a host
71 ### of your choice in check_mk by added the name at the end of the option:
72 # REMOTE_INSTANCE_[ID]='myUser:myPassword:role:host:port:piggybackhost:SID:version'
74 #REMOTE_INSTANCE_1='check_mk:mypassword::myRemoteHost:1521:myOracleHost:MYINST3:11.2'
75 #REMOTE_ORACLE_HOME='/usr/lib/oracle/11.2/client64'
77 #REMOTE_INSTANCE_this='check_mk:mypassword::myRemoteHost:1521::MYINST1:11.2'
78 #REMOTE_ORACLE_HOME='/usr/lib/oracle/11.2/client64'