Werk #20109: Qmail Queue: Fix failing parsing of the qmail_stats section
| Component | Checks & agents | ||||
| Title | Qmail Queue: Fix failing parsing of the qmail_stats section | ||||
| Date | Aug 5, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
The Check_MK service on hosts running qmail reported WARN with
Parsing of section qmail_stats failed
and the Qmail Queue service stopped receiving data. This regression was introduced in Checkmk 2.5.0.
The agent forwards the output of qmail-qstat verbatim, for example
messages in queue: 0
messages in queue but not yet preprocessed: 0
The number of messages in the queue is the last field of the first line. The
plug-in read the first field instead — the word messages — and failed while
converting it to a number, which made the whole section unparsable.
Output that carries no queue length at all no longer breaks the section either. In that case the Qmail Queue service now reports that no data is available.