monit-general
[Top][All Lists]
Advanced

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

Re: Before I fix this


From: Martin Pala
Subject: Re: Before I fix this
Date: Fri, 6 Feb 2015 11:45:42 +0100

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/myapp.pid
                start program = "/etc/init.d/myapp start"
                stop program = "/etc/init.d/myapp stop"
                if uptime > 3 days then restart

Regards,
Martin


> 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:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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