RE: Are cron definitions for host/port checks supported?
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.
From: monit-general [mailto:monit-general-bounces+michael.hadorn=[hidden email]]
On Behalf Of Noel Sent: Freitag, 22. Juni 2018 15:41 To:[hidden email] Subject: Re: Are cron definitions for host/port checks supported?