|Subject:||RE: Are cron definitions for host/port checks supported?|
|Date:||Fri, 22 Jun 2018 14:57:08 +0000|
Thank you for your quick answer.
I saw this section already, but thought that this would only count for service checks.
Now I understand it, and solved my requirement like this (in .monitrc):
check host [server]_ping with address myserver.com
if failed ping then alert
check host [server]_website with address myserver.com
if failed port 80 protocol http request "/ " then alert
every "* 8-18 * * 1-5"
Now everything works fine.
On 6/22/2018 3:46 AM, address@hidden wrote:
Yes, monit supports cron-style scheduling. See the manual for details.
-- Noel Jones
Description: S/MIME Cryptographic Signature
|[Prev in Thread]||Current Thread||[Next in Thread]|