[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Checking process longevity
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Checking process longevity
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Tue, 5 Feb 2008 12:58:06 +0100
- References: <20080204091740.GB1953 (at) hswn.dk> <BAC1D28A5AB852439A6914CA7AB4E63F05192A7B (at) permls05.wde.woodside.com.au>
- User-agent: Mutt/1.5.15+20070412 (2007-04-11)
On Tue, Feb 05, 2008 at 01:47:07PM +0900, Coe, Colin C. (Unix Engineer) wrote:
> I do think that there are other cases
> where monitoring how long a process exists is useful.
>
> I was thinking that this could be done by adding a new flag to 'PROC' in
> hobbit-clients.cfg. Something like:
>
> PROC processname minimumcount maximumcount color [TRACK=id] [TEXT=text]
> [RUNTIME=seconds]
>
> Example, alert if a 'df' has existed for more 60 seconds
>
> HOST foo
> PROC df RUNTIME=60
Sure. Only problem is: How do you determine how long a process has
existed ?
Some systems report the start-time of a process in a separate column
(START in Linux, STIME in Solaris, ...) Not very accurate, since if they
were started more than 24 hours ago it shows only the date. I guess we
could use that.
Regards,
Henrik