You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Validator's wallet <code>{wallet}</code> balance is less than 10 TON: {balance} TON.",
35
35
18*HOUR
36
36
),
37
+
"low_wallet_balance_ok": Alert(
38
+
"info",
39
+
"Validator's wallet balance is back to normal",
40
+
"Validator's wallet <code>{wallet}</code> balance is {balance} TON.",
41
+
0
42
+
),
37
43
"db_usage_80": Alert(
38
44
"high",
39
45
"Node's db usage is more than 80%",
@@ -50,6 +56,12 @@ def init_alerts():
50
56
or (and) set node\'s archive ttl to lower value.""",
51
57
6*HOUR
52
58
),
59
+
"db_usage_ok": Alert(
60
+
"info",
61
+
"Node's db usage is back to normal",
62
+
"TON DB usage is back to normal: <b>{usage}%</b>.",
63
+
0
64
+
),
53
65
"low_efficiency": Alert(
54
66
"high",
55
67
"Validator had efficiency less than 90% in the validation round",
@@ -62,24 +74,48 @@ def init_alerts():
62
74
"Node is out of sync on more than 20 sec: <b>{sync} sec</b>.",
63
75
300
64
76
),
77
+
"sync_ok": Alert(
78
+
"info",
79
+
"Node is back in sync",
80
+
"Node is back in sync: <b>{sync} sec</b>.",
81
+
0
82
+
),
65
83
"service_down": Alert(
66
84
"critical",
67
-
"Node is not running (service is down)",
68
-
"validator.service is down.",
85
+
"Node is not running",
86
+
"Node is not running. Probably daemon service is down.",
69
87
300
70
88
),
89
+
"service_down_ok": Alert(
90
+
"info",
91
+
"Node is recovered",
92
+
"Node is running.",
93
+
0
94
+
),
71
95
"adnl_connection_failed": Alert(
72
96
"high",
73
97
"Node is not answering to ADNL connection",
74
-
"ADNL connection to node failed",
98
+
"ADNL connection to node failed.",
75
99
3*HOUR
76
100
),
101
+
"adnl_connection_ok": Alert(
102
+
"info",
103
+
"ADNL connection restored",
104
+
"ADNL connection to node is OK.",
105
+
0
106
+
),
77
107
"zero_block_created": Alert(
78
108
"critical",
79
109
"Validator has not created any blocks in the last few hours",
80
110
"Validator has not created any blocks in the last <b>{hours} hours</b>.",
81
111
int(VALIDATION_PERIOD/2.3)
82
112
),
113
+
"zero_block_created_ok": Alert(
114
+
"info",
115
+
"Validator resumed block production",
116
+
"Validator resumed block production. Blocks produced in the recent window: <b>{blocks}</b> in ~<b>{hours}h</b>.",
117
+
0
118
+
),
83
119
"validator_slashed": Alert(
84
120
"high",
85
121
"Validator has been slashed in the previous validation round",
@@ -116,12 +152,30 @@ def init_alerts():
116
152
"Found proposals with hashes `{hashes}` that have significant amount of votes, but current validator didn't vote for them. Please check @tonstatus for more details.",
117
153
VALIDATION_PERIOD
118
154
),
155
+
"voting_ok": Alert(
156
+
"info",
157
+
"All high-priority proposals are voted",
158
+
"All high-priority proposals are voted or no longer require action.",
159
+
0
160
+
),
119
161
"initial_sync_completed": Alert(
120
162
"info",
121
163
"Initial sync has been completed (info alert with no sound)",
122
164
"Node initial sync has been completed",
123
165
0
124
-
)
166
+
),
167
+
"shard_collators_offline": Alert(
168
+
"high",
169
+
"All collators for specific shards are offline",
170
+
"All collators for shards <code>{shards}</code> are offline.",
171
+
3600
172
+
),
173
+
"shard_collators_ok": Alert(
174
+
"info",
175
+
"Shards have online collators again",
176
+
"All required shards have online collators again.",
0 commit comments