Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom palette does not work anymore ? #1637

Open
etieng opened this issue Oct 13, 2024 · 0 comments
Open

custom palette does not work anymore ? #1637

etieng opened this issue Oct 13, 2024 · 0 comments

Comments

@etieng
Copy link

etieng commented Oct 13, 2024

Describe the bug
I'm trying to setup a custom color palette for the graphs using the parameter custom_palette in munin.conf. Munin reports : Unknown keyword at end of left hand side of line 157 (custom_palette )

To Reproduce
Edit /etc/munin.conf
add in the general section :

palette custom_palette
custom_palette FFFF00 1CE6FF FF34FF FF4A46 008941 006FA6 A30059 FFDBE5 7A4900 0000A6 63FFAC 8FB0FF 997D87 5A0007 809693 FEFFE6 1B4400 4FC601 3B5DFF 4A3B53 FF2F80 61615A BA0900 6B7900 00C2A0 FFAA92 FF90C9 B903AA D16100  DEFFF 000035 7B4F4B A1C299 300018 0AA6D8 013349 00846F 372101 FFB500 C2FFED A079BF CC0744 C0B9B2 C2FF99 001E09 00489C 6F0062 0CBD66 EEC3FF 456D75 B77B68 7A87A1 788D66 885578 FAD09F FF8A9A D157A0 BEC459 456648 0086ED 886F4C 34362D B4A8BD 00A6AA 452C2C 636375 A3C8C9 FF913F 938A81 575329 00FECF B05B6F 8CD0FF 3B9700 04F757 C8A1A1 1E6E00 7900D7 A77500 6367A9 A05837 6B002C 772600 D790FF 9B9700 549E79 FFF69F 201625 72418F BC23FF 99ADC0 3A2465 922329 5B4534 FDE8DC 404E55 0089A3 CB7E98 A4E804 324E72 6A3A4C

run sudo -u munin /usr/bin/munin-cron

Expected behavior
Munin graph should use the custom palette.

Screenshots & Logs

[ERROR] config error under [] for 'custom_palette FFFF00 1CE6FF FF34FF FF4A46 008941 006FA6 A30059 FFDBE5 7A4900 0000A6 63FFAC 8FB0FF 997D87 5A0007 809693 FEFFE6 1B4400 4FC601 3B5DFF 4A3B53 FF2F80 61615A BA0900 6B7900 00C2A0 FFAA92 FF90C9 B903AA D16100  DEFFF 000035 7B4F4B A1C299 300018 0AA6D8 013349 00846F 372101 FFB500 C2FFED A079BF CC0744 C0B9B2 C2FF99 001E09 00489C 6F0062 0CBD66 EEC3FF 456D75 B77B68 7A87A1 788D66 885578 FAD09F FF8A9A D157A0 BEC459 456648 0086ED 886F4C 34362D B4A8BD 00A6AA 452C2C 636375 A3C8C9 FF913F 938A81 575329 00FECF B05B6F 8CD0FF 3B9700 04F757 C8A1A1 1E6E00 7900D7 A77500 6367A9 A05837 6B002C 772600 D790FF 9B9700 549E79 FFF69F 201625 72418F BC23FF 99ADC0 3A2465 922329 5B4534 FDE8DC 404E55 0089A3 CB7E98 A4E804 324E72 6A3A4C' : Parse error in /etc/munin/munin.conf for custom_palette:
 Unknown keyword at end of left hand side of line 158 (custom_palette )
 at /usr/share/munin/munin-update line 47.

Server

  • Debian 12.7
  • Munin Version 2.0.73-1

I think its related to #121 and I cannot see this code in lib/Munin/Master/Graph.pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant