-
Notifications
You must be signed in to change notification settings - Fork 0
/
mon.ini.nomad
158 lines (133 loc) · 2.99 KB
/
mon.ini.nomad
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
[servers]
host=aisprod
host=aisstb
host=unit
host=alpha
host=beta
host=gw
host=crm
host=msfo
[exclude]
#host:db:scripts=crm:%:mon_swap.sh:mon_tbs.sh:mon_ping_ssh.sh
host:db:scripts=aisprod:%:mon_swap.sh
[aisprod]
db=aisutf
[aisstb]
db=aisutf
[unit]
db=unit
[alpha]
db=aisutf
[beta]
db=aisutf
[crm]
db=crm
[msfo]
db=msfo
[mail]
# script=mmail.nomad
script=tgmail_html
# script=tyandex
prefix=NOMAD->
# % - mask send mail for all host or db or scripts
# host:db:set=%:%:%
host:db:set=aisprod:aisutf:%
host:db:set=aisstb:aisutf:%
host:db:set=unit:unit:%
host:db:set=alpha:aisutf:%
host:db:set=beta:aisutf:mon_disksp.sh:mon_swap.sh:mon_tbs.sh:mon_ping_ssh.sh:%
host:db:set=gw:%:mon_disksp.sh:mon_swap.sh:mon_ping_ssh.sh
host:db:set=crm:crm:%
host:db:set=msfo:msfo:%
[admins]
email=dba.almaty@gmail.com
[telegram]
cmd=/home/oracle/telegram-bot-bash/bin/send_message.sh
chat_id=376048411
# % - mask send mail for all host or db or scripts
# host:db:set=%:%:%
host:db:set=aisprod:aisutf:mon_db.sh:mon_disksp.sh:mon_ping_ssh.sh:mon_limsess.sh:mon_tbs.sh
#host:db:set=%:aisutf:%
[resource_limit]
processes=80
sessions=80
enqueue_locks=80
max_rollback_segments=80
[others]
# in counts
resumable=0
SSHConnectTimeout=5
[locks]
threshold=30
[diskspace]
# free space limit in %
limitPER=93
# free space limin in Gb
limitGB=15
[swap]
limitPER=100
[load]
limitPER=70
[tbs]
# free space limit in % 92
limitPER=92
# free space limin in Gb 32
limitGB=7
[standby]
# limit in minutes unapplied archivelogs
lag_minutes=120
# limit count unapplied archivelogs
seq_gap=50
# repeat TRIGGER mail if trg_file is older than "repeat_minutes"
repeat_minutes=600
# repeat TRIGGER mail at "repeat_at" hour
repeat_at=08
# standby for database primary_host=db:standby_host
aisprod=aisutf:aisstb
[fra]
# FRA limit in %
limitPER=80
[alert]
part_of_day=24
lines=60000
exclude=ORA-01005
exclude=ORA-01422
exclude=ORA-06512
exclude=ORA-12012
# nomad
[alert:beta:aisutf]
exclude=ORA-0
exclude=ORA-28
exclude=ORA-2396
exclude=ORA-00060
exclude=ORA-12012
exclude=ORA-20200
exclude=ORA-06512
exclude=ORA-00030
exclude=ORA-20001
exclude=ORA-20008
exclude=ORA-29283
exclude=ORA-29266
exclude=ORA-27366
# nomad_stb
[alert:aisstb:aisutf]
exclude=ORA-279
exclude=ORA-308
exclude=ORA-00308
exclude=ORA-27037
# 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=6
hours_since_ctrl=12
level0=Sun
level1=Tue,Thu,Sat
level2=Mon,Wed,Fri
target=/
tns_catalog=rman/rman@TNS_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=aisprod:aisutf:nas:RECOVERY_WINDOW_OF:7:nocatalog
host:db:set=unit:unit:nas:RECOVERY_WINDOW_OF:7:nocatalog
host:db:set=crm:crm:nas:RECOVERY_WINDOW_OF:7:nocatalog
host:db:set=msfo:msfo:nas:RECOVERY_WINDOW_OF:7:nocatalog