Comment 5 for bug 483897

Revision history for this message
Jürgen Kreileder (jk) wrote :

Here's a simple test plug-in. It just builds a stack from 3 constant values. With the attached version, you'll get errors in /var/log/munin/munin-graph.log:

[...] ERROR: First field ("f2") of graph [...] "b483897" is STACK. STACK can only be drawn after a LINEx or AREA.
[...] ERROR: First field ("f3") of graph [...] "b483897" is STACK. STACK can only be drawn after a LINEx or AREA.

If you remove the 3 colour lines from the script (i.e., if you let munin choose the colors itself) the errors go away.
As said in the original report, the logic behind the STACK–LINEx/AREA test is broken if fields have custom colors.