Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / .werks / 6492
blob8d5ff2dec7d994bd935688bc5c6436c00ae2d56c
1 Title: mk_oracle: Add pre- or postfix to TNS alias
2 Level: 1
3 Component: checks
4 Compatible: compat
5 Edition: cre
6 Version: 1.6.0i1
7 Date: 1536577925
8 Class: feature
10 The SIDs are extracted from the process list via "ps -ef".
11 Some of the extracted SIDs may have a pre- or postfix in
12 tnsnames.ora, eg.
13 <br>
14 <code>
15 PRE_SID.POST =
16   (DESCRIPTION =
17     (ADDRESS = (PROTOCOL = TCP)(Host = HOSTNAME)(Port = PORT))
18     (CONNECT_DATA = (SID = SID)(GLOBAL_NAME = SID.POSTFIX))
19   )
20 </code>
21 <br>
23 The pre- or postfix can be configured in mk_oracle.cfg, eg.
24 <br>
25 <code>
26 PREFIX='GLOBAL_PRE_'        # for all SIDs
27 PREFIX_SID='SPECIFIC_PRE_'  # for the specific SID 'SID'
28 </code>
29 <br>
30 The same works for 'POSTFIX'.