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
PIXIU_ALARM_COMMON The used (?<quota_used_type>%{WORD}) \(%{PIXIU_QUOTA_SIZE_TYPE}\) of (?:the )?quota \(type (?<quota_type>%{WORD}) quota(?:, %{PIXIU_ALARM_USER_TYPE})?\) of dtree \(name (?<dtree>%{WORD}), ID (?<dtree_id>%{NUMBER:int})\) in namespace \(name (?<namespace>%{WORD}), ID (?<namespace_id>%{NUMBER:int})\)
"raw": "<187>Jul 19 14:22:39 C4STO01-Node1 alarm[2613490]: <186>2023-07-19 14:11:57 DST 2023-07-19 14:22:37 DST 172.19.104.10 OceanStor-Distributed-Storage 216045 0xFEA6A000F Major(2): The used files (39293) of quota (type user quota, user name, owner name vsc10800) of dtree (name 108, ID 4137) in namespace (name data, ID 69) reaches to the file quantity soft quota of (38095).",
62
+
"expected": {
63
+
"@source_host": "C4STO01-Node1",
64
+
"program": "alarm",
65
+
"alarm_severity": "Major",
66
+
"alarm_object": "OceanStor-Distributed-Storage",
67
+
"alarm_id": "0xFEA6A000F",
68
+
"used_files": 39293,
69
+
"username": "vsc10800",
70
+
"quota_type": "user",
71
+
"quota_used_type": "files",
72
+
"dtree": "108",
73
+
"dtree_id": 4137,
74
+
"namespace": "data",
75
+
"namespace_id": 69,
76
+
"quota_limit_type": "soft",
77
+
"quota_files_limit": 38095,
78
+
},
79
+
},
80
+
{
81
+
"raw": "<187>Jul 19 14:22:39 C4STO01-Node1 alarm[2613490]: <186>2023-07-19 14:06:48 DST 2023-07-19 14:22:37 DST 172.19.104.10 OceanStor-Distributed-Storage 216042 0xFEA6A0011 Major(2): The used files (40000) of the quota (type user quota, user name, owner name vsc10800) of dtree (name 108, ID 4137) in namespace (name data, ID 69) reaches or approaches to the hard file quantity quota of (40000). The user or user group will fail to write data.",
82
+
"expected": {
83
+
"@source_host": "C4STO01-Node1",
84
+
"program": "alarm",
85
+
"alarm_severity": "Major",
86
+
"alarm_object": "OceanStor-Distributed-Storage",
87
+
"alarm_id": "0xFEA6A0011",
88
+
"used_files": 40000,
89
+
"username": "vsc10800",
90
+
"quota_type": "user",
91
+
"quota_used_type": "files",
92
+
"dtree": "108",
93
+
"dtree_id": 4137,
94
+
"namespace": "data",
95
+
"namespace_id": 69,
96
+
"quota_limit_type": "hard",
97
+
"quota_files_limit": 40000,
98
+
},
99
+
},
100
+
{
101
+
"raw": "<187>Aug 20 20:18:25 C4STO01-Node1 alarm[2613490]: <186>2023-08-20 20:18:25 DST 172.19.104.10 OceanStor-Distributed-Storage 259068 0xFEA6A000E Major(1): The used files (1501) of quota (type directory quota) of dtree (name test1, ID 4101) in namespace (name admin, ID 71) reaches to the file quantity soft quota of (1000).",
102
+
"expected": {
103
+
"@source_host": "C4STO01-Node1",
104
+
"program": "alarm",
105
+
"alarm_severity": "Major",
106
+
"alarm_object": "OceanStor-Distributed-Storage",
107
+
"alarm_id": "0xFEA6A000E",
108
+
"used_files": 1501,
109
+
"quota_used_type": "files",
110
+
"quota_type": "directory",
111
+
"dtree": "test1",
112
+
"dtree_id": 4101,
113
+
"namespace": "admin",
114
+
"namespace_id": 71,
115
+
"quota_limit_type": "soft",
116
+
"quota_files_limit": 1000,
117
+
},
118
+
},
119
+
{
120
+
"raw": "<187>Aug 20 20:16:52 C4STO01-Node1 alarm[2613490]: <186>2023-08-20 20:16:50 DST 172.19.104.10 OceanStor-Distributed-Storage 259067 0xFEA6A000B Major(1): The used files (2000) of quota (type directory quota) of dtree (name test1, ID 4101) in namespace (name admin, ID 71) reaches or approaches to the file quantity hard quota of (2000). Data will fail to be written.",
121
+
"expected": {
122
+
"@source_host": "C4STO01-Node1",
123
+
"program": "alarm",
124
+
"alarm_severity": "Major",
125
+
"alarm_object": "OceanStor-Distributed-Storage",
126
+
"alarm_id": "0xFEA6A000B",
127
+
"used_files": 2000,
128
+
"quota_used_type": "files",
129
+
"quota_type": "directory",
130
+
"dtree": "test1",
131
+
"dtree_id": 4101,
132
+
"namespace": "admin",
133
+
"namespace_id": 71,
134
+
"quota_limit_type": "hard",
135
+
"quota_files_limit": 2000,
136
+
},
137
+
},
138
+
{
139
+
"raw": "<187>Aug 21 09:56:38 C4STO01-Node1 alarm[2613490]: <186>2023-08-21 09:56:37 DST 172.19.104.10 OceanStor-Distributed-Storage 260204 0xFEA6A000B Major(1): The used space (1024MB) of quota (type directory quota) of dtree (name test1, ID 4101) in namespace (name admin, ID 71) reaches or approaches to the space hard quota of (1024MB). Data will fail to be written.",
140
+
"expected": {
141
+
"@source_host": "C4STO01-Node1",
142
+
"program": "alarm",
143
+
"alarm_severity": "Major",
144
+
"alarm_object": "OceanStor-Distributed-Storage",
145
+
"alarm_id": "0xFEA6A000B",
146
+
"used_space": 1024000000,
147
+
"quota_used_type": "space",
148
+
"quota_type": "directory",
149
+
"dtree": "test1",
150
+
"dtree_id": 4101,
151
+
"namespace": "admin",
152
+
"namespace_id": 71,
153
+
"quota_limit_type": "hard",
154
+
"quota_space_limit": 1024000000,
155
+
},
156
+
},
157
+
{
158
+
"raw": "<187>Aug 20 19:40:26 C4STO01-Node1 alarm[2613490]: <186>2023-08-20 19:32:24 DST 2023-08-20 19:40:26 DST 172.19.104.10 OceanStor-Distributed-Storage 259045 0xFEA6A000F Major(2): The used space (6638MB) of quota (type user quota, user name, owner name vsc10042) of dtree (name 100, ID 8193) in namespace (name user, ID 70) reaches to the space soft quota of (6144MB).",
0 commit comments