munin plugin exim_mailqueue has incorrect graph configuration (STACK/AREA order)
|Reported by:||blueyed||Owned by:||snide|
The exim_mailqueue graph (in munin-node 1.4.4-1ubuntu1) tells rrdtool to draw first a STACK (for 'mails') and then an AREA (for 'frozen'). This is invalid as STACK must follow AREA or LINE, and the graph does not render. The error message in the munin-graph log is as follows:
Jun 25 08:45:48 - ERROR: First field ("mails") of graph "[elided]" :: "[elided] :: "
exim_mailqueue" is STACK. STACK can only be drawn after a LINEx or AREA.
Jun 25 08:45:48 - Unable to graph /var/lib/munin/[elided]/[elided]-exim_mailqueue-fro
zen-g.rrd: STACK must follow LINE or AREA! command:
This can be corrected by swapping AREA and STACK in /usr/share/munin/plugins/exim_mailqueue. Patch attached.
(Forwarded from https://bugs.launchpad.net/ubuntu/+source/munin/+bug/598385)
rrdtool is likely to be version 1.3.8-1ubuntu1.
The proposed patch is attached to the Launchpad bug (http://launchpadlibrarian.net/50888620/exim_mailqueue.diff), but I am not sure if it is correct.