@@ -49,15 +49,15 @@ spec:
49
49
- hostOS : {}
50
50
analyzers :
51
51
- cpu :
52
- checkName : ' Number of CPU cores '
52
+ checkName : CPU
53
53
outcomes :
54
54
- fail :
55
55
when : ' count < 2'
56
56
message : At least 2 CPU cores are required
57
57
- pass :
58
58
message : At least 2 CPU cores are present
59
59
- memory :
60
- checkName : Amount of Memory
60
+ checkName : Memory
61
61
outcomes :
62
62
- fail :
63
63
when : ' < 2G'
@@ -110,11 +110,12 @@ spec:
110
110
outcomes :
111
111
- fail :
112
112
when : ' false'
113
- message : ' No default route found. A default route is required.'
113
+ message : No default route found. A default route is required.
114
114
- pass :
115
115
when : ' true'
116
- message : ' Host has a default route'
116
+ message : Host has a default route
117
117
- ipv4Interfaces :
118
+ checkName : IPv4 Interface
118
119
outcomes :
119
120
- fail :
120
121
when : ' count == 0'
@@ -127,28 +128,28 @@ spec:
127
128
outcomes :
128
129
- fail :
129
130
when : ' ntp == unsynchronized+inactive'
130
- message : ' System clock is not synchronized'
131
+ message : System clock is not synchronized
131
132
- fail :
132
133
when : ' ntp == unsynchronized+active'
133
134
message : System clock is not yet synchronized
134
135
- pass :
135
136
when : ' ntp == synchronized+active'
136
- message : ' System clock is synchronized'
137
+ message : System clock is synchronized
137
138
- jsonCompare :
138
- checkName : Check if either cgroup v1 or v2 is enabled
139
+ checkName : Cgroups
139
140
fileName : host-collectors/system/cgroups.json
140
141
path : ' cgroup-enabled'
141
142
value : |
142
143
true
143
144
outcomes :
144
145
- fail :
145
146
when : ' false'
146
- message : ' Neither cgroup v1 nor v2 is enabled'
147
+ message : Neither cgroup v1 nor v2 is enabled
147
148
- pass :
148
149
when : ' true'
149
- message : ' One of cgroup v1 or v2 is enabled'
150
+ message : One of cgroup v1 or v2 is enabled
150
151
- jsonCompare :
151
- checkName : Check if cpu cgroup controller is enabled
152
+ checkName : " ' cpu' Cgroup Controller "
152
153
fileName : host-collectors/system/cgroups.json
153
154
jsonPath : " {$.allControllers[?(@ == 'cpu')]}"
154
155
value : |
@@ -161,7 +162,7 @@ spec:
161
162
when : ' true'
162
163
message : " 'cpu' cgroup controller is enabled"
163
164
- jsonCompare :
164
- checkName : Check if cpuacct cgroup controller is enabled
165
+ checkName : " ' cpuacct' Cgroup Controller "
165
166
fileName : host-collectors/system/cgroups.json
166
167
jsonPath : " {$.allControllers[?(@ == 'cpuacct')]}"
167
168
value : |
@@ -174,7 +175,7 @@ spec:
174
175
when : ' true'
175
176
message : " 'cpuacct' cgroup controller is enabled"
176
177
- jsonCompare :
177
- checkName : Check if cpuset cgroup controller is enabled
178
+ checkName : " ' cpuset' Cgroup Controller "
178
179
fileName : host-collectors/system/cgroups.json
179
180
jsonPath : " {$.allControllers[?(@ == 'cpuset')]}"
180
181
value : |
@@ -187,7 +188,7 @@ spec:
187
188
when : ' true'
188
189
message : " 'cpuset' cgroup controller is enabled"
189
190
- jsonCompare :
190
- checkName : Check if memory cgroup controller is enabled
191
+ checkName : " ' memory' Cgroup Controller "
191
192
fileName : host-collectors/system/cgroups.json
192
193
jsonPath : " {$.allControllers[?(@ == 'memory')]}"
193
194
value : |
@@ -200,7 +201,7 @@ spec:
200
201
when : ' true'
201
202
message : " 'memory' cgroup controller is enabled"
202
203
- jsonCompare :
203
- checkName : Check if devices cgroup controller is enabled
204
+ checkName : " ' devices' Cgroup Controller "
204
205
fileName : host-collectors/system/cgroups.json
205
206
jsonPath : " {$.allControllers[?(@ == 'devices')]}"
206
207
value : |
@@ -213,7 +214,7 @@ spec:
213
214
when : ' true'
214
215
message : " 'devices' cgroup controller is enabled"
215
216
- jsonCompare :
216
- checkName : Check if freezer cgroup controller is enabled
217
+ checkName : " ' freezer' Cgroup Controller "
217
218
fileName : host-collectors/system/cgroups.json
218
219
jsonPath : " {$.allControllers[?(@ == 'freezer')]}"
219
220
value : |
@@ -226,7 +227,7 @@ spec:
226
227
when : ' true'
227
228
message : " 'freezer' cgroup controller is enabled"
228
229
- jsonCompare :
229
- checkName : Check if pids cgroup controller is enabled
230
+ checkName : " ' pids' Cgroup Controller "
230
231
fileName : host-collectors/system/cgroups.json
231
232
jsonPath : " {$.allControllers[?(@ == 'pids')]}"
232
233
value : |
@@ -239,18 +240,18 @@ spec:
239
240
when : ' true'
240
241
message : " 'pids' cgroup controller is enabled"
241
242
- textAnalyze :
242
- checkName : Check if /proc filesystem is mounted
243
+ checkName : /proc Filesystem
243
244
fileName : host-collectors/run-host/check-proc-filesystem.txt
244
245
regex : ' proc'
245
246
outcomes :
246
247
- pass :
247
248
when : " true"
248
- message : " /proc filesystem is mounted"
249
+ message : /proc filesystem is mounted
249
250
- fail :
250
251
when : " false"
251
- message : " /proc filesystem is not mounted"
252
+ message : /proc filesystem is not mounted
252
253
- textAnalyze :
253
- checkName : Check if 'modprobe' command exists in PATH
254
+ checkName : " 'modprobe' Command "
254
255
fileName : host-collectors/run-host/check-modprobe.txt
255
256
regex : ' /usr/sbin/modprobe'
256
257
outcomes :
@@ -261,7 +262,7 @@ spec:
261
262
when : " false"
262
263
message : " 'modprobe' command does not exist in PATH"
263
264
- textAnalyze :
264
- checkName : Check if 'mount' command exists in PATH
265
+ checkName : " 'mount' Command "
265
266
fileName : host-collectors/run-host/check-mount.txt
266
267
regex : ' /usr/bin/mount'
267
268
outcomes :
@@ -272,7 +273,7 @@ spec:
272
273
when : " false"
273
274
message : " 'mount' command does not exist in PATH"
274
275
- textAnalyze :
275
- checkName : Check if 'umount' command exists in PATH
276
+ checkName : " 'umount' Command "
276
277
fileName : host-collectors/run-host/check-umount.txt
277
278
regex : ' /usr/bin/umount'
278
279
outcomes :
@@ -283,10 +284,10 @@ spec:
283
284
when : " false"
284
285
message : " 'umount' command does not exist in PATH"
285
286
- hostOS :
286
- checkName : Check minimum kernel version
287
+ checkName : Kernel Version
287
288
outcomes :
288
289
- pass :
289
290
when : " kernelVersion >= 3.10"
290
- message : " Minimum kernel version of 3.10 has been met "
291
+ message : Kernel meets minimum version version of 3.10
291
292
- fail :
292
- message : " Minimum kernel version of 3.10 has not been met "
293
+ message : Kernel doesn't meet minimum version of 3.10
0 commit comments