** Description changed:

  [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.
+ 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.
- The rrdtool is told by the graph to draw STACK followed by an AREA which 
fails.
+ Generate large amount of email to exim:
+   while (true); do echo Test | mailx "ubu...@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.

** Description changed:

  [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.
+ Open the exim_mailqueue graph in munin (http://localhost/munin).
  Generate large amount of email to exim:
-   while (true); do echo Test | mailx "ubu...@dev.null"; done
+   while (true); do echo Test | mailx "ubu...@dev.null"; done
  Freeze some of the messages:
-   exim -bp (queue listing)
-   exim -Mf MSG_ID
+   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.
+   - 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.

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

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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to