On Jan 29, 2008 11:24 AM, Haertig, David F (Dave) <<a href="mailto:haertig@avaya.com">haertig@avaya.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div vlink="#606420" link="blue" lang="EN-US">
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">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.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Other things to consider trying (using standard Hobbit 
stuff):</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">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.</font></span></div></div></blockquote><div><br>If the process gets rstarted by a script, maybe the script could write a log entry for Hobbit to monitor??<br><br>Ralph Mitchell<br><br></div></div>