monit-general
[Top][All Lists]
Advanced

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

simple way to send a chunk from a log file with the alert email


From: Florin Andrei
Subject: simple way to send a chunk from a log file with the alert email
Date: Fri, 09 Oct 2015 13:33:23 -0700
User-agent: Roundcube Webmail/0.9.2

I'm using Monit to supervise a series of node.js frontends and so far it's been great. But there's one request that keeps coming up from everyone, and it makes a lot of sense if you think about it:

When the service crashes and it's restarted by Monit, and an alert email is dispatched, it would be great if Monit could grab the most recent N lines from a log file and include them in the email.

Is there a way to do that in Monit?

--
Florin Andrei
http://florin.myip.org/



reply via email to

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