[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Process ID Tracking.
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Process ID Tracking.
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Tue, 29 Jan 2008 11:57:17 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=ea1BmLNp6fGZVa7lwFmhJcDNTJ8M4SuWNyhF0fs10sc=; b=iOAX59UXet+8tu+eBVy8tqc7yPI502AWUEi4M+fztBKdXoLt34OvOSOW8iug05l9+stgJOM6AlqG63oldSXyydhFI586EgOLDCFfeupjlmMoAHH0G3cM90yuphUVGZnt+AimrldjIG6m2jr91l08o246dBmkOSbzYjfRNcK8jhA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=rgzRQSabo6wceyEgqEwBAD1k36IxGfCmqDC/qY3o+rCg3+LlwWixmswy7EVc7xOmw4ZM30ppwuT7P2vUWsYg+efzaEBQkcCcZl512aatLhOBCkCqbYHr6FCjM5rqgUQQGs+4oJuq5hc68SQnna0wF6d8+SSOMKmjnIRLkexDTXM=
- References: <D37F185EE956F144A2A48A587C2AF0520D58378B (at) ASHEVS006.mcilink.com> <9836EA7D7FDAE34099AED87A2D9C3A8D01338965 (at) 306181ANEX2.global.avaya.com>
On Jan 29, 2008 11:24 AM, Haertig, David F (Dave) <haertig (at) avaya.com> wrote:
> You could write a custom script to do this easily (you'd need to remember
> state, but that's easy). I'm not aware of any built-in Hobbit check that
> would do this however. Maybe somebody else knows.
>
> Other things to consider trying (using standard Hobbit stuff):
>
> When the process restarts, does it do anything in a logfile? i.e., could
> you have Hobbit search for a restart text message in a logfile? Is the
> logfile deleted and recreated at restart? You could have Hobbit check the
> timestamp on the logfile possibly. When the process restarts, does it write
> it's PID to a file? Check the timestamp of that PID file.
>
If the process gets rstarted by a script, maybe the script could write a log
entry for Hobbit to monitor??
Ralph Mitchell