[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Initial resources check
From: |
Ivan Danyliuk |
Subject: |
Initial resources check |
Date: |
Wed, 10 Jul 2013 19:20:44 +0200 |
Hi all,
I have resource which I want to check once per hour. With default interval of
10 seconds, I use following rule:
check program some-check-script with path "/path/to/some-check.script.sh"
timeout 86400 seconds
if status != 0 then alert
every 360 cycles
It works and checks hourly, but with initial 1 hour delay. On initial monit
start, I want this program to be checked on the very start of monit, and not
after an hour.
So, the question is - how to tell monit to run this check at the startup?
Regards
- Initial resources check,
Ivan Danyliuk <=