> On 17 Sep 2016, at 18:50, Lutz Mader <[email protected]> wrote: > > 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: [email protected] > 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
The status succeeded message didn't contain the program name - only the status failure event. We have simplified the messages in the next monit release: https://bitbucket.org/tildeslash/monit/commits/c8db8020a5e177a9552e92af015056fc162a4268?at=master Best regards, Martin -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
