I have on occasion added newer versions than are in my apt sources by just
renaming and copying over the latest compatible monit binary and updating
my config file - it's sufficient for a minor version change for it to work
ok. Of course it'll just get replaced by a subsequent update unless you
hold back the package but by that stage you might get the more recent
binary needed from your apt/yum sources anyway or just replace it again
when you next update. Just set a reminder etc. Yes its not a clean solution
of going beyond the distros maintained packages but you can check
signatures and test on a non-production system etc if you're concerned.
Might just be easier and quicker than a "McGuyver" grade script.

On 1 August 2016 at 19:10, Bryan Harris <[email protected]> wrote:

> Hi folks,
>
> I have an old version of Monit which does not seem to support the set
> filecontentbuffer directive (or any set directives).  Does anyone know of a
> trick or workaround to send more than the 511 B when a match is found in a
> file?  I suppose I could run a custom script and use the mail program
> within it to mail what I need, but I was hoping to avoid that.
>
> rpm -q monit
> monit-5.14-1.el6.x86_64
>
> V/r,
> Bryan
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to