[Bug 598385] Re: [SRU] munin plugin exim_mailqueue has incorrect graph configuration

Micah Gersten launchpad at micahscomputing.com
Tue May 22 06:55:11 UTC 2012


This has already been uploaded to precise-proposed, removing sponsors

** Changed in: munin (Ubuntu Precise)
       Status: In Progress => Fix Committed

** Changed in: munin (Ubuntu Precise)
     Assignee: Micah Gersten (micahg) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/598385

Title:
  [SRU] munin plugin exim_mailqueue has incorrect graph configuration

Status in Munin:
  Fix Released
Status in “munin” package in Ubuntu:
  Fix Released
Status in “munin” source package in Precise:
  Fix Committed
Status in “munin” source package in Quantal:
  Fix Released

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://localhost/munin).
  Generate large amount of email to exim:
    while (true); do echo Test | mailx "ubuntu at dev.null"; done
  Freeze some of the messages:
    exim -bp (queue listing)
    exim -Mf MSG_ID
  Wait for graphs to render in http://localhost/munin.
    - 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://munin-monitoring.org/changeset/4597

  [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/munin/plugins/exim_mailqueue

  [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/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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/munin/+bug/598385/+subscriptions



More information about the Ubuntu-sponsors mailing list