116 |
# unit and action. This statement is optional. More than |
# unit and action. This statement is optional. More than |
117 |
# one timestamp statement is allowed. |
# one timestamp statement is allowed. |
118 |
# |
# |
119 |
|
# size -- Must be followed by compare operator, number, optional |
120 |
|
# size unit and action. This statement is optional. More |
121 |
|
# than one size statement is allowed. |
122 |
|
# |
123 |
# every -- Only check the service at every n cycles. Optional. |
# every -- Only check the service at every n cycles. Optional. |
124 |
# |
# |
125 |
# mode -- Must be followed either by the keyword active, passive |
# mode -- Must be followed either by the keyword active, passive |
313 |
# alert root@localhost |
# alert root@localhost |
314 |
# |
# |
315 |
# |
# |
316 |
# check file database with path /data/database |
# check file database with path /data/mydatabase.db |
317 |
# permission 700 |
# permission 700 |
318 |
# if size > 100 MB then alert |
# if size > 100 MB then alert |
319 |
# if timestamp "/data/database" > 15 minutes then alert |
# if timestamp "/data/database" > 15 minutes then alert |