pglister: monitor eximintegration queue with nagios?

Lists: pgsql-www
From: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
To: pgsql-www(at)postgresql(dot)org
Subject: pglister: monitor eximintegration queue with nagios?
Date: 2023-12-20 12:56:42
Message-ID: 36c3f6d5-e869-4e0f-82e3-77cec8382c48@cmatte.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

Would it make sense to add eximintegration.queue to nagios/pglister_queues.py?

Currently, the nagios process checks a lot of different queues, but not the eximintegration one. Would it make sense to add it?
A while ago, I had issues with archives, and that would have allowed me to detect them.
Exim can also be monitored directly with nagios, but as there's already a script to monitor all queues, that would simplify things.
--
Célestin Matte


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Célestin Matte <celestin(dot)matte(at)cmatte(dot)me>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: pglister: monitor eximintegration queue with nagios?
Date: 2023-12-20 19:23:18
Message-ID: CABUevEyZyb30OKGGzwwb-QMc9bV2EP7exXWOSkDi4_qJKRakUQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Wed, Dec 20, 2023 at 1:56 PM Célestin Matte <celestin(dot)matte(at)cmatte(dot)me> wrote:
>
> Would it make sense to add eximintegration.queue to nagios/pglister_queues.py?
>
> Currently, the nagios process checks a lot of different queues, but not the eximintegration one. Would it make sense to add it?
> A while ago, I had issues with archives, and that would have allowed me to detect them.
> Exim can also be monitored directly with nagios, but as there's already a script to monitor all queues, that would simplify things.

I guess we could in theory, but I'd recommend monitoring that through
exim directly for a more up-to-date view (the eximintegration part is
cached). And it's perfectly normal to have quite a bit of queue of
outgoing emails pending even when things work perfectly right, so
alerting on it would have to be fairly adaptive anyway.

--
Magnus Hagander
Me: https://www.hagander.net/
Work: https://www.redpill-linpro.com/