To set the check interval you can either us the "every X cycles" statement (for example "every 5 cycles" will perform the test once per 5 cycles, where the cycle length is given by "set daemon Y"). Another option is to use cron-like schedule - for examle to do the test at midnight: "every 0 0 * * *"
See more details in monit manual.
Regards, Martin
hello all what does "for 5 cycles then alert" mean? i am trying to look for some setting for specific script. that will continuously check on specific period of time.
i wanted to execute this on every X hours.
check program lastcall with path "/root/mysql.py" if status !=0 then alert
if possible.
thanks -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
|