|
From: | Guillaume François |
Subject: | Re: Periodic Heartbeat EMails |
Date: | Thu, 26 Jan 2017 16:44:45 +0100 |
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 <address@hidden> 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 (address@hidden(mailto:paddress@hidden )) 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)
> set statefile /apps/state
>
> set mailserver smtp.gmail.com(http://smtp.gmail.com ) port 587
> username "address@hidden(mailto:address@hiddenm )" password "aaa"
> using tlsv12
>
> set httpd port 2182
> allow aaa:aaa
> signature disable
>
> set alert address@hidden(mailto:address@hidden)
>
> #-- HEARTBEAT --------------------------------------------------------- > Paul Tiseo, address@hidden(mailto:pa
> check host agp-heartbeat address 127.0.0.1 every 2 cycles
> if failed ping then alert
> else if succeeded then alert
> --
> Thanks.
>
> _______________________________
address@hidden )
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
Geoff Goas
Systems Engineer
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |