|
@@ -224,6 +224,14 @@ set httpd port 2812 and
|
224
|
224
|
# if inode usage > 99% then stop
|
225
|
225
|
# group server
|
226
|
226
|
#
|
|
227
|
+
|
|
228
|
+check filesystem rootfs with path /
|
|
229
|
+ if space usage > 80% for 5 times within 15 cycles then alert
|
|
230
|
+ if space usage > 99% then alert
|
|
231
|
+ if inode usage > 80% for 5 times within 15 cycles then alert
|
|
232
|
+ if inode usage > 99% then alert
|
|
233
|
+ group server
|
|
234
|
+
|
227
|
235
|
#
|
228
|
236
|
## Check a file's timestamp. In this example, we test if a file is older
|
229
|
237
|
## than 15 minutes and assume something is wrong if its not updated. Also,
|
|
@@ -266,5 +274,6 @@ set httpd port 2812 and
|
266
|
274
|
## It is possible to include additional configuration parts from other files or
|
267
|
275
|
## directories.
|
268
|
276
|
#
|
269
|
|
- include /etc/monit/conf.d/*
|
270
|
277
|
|
|
278
|
+include /etc/monit/conf.d/*
|
|
279
|
+include /etc/monit/monitrc.d/*
|