[Top][All Lists]

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

Re: Before I fix this

From: Rory Toma
Subject: Re: Before I fix this
Date: Fri, 06 Feb 2015 06:03:16 -0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2/6/15 2:45 AM, Martin Pala wrote:
Hi Rory,

Monit reports process uptime in minutes since Monit 5.4. There is also uptime 
test, example:

        check process myapp with pidfile /var/run/
                start program = "/etc/init.d/myapp start"
                stop program = "/etc/init.d/myapp stop"
                if uptime > 3 days then restart


On 06 Feb 2015, at 00:28, Rory Toma <address@hidden> wrote:

Is there a good way for monit to report actual uptime on processes and itself 
that is not based on the date, but rather the actual passage of time?

To unsubscribe:

To unsubscribe:
SO here's what happens. If monit starts before the time is set, when I run monit status, monit will report that it has been running for 45 years. 8-)

reply via email to

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