[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M/Monit host alerts
From: |
Martin Pala |
Subject: |
Re: M/Monit host alerts |
Date: |
Sat, 2 Jul 2016 17:38:08 +0200 |
Hi,
monit stop event is not error ... it is just state change. The error reminder
won't be able to resent the event, as the is no active error related to it.
As a workaround, you may disable graceful monit stop when you stop the machine
- then M/Monit will fire a heartbeat alert and the reminder will work.
Best regards,
Martin
> On 30 Jun 2016, at 18:05, Philippe Wooding <address@hidden> wrote:
>
> Hi everyone,
>
> I'm trying to setup M/Monit to send recurring alerts in case Monit on one of
> the hosts is stopped.
> If I kill monit on a host, I end up receiving a heartbeat failed alert and it
> gets resent every 5 minutes as configured.
> However, if I stop monit on a host, I get an alert warning me the instance
> was stopped, but I don’t get anything after that.
> I guess the logic here is that since I stopped the service, I probably don’t
> want to get recurring notifications.
> My problem is that on one occasion, following a reboot, monit for some reason
> didn’t restart on a host and of course, I had no way of knowing without
> checking the M/Monit interface.
>
> Is it therefore possible to get recurring alerts if M/Monit looses contact
> with one the hosts (when host is marked as inactive)?
>
> Thanks,
>
> Philippe
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
signature.asc
Description: Message signed with OpenPGP using GPGMail
- Re: M/Monit host alerts,
Martin Pala <=