Heh - I just noticed I wrote "alerting filesystems", but of course it should work equally well for processes and ports.<div><br></div><div>Ralph Mitchell<br><br><br><div class="gmail_quote">On Fri, Oct 19, 2012 at 2:42 PM, Betsy Schwartz <span dir="ltr"><<a href="mailto:betsy.schwartz@gmail.com" target="_blank">betsy.schwartz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">great! Simple! love it!<br>
<div class="HOEnZb"><div class="h5"><br>
On Fri, Oct 19, 2012 at 2:35 PM, Ralph Mitchell <<a href="mailto:ralphmitchell@gmail.com">ralphmitchell@gmail.com</a>> wrote:<br>
> If you need a solution right now, you could use an alert script that pretty<br>
> much just does this:<br>
><br>
>      #!/bin/bash<br>
>      MESSAGE=`echo "$BBALPHAMSG" | egrep "\&red|\&yellow" | sort`<br>
><br>
>      echo "$MESSAGE" | mailx -s "$BBHOSTNAME $BBSVCNAME $BBCOLORLEVEL" $RCPT<br>
><br>
> That gets you just the alerting filesystems.  Then in<br>
> /home/xymon/server/etc/alerts.cfg:<br>
><br>
>      HOST=<a href="http://hostname.server.com" target="_blank">hostname.server.com</a>  SERVICE=procs<br>
>           SCRIPT  /home/xymon/bin/process-alert.sh  <a href="mailto:some.body@mailserver.com">some.body@mailserver.com</a><br>
><br>
> I'm using something similar to direct messages to different support groups<br>
> for different filesystems.<br>
><br>
> Ralph Mitchell<br>
><br>
><br>
> On Fri, Oct 19, 2012 at 9:36 AM, Betsy Schwartz <<a href="mailto:betsy.schwartz@gmail.com">betsy.schwartz@gmail.com</a>><br>
> wrote:<br>
>><br>
>> The process report shows a list of monitored processes at the top,<br>
>> with the missing process having a yellow dot.<br>
>> Is it possible in another release to list the bad process FIRST and<br>
>> SEPARATELY from the others? In email it gets sort of buried when<br>
>> there's a long list of monitored processes:<br>
>><br>
>> red Fri Oct 12 15:50:56 EDT 2012 - Processes NOT ok &green<br>
>> /usr/sbin/cron (found 1, req. 1 or more) &red httpd (found 0, req. 1<br>
>> or more) &green nscd (found 1, req. 1 or more) &green java (found 1,<br>
>> req. 1 or more) &red coldfusion8 (found 0, req. 1 or more) &green cron<br>
>> (found 1, req. 1 or more)....<br>
>><br>
>> If people think this is a good idea, that is<br>
>><br>
>> thanks Betsy<br>
>> _______________________________________________<br>
>> Xymon mailing list<br>
>> <a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
>> <a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>