You can try M/Monit (https://mmonit.com) ... it has Monit heartbeat support and 
sends alert if monit is down. It has also better support for alternative alert 
channels (examples: https://mmonit.com/wiki/Notification/Notification) in 
addition to native mail+xmpp alerts.

Best regards,
Martin


> On 26 Jan 2017, at 16:44, Guillaume François <[email protected]> 
> wrote:
> 
> I suppose the goal is to ensure, monit is able to report issue -> up and 
> running and SMTP functionnal.
> 
> Let's suppose one of these two "dies" for any reason, an issue raises but you 
> get never notified cause you are not aware that the system is down.
> 
> Having regular heartbeat from the monitoring system helps to know that it is 
> up and running.
> 
> Again it just a personal guess but i can understand the need.
> 
> Like they says on some movies: 
> bodyguards: "we are going to protect you VIP."
> VIP "Ok but who is gonna to protect you (bodyguard)" 
> 
> 2017-01-26 16:29 GMT+01:00 Geoff Goas <[email protected] 
> <mailto:[email protected]>>:
> Is the "heartbeat" just a periodic email? Why not put that in a cron job?
> 
> On Wed, Jan 25, 2017 at 11:36 AM, Tino Hendricks <[email protected] 
> <mailto:[email protected]>> wrote:
> Just out of curiosity, what is the benefit of having mails sent to you 
> regardless of the system state?
> I always consider it the biggest advantage of a monitoring that it _alerts_ 
> you actively in case of emergency.
> 
> 
> Am 23. Januar 2017 um 17:59:56, Paul Tiseo ([email protected] 
> <mailto:[email protected]>(mailto:[email protected] 
> <mailto:[email protected]>)) schrieb:
> 
> > So, I set monitrc to the below. Not sure where I am to add the "reminder" 
> > clause so that the heartbeat service is the one that emails me without fail 
> > (don't want this to apply to other services). Suggestions?
> >
> > set daemon 60 with start delay 15
> > set logfile /apps/monit.log
> > set pidfile /apps/monit.pid
> > set idfile /apps/monit.id <http://monit.id/>(http://monit.id 
> > <http://monit.id/>)
> > set statefile /apps/state
> >
> > set mailserver smtp.gmail.com 
> > <http://smtp.gmail.com/>(http://smtp.gmail.com <http://smtp.gmail.com/>) 
> > port 587
> > username "[email protected] <mailto:[email protected]>(mailto:[email protected] 
> > <mailto:[email protected]>)" password "aaa"
> > using tlsv12
> >
> > set httpd port 2182
> > allow aaa:aaa
> > signature disable
> >
> > set alert [email protected] <mailto:[email protected]>(mailto:[email protected] 
> > <mailto:[email protected]>)
> >
> > #-- HEARTBEAT ---------------------------------------------------------
> > check host agp-heartbeat address 127.0.0.1 every 2 cycles
> > if failed ping then alert
> > else if succeeded then alert
> > --
> > Thanks.
> >
> > _______________________________
> > Paul Tiseo, [email protected] 
> > <mailto:[email protected]>(mailto:[email protected] 
> > <mailto:[email protected]>)
> > --
> > To unsubscribe:
> > https://lists.nongnu.org/mailman/listinfo/monit-general 
> > <https://lists.nongnu.org/mailman/listinfo/monit-general>
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general 
> <https://lists.nongnu.org/mailman/listinfo/monit-general>
> 
> 
> 
> -- 
> Geoff Goas
> Systems Engineer
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general 
> <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

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to