[SRU] munin plugin exim_mailqueue has incorrect graph configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
munin |
Fix Released
|
Unknown
|
|||
munin (Ubuntu) |
Fix Released
|
Medium
|
Vibhav Pant | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Vibhav Pant | ||
Quantal |
Fix Released
|
Medium
|
Vibhav Pant |
Bug Description
[Impact]
The exim_mailqueue graph 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 correctly with large amounts of whitespece.
[Steps To Reproduce]
Install munin, munin-node and exim4
Open the exim_mailqueue graph in munin (http://
Generate large amount of email to exim:
while (true); do echo Test | mailx "<email address hidden>"; done
Freeze some of the messages:
exim -bp (queue listing)
exim -Mf MSG_ID
Wait for graphs to render in http://
- Graph is displayed with blue 'frozen' messages at the bottom an a while stacked 'green' line for queue size - should be the other way round with no whitespace.
[Development Fix]
Cherry picked patch from upstream VCS - http://
[Stable Fix]
Same as development fix
[Regression Potential]
Low, only changes the order of the drawn graphs + already accepted upstream.
[Workaround]
This can be corrected by swapping AREA and STACK in /usr/share/
[Original Bug Report]
Binary package hint: munin
The exim_mailqueue graph 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/
zen-g.rrd: STACK must follow LINE or AREA! command:
This can be corrected by swapping AREA and STACK in /usr/share/
tags: | added: patch |
Changed in munin: | |
status: | Unknown → New |
tags: |
added: patch-forwarded-upstream removed: patch |
Changed in munin: | |
status: | New → Fix Released |
tags: | added: patch patch-accepted-upstream |
tags: | removed: patch-forwarded-upstream |
Changed in munin (Ubuntu): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
Changed in munin (Ubuntu Quantal): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
Changed in munin (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in munin (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in munin (Ubuntu Quantal): | |
importance: | Undecided → Medium |
Changed in munin (Ubuntu Precise): | |
importance: | Undecided → Medium |
summary: |
- munin plugin exim_mailqueue has incorrect graph configuration + [SRU] munin plugin exim_mailqueue has incorrect graph configuration |
description: | updated |
description: | updated |
description: | updated |
Changed in munin (Ubuntu Precise): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in munin (Ubuntu Oneiric): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
status: | New → In Progress |
Changed in munin (Ubuntu Precise): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
Changed in munin (Ubuntu Lucid): | |
assignee: | nobody → Vibhav Pant (vibhavp) |
status: | New → In Progress |
Changed in munin (Ubuntu Lucid): | |
status: | In Progress → Incomplete |
assignee: | Vibhav Pant (vibhavp) → nobody |
tags: |
added: verification-done removed: verification-needed |
Changed in munin (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.1 |
Changed in munin (Ubuntu Oneiric): | |
assignee: | Vibhav Pant (vibhavp) → nobody |
Thank you for your bug report, I have forwarded it upstream - also to get feedback on the correctness of the patch: I am not sure if the whole blocks should get swapped instead - or if it does matter at all.
Can you elaborate on your fix maybe (e.g. what STACK and AREA stand for)? (sorry for being ignorant of looking this up myself)