[Xymon] Process report tweak? (a request from my boss's boss...)

Ralph Mitchell ralphmitchell at gmail.com
Fri Oct 19 20:35:48 CEST 2012


If you need a solution right now, you could use an alert script that pretty
much just does this:

     #!/bin/bash
     MESSAGE=`echo "$BBALPHAMSG" | egrep "\&red|\&yellow" | sort`

     echo "$MESSAGE" | mailx -s "$BBHOSTNAME $BBSVCNAME $BBCOLORLEVEL" $RCPT

That gets you just the alerting filesystems.  Then in
/home/xymon/server/etc/alerts.cfg:

     HOST=hostname.server.com  SERVICE=procs
          SCRIPT  /home/xymon/bin/process-alert.sh  some.body at mailserver.com

I'm using something similar to direct messages to different support groups
for different filesystems.

Ralph Mitchell


On Fri, Oct 19, 2012 at 9:36 AM, Betsy Schwartz <betsy.schwartz at gmail.com>wrote:

> The process report shows a list of monitored processes at the top,
> with the missing process having a yellow dot.
> Is it possible in another release to list the bad process FIRST and
> SEPARATELY from the others? In email it gets sort of buried when
> there's a long list of monitored processes:
>
> red Fri Oct 12 15:50:56 EDT 2012 - Processes NOT ok &green
> /usr/sbin/cron (found 1, req. 1 or more) &red httpd (found 0, req. 1
> or more) &green nscd (found 1, req. 1 or more) &green java (found 1,
> req. 1 or more) &red coldfusion8 (found 0, req. 1 or more) &green cron
> (found 1, req. 1 or more)....
>
> If people think this is a good idea, that is
>
> thanks Betsy
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121019/580fb9a0/attachment.html>


More information about the Xymon mailing list