[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Warnings



On Thu, Oct 25, 2007 at 02:27:58PM +0200, Nikesh Maharaj wrote:
> Can anyone please tell me which file to edit to configure the following
> alert ? All I want in the email/sms is the line marked in RED  and not
> the rest of the message :
> &yellow /FIXED/C/ (49%) has reached the WARNING level (20%)

Try putting this in hobbit-alerts.cfg:

   HOST=itlab02.metsi.com SERVICE=disk
      MAIL someone (at) metsi.com FORMAT=SMS

If that includes more than you want, then you'll have to write a custom
alerting script to format the message.


Regards,
Henrik