[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit keeps resending the same email

From: Alex Brown
Subject: Re: Monit keeps resending the same email
Date: Fri, 5 Sep 2014 15:02:12 -0500

I see the following in the log file.
[CDT Sep  5 11:53:39] error    : Sendmail error: 500 Command not implemented
[CDT Sep  5 11:53:39] error    : Alert handler failed, retry scheduled
for next cycle

monitrc file
set mailserver  port 587 username "REMOVED FOR

Fedora uses ssmtp as a sendmail replacement and it contains the exact
same info as monitrc.

The permissions for /var/monit are 700 with root:root owner:group but
monit runs as root so that shouldn't be an issue.

Deliberately broke the smtp info in monitrc.
Saw monit queue up a couple of alerts.
Changed permissions on /var/monit to 777
Fixed smtp info
Alerts sent once and files removed.

There was no monit user or monit group created when I installed it. It
looks like it's running under root to me but I admit I'm not 100%

Thanks for your quick resonse.

On Fri, Sep 5, 2014 at 12:16 PM, Martin Pala <address@hidden> wrote:
> Hello,
> please check Monit log ... there was probably some problem - either the 
> mailserver returned error the there was problem when it tried to remove the 
> queued file (such as permissions).
> Regards,
> Martin
> On 05 Sep 2014, at 19:13, Alex Brown <address@hidden> wrote:
>> While changing monit settings for my site I screwed up the regular
>> expression matching and monit generated an alert email as it should.
>> I fixed the problem but monit kept sending me emails saying it was not
>> matching. I finally noticed that the email was the same timestamp.
>> I removed the files from /var/monit and everything works now. Why does
>> monit not remove the cached alerts after it emails them?
>> --
>> __________________________________________________________________________
>> Alex Brown
>> address@hidden
>> --
>> To unsubscribe:
> --
> To unsubscribe:


Alex Brown

reply via email to

[Prev in Thread] Current Thread [Next in Thread]