#1076291 munin: dynazoom.html stopped showing graphs recently (June 2024-ish)

#1076291#5
Date:
2024-07-13 19:09:28 UTC
From:
To:
Hi munin maintainers,

Thanks for maintaining munin, we use it at ci.debian.org (main node
running bookworm) to monitor our nodes. I regularly use the dynazoom
function [1] to be able to get more details. Yesterday I noticed that
the page doesn't show a graph anymore and I don't seem to be able to get
one. This happens with both firefox-esr and chromium on a trixie system
as well as in the browser on my Android phone (to try to rule out client
side changes being relevant).

Are you aware of recent changes in stable that might have caused the
issue in munin? Do you know workarounds? I noticed that the relevant
file lives in /etc, so it seems like it's supported to adjust the
functionality, but I have no idea where to start.

Paul

[1]
https://ci.debian.net/munin/static/dynazoom.html?cgiurl_graph=/munin-cgi/munin-cgi-graph&plugin_name=debian.net/ci-master.debian.net/debci_total_packages_processed

#1076291#10
Date:
2024-07-14 09:47:54 UTC
From:
To:
Hi Paul,

how strange. I can still see it working eg on
https://jenkins.debian.net/munin/static/dynazoom.html?cgiurl_graph=/munin-cgi/munin-cgi-graph&plugin_name=debian.net/osuosl3-amd64.debian.net/cpu&size_x=800&size_y=400&start_epoch=1720842158&stop_epoch=1720950158
but also on other munin instances I have available. (all running bookworm and
munin 2.0.73)

sorry, no.

#1076291#15
Date:
2024-07-14 10:19:09 UTC
From:
To:
Hi h01ger,

Hmm, so it's something on our side. I do see this in our apache2 error log:

[Sun Jul 14 10:04:11.645799 2024] [cgid:error] [pid 3298162:tid
139708239705792] [client WW.XX.YY.ZZ:55500] End of script output before
headers: munin-cgi-graph, referer:
https://ci.debian.net/munin/static/dynazoom.html?cgiurl_graph=/munin-cgi/munin-cgi-graph&plugin_name=debian.net/ci-master.debian.net/debci_total_packages_processed&size_x=800&size_y=400&start_epoch=1720843273&stop_epoch=1720951273

Do you have something similar, or is this suggesting where the problem
lies? Interestingly, that file hasn't changed in a year.

admin@ci-master:~$ ls -al /usr/lib/munin/cgi/munin-cgi-graph
-rwxr-xr-x 1 root root 14750 Mar 21  2023 /usr/lib/munin/cgi/munin-cgi-graph

Paul

#1076291#20
Date:
2024-07-14 11:26:48 UTC
From:
To:
Hi,

Recently we changed our configuration to enable ssh login to our nodes
to collect data (because of proxies in between). As part of that
configuration the permissions of /var/lib/munin changed and I'm
convinced that's causing the issue, as www-data no longer has access to
the data in that directory.

Sorry for the noise.

Paul

#1076291#21
Date:
2024-07-14 11:44:40 UTC
From:
To:
ah, good catch!

np at all, thanks for following up and closing this bug report!