Package: munin
Version: 2.0.6-3
Severity: wishlist

When using cgi graphing the /var/lib/munin/cgi-tmp directory is filled
with images over time. The amount is limited by the number of plugins
and hosts, but if they change old files are never cleaned. Files in
there generally lose any validity after one day. I therefore propose
adding a daily cron job to remove old images.

$ cat /etc/cron.daily/munin-cgi-tmp
#!/bin/sh
find /var/lib/munin/cgi-tmp/ -type f -mtime +1 -delete
find /var/lib/munin/cgi-tmp/ -type d -mindepth 1 -empty -delete
$

As a little nitpickery, the directory should be located in /var/cache to
comply with FHS.

Helmut


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to