monit-general
[Top][All Lists]
Advanced

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

RE: Re: Question about script alert description


From: Lutz Mader
Subject: RE: Re: Question about script alert description
Date: Sat, 17 Sep 2016 18:50:34 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Hi Martin,
is this a new mail Format used by monit 5.19. or an old Format?
> the prefix "'/usr/local/sbin/inactive.sh' failed with exit status (1) -- " is 
> part of the event description.


With monit 5.18 I got mails like the following.
Monit UUUU Manager_Lsof Status succeeded
Monit alert
Service Manager_Lsof event Status succeeded
at Sat, 10 Sep 2016 09:23:08 on SSSS
status succeeded [status=0] -- lsof 1966
Yours sincerely, Monit


With the monitrc definitions like this.
set mail-format { from: address@hidden
  subject: Monit UUUU $SERVICE $EVENT
  message: Monit $ACTION
Service $SERVICE event $EVENT
at $DATE on $HOST
$DESCRIPTION
Yours sincerely, Monit }


Yes, the mail contain the usefull Status Information, but the script
Name is not part of the mail.
Bye, Lutz
























---
Mail & Cloud Made in Germany mit 3 GB Speicher!
https://email.freenet.de/mail/Uebersicht?epid=e9900000450






reply via email to

[Prev in Thread] Current Thread [Next in Thread]