Hi, the mentioned setup should work - which Monit version it is? Please can you try it with Monit 5.12?
Regards, Martin > On 25 Feb 2015, at 19:15, Pol Hallen <[email protected]> wrote: > > Hi all :-) > > I'd like personalize status of alerts, ie: > > if space usage > 95% then alert > if space usage > 95% then exec "/bin/bash -c 'df -lh|egrep > "File|root"|mutt -s "HIGH DISK SPACE" -e 'my_hdr From:[email protected] > <[email protected]>' [email protected]'" > > so a classical monit email alert and also an email with details about disk > space > > any way to run both "then alert" and "then exec"? Have these 2 lines, only > first line runs. > > thanks for help! > > Pol > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
