Actually, it will send out pages for that as well, since the actual paging is still controlled by hobbit-alerts.cfg.  The part where it is grep'ing for red and yellow is just to get the particular item in a non-green state.  For instance, if you are monitoring 10 processes on a machine, instead of showing ALL processes, including the green ones, only the ones in a non-green state will show up with this script.  It's actually looking for "&yellow" or "&red".
<br><br>The error message will look like:<br>Subject = !HB [12345]<br>Body = machine.procs red<br>&red someproc (found 0, req. 1 or more)<br><br>And the recovery messages will look something like this:<br>Subject = !HB [-1]
<br>Body = machine.procs red<br><br>If you wanted to use something else instead of "-1" to indicate recovery, you could add something like the following in place of the msg=<blah> lines:<br>if [ ${ACKCODE} -eq "-1" ] then; msg="Recovered"; 
<br>else msg=` <blah>`; msg="\n${msg}";<br>done<br><br><br><div class="gmail_quote">On Jan 10, 2008 3:31 PM, Joshua Krause <<a href="mailto:forums@triadbiz.rr.com">forums@triadbiz.rr.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I noticed your script sends out a page with a yellow and red
response.  But how would you go about tweaking it to be able to send the
recovery message also.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Josh</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Gary Baluha
[mailto:<a href="mailto:gumby3203@gmail.com" target="_blank">gumby3203@gmail.com</a>] <br>
<b>Sent:</b> Thursday, January 03, 2008 11:29 AM<br>
<b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b>Subject:</b> Re: [hobbit] custom paging script</span></p>

</div><div><div></div><div class="Wj3C7c">

<p> </p>

<p style="margin-bottom: 12pt;">Sounds like you're asking for
smsplus:<br>
<a href="http://www.trantor.org/theshire/doku.php/alerts" target="_blank">http://www.trantor.org/theshire/doku.php/alerts</a></p>

<div>

<p>On Jan 3, 2008 7:31 AM, Joshua Krause < <a href="mailto:forums@triadbiz.rr.com" target="_blank">forums@triadbiz.rr.com</a>> wrote:</p>

<div>

<div>

<p>Has anyone come up with a custom paging script that will only page out
certain information? </p>

<p> </p>

<p> </p>

</div>

</div>

</div>

<p> </p>

</div></div></div>

</div>


</blockquote></div><br>