monitoring-plugins icon indicating copy to clipboard operation
monitoring-plugins copied to clipboard

mailq: Warn on age, not only on count

Open xeiss opened this issue 1 year ago • 1 comments

Describe the solution you'd like

Additional warn/crit alert possibility for the age of the oldest mail in queue. Default 1 Hour warn, no crit per default. Warn count default could then be higher, maybe 10. Perfdata could be still the count, but also maybe the age of the oldest mail in seconds.

Additional context

For my mailq monitoring i don't really want to get an alert on the count. Because 100 mails in queue are fine (on some systems), when they will get sent within some minutes. But already 1 mail, which is stuck for more then one hour is for me more interessting in monitoring.

xeiss avatar Oct 02 '24 09:10 xeiss

Thank you for your suggestion, sounds reasonable.

markuslf avatar Oct 04 '24 14:10 markuslf