On 28.07.24 16:59, Christophe Kalt via Postfix-users wrote:
How do folks monitor the health of their postfix installations?

log monitoring seems to be essential, rates of warning/error messages
seem meaningful.  Then there are the statistics regularly emitted, but
these seem more indicative of busyness.

Finally, monitoring queue sizes is probably advisable. Am I better off
looking at the filesystem directly or using "postqueue -j"? postqueue
offers additional details, but I'm wondering about the overhead over just
looking at counts.

Generally we use simple script that calls this for every postfix instance and count lines:

postmulti -x postqueue -j|wc -l

most of the time it's enough, but if you use different instances for incoming/outgoing mail, it may make sense to monitor them separately.


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to