Hello You are missing the "reminder" part on the *alert * https://mmonit.com/monit/documentation/monit.html#Setting-an-error-reminder
alert foo@bar with reminder on 10 cycles Best Regards, 2017-01-19 20:44 GMT+01:00 Paul Tiseo <[email protected]>: > What would be the best way to configure monit to send a "heartbeat" email > on a fixed time span? > > I tried "check host heartbeat-check address 127.0.0.1 every 5 cycles if > failed ping then alert else if succeeded then alert" > > I expected an email every 5 min (cycle = 60 seconds) with a success/fail > message, but got nothing. (Emails work, as other checks do result in > emails.) > -- > Thanks. > > _______________________________ > Paul Tiseo, [email protected] > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general > -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--? w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-) DI !D- G(+)>+ e+++ h--() r->$ y?* ------END GEEK CODE BLOCK------
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
