Xymon Mailing List Archive search

Why BBSVCNAME,BBHOSTSVC invalid in my alert script?

list Henrik Størner
Thu, 21 Jun 2007 09:22:22 +0200
Message-Id: <user-dc03bdb83c84@xymon.invalid>

On Thu, Jun 21, 2007 at 03:05:28PM +0800, case wrote:
Mail message would include specific information about related process or
service' name  if we use MAIL in hobbit-alerts.cfg, e.g. "&red Cisco
Systems, Inc. VPN Service - Stopped".

How can we display similar messages in alert script while a process or
service triggers the alert?
The full status message text is passed in the BBALPHAMSG env. variable.
Process that to pick out lines with "&red", "&yellow" and so on. E.g.

   echo "$BBALPHAMSG" | egrep "^&red|&yellow"


Regards,
Henrik