[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

detecting sleep time

From: SZÉPE Viktor
Subject: detecting sleep time
Date: Sat, 04 Feb 2017 00:48:10 +0100
User-agent: Horde Application Framework 5


I have this dirty hack: it re-monitors unmonitored services hourly.

Is there a way to detect that Monit is doing in the initial sleep?
My script re-monitors every service when it happens to run right in the middle of this period.

A workaround is

tail -n 1 /var/log/monit.log | grep "Monit start delay set to [0-9]\+s$"

I am looking for a Monit-way solution.
Thank you.

SZÉPE Viktor
+36-20-4242498  address@hidden  skype: szepe.viktor
Budapest, III. kerület

reply via email to

[Prev in Thread] Current Thread [Next in Thread]