-
Notifications
You must be signed in to change notification settings - Fork 0
/
mon.ini.dbs
235 lines (198 loc) · 4.34 KB
/
mon.ini.dbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
[servers]
host=srv-axdb1-mrg
host=srv-axdb2-mrg
host=db-gold-dca
host=dcb-retail-db
host=dca-stock-db
host=dcb-stock-db
host=srv-olapwhs01-dca
host=srv-olapwhs01-dcb
#host=z14-1847
#host=z14-0473-novre
host=mp
host=mp2
host=md
host=mu
host=askona04
host=dca-label-db
host=dcb-label-db
host=dca-egais-db
host=dcb-egais-db
host=srv-vetdb-dca
host=srv-vetdb-dcb
[dca-egais-db]
db=egais
[dcb-egais-db]
db=egais
[dca-label-db]
db=lbl
[dcb-label-db]
db=lbl
[mp]
db=mprd
[mp2]
db=mprd
[md]
db=mdev
[mu]
db=muat
[askona04]
db=askona
[z14-0473-novre]
db=RZ_NOVT1
[z14-1847]
db=OMS_MURT
[db-gold-dca]
db=GOLD506
[dcb-retail-db]
db=GOLD506
[dca-stock-db]
db=depo34db
db=stockdb
db=depo60db
db=depo35db
db=depo3db
db=depo38db
db=vshody
db=rmandb
db=depo11db
[dcb-stock-db]
db=depo34db
db=stockdb
db=depo60db
db=depo35db
db=depo3db
db=depo38db
db=vshody
db=rmandb
db=depo11db
[srv-olapwhs01-dca]
db=goldwhs
[srv-olapwhs01-dcb]
db=goldwhs
[srv-axdb1-mrg]
db=dbdat
db=yardb01
db=OBL
db=dbcon
db=dbsml
db=VOS
db=LOG
db=cheldb
db=dbklg
db=RZN2
db=catdb
[srv-axdb2-mrg]
db=dbdat
db=yardb01
db=OBL
db=dbcon
db=dbsml
db=VOS
db=LOG
db=cheldb
db=dbklg
db=RZN2
db=catdb
[srv-vetdb-dca]
db=AGROS
[srv-vetdb-dcb]
db=AGROS
[exclude]
#host:db:scripts=crm:%:mon_swap.sh:mon_tbs.sh:mon_ping_ssh.sh
host:db:scripts=aisprod:%:mon_swap.sh
[mail]
#script=mmail
script=tgmail_html
#script=tyandex
prefix=DBS
# % - mask send mail for all host or db or scripts. may be many lines of host:db:set
# host:db:set=%:%:%
# host:db:set=aisprod:aisutf:mon_db.sh:mon_disksp.sh:mon_ping_ssh.sh:mon_processes_sessions.sh:mon_tbs.sh:mon_alert.sh
host:db:set=mp:%:%
host:db:set=dca-stock-db:%:%
host:db:set=srv-olapwhs01-dca:%:%
[admins]
email=dba.almaty@gmail.com
# email=t.mukhametshin@db-service.ru
# email=support@db-service.ru
[telegram]
cmd=/home/t.mukhametshin/telegram-bot-bash/bin/send_message.sh
chat_id=376048411
# % - mask send telegram msg for all host or db or scripts. may be many lines of host:db:set
host:db:set=mp:%:mon_disksp.sh:mon_db.sh:mon_tbs.sh
# host:db:set=dcb-retail-db:GOLD506:mon_db.sh:mon_alert.sh:mon_disksp.sh:mon_fra.sh:mon_ping_ssh.sh:mon_processes_sessions.sh:mon_stb.sh:mon_tbs.sh
[resource_limit]
# in percent %
processes=80
sessions=80
enqueue_locks=80
max_rollback_segments=80
[others]
# in counts
resumable=0
SSHConnectTimeout=5
[locks]
threshold=30
[swap]
limitPER=50
[load]
limitPER=70
[diskspace]
# free space limit in %
limitPER=90
# free space limin in Gb
limitGB=10
[tbs]
# free space limit in %
limitPER=90
# free space limin in Gb
limitGB=10
[standby]
# limit in minutes unapplied archivelogs
lag_minutes=30
# limit count unapplied archivelogs
seq_gap=100
# repeat TRIGGER mail if trg_file is older than "repeat_minutes"
repeat_minutes=600
# repeat TRIGGER mail at "repeat_at" hour
repeat_at=08
[fra]
# FRA limit in %
limitPER=80
[alert]
part_of_day=24
lines=20000
exclude=ORA-01005
exclude=ORA-01422
exclude=ORA-06512
exclude=ORA-12012
# backup param where host:db:set=HOST:DB:NAS:RETENTION_POLICY:RETENTION_POLICY_NUM:CATALOG\NOCATALOG:LEVEL - 0 1 2 OR ANY OTHER for statement: "not backed up since time 'sysdate-1'"
[backup]
hours_since_lvl0=170
hours_since_lvl1=170
hours_since_arch=4
hours_since_ctrl=4
level0=Sun
level1=Wed,Fri
level2=Mon,Tue,Sat
target=/
tns_catalog=rman/rman@prov
#host:db:set=kikdb01:cft:nas20:RECOVERY_WINDOW_OF:5:catalog
#host:db:set=kikdb01:bd:nas20:REDUNDANCY:1:catalog
#host:db:set=kikdb01:prov:nas20:RECOVERY_WINDOW_OF:5:catalog
#host:db:set=kikdb01:EPS:nas20:RECOVERY_WINDOW_OF:5:catalog
#host:db:set=kikdb01:creditc:nas20:RECOVERY_WINDOW_OF:5:catalog
#host:db:set=kikdb01:KIKOPDR:nas20:RECOVERY_WINDOW_OF:5:catalog
# #backup param where host:db:set=HOST:DB:NAS:RETENTION_POLICY:RETENTION_POLICY_NUM:CATALOG\NOCATALOG:LEVEL - 0 1 2 OR ANY OTHER for statement: "not backed up since time 'sysdate-1'"
host:db:set=kikdb02:cft:u15:REDUNDANCY:1:nocatalog:0
host:db:set=kikdb02:bd:u15:REDUNDANCY:1:nocatalog:0
host:db:set=kikdb02:prov:u15:REDUNDANCY:1:nocatalog:0
host:db:set=kikdb02:kika:u15:REDUNDANCY:1:nocatalog:0
host:db:set=kikdb02:EPS:u15:REDUNDANCY:1:nocatalog:0
host:db:set=kikdb02:creditc:u15:REDUNDANCY:1:nocatalog:0
host:db:set=kikdb02:KIKOPDR:u15:REDUNDANCY:1:nocatalog:0
host:db:set=mp:mprd:u15:REDUNDANCY:1:nocatalog:0
host:db:set=mp2:mprd:u15:REDUNDANCY:1:nocatalog:0
host:db:set=md:mdev:u15:REDUNDANCY:1:nocatalog:0
host:db:set=mu:muat:u15:REDUNDANCY:1:nocatalog:0