tags 514634 patch
thanks
On Mon, 09 Feb 2009, Peter Palfrader wrote:
> installing a fresh munin and changing graph_strategy immediately causes
> the munin-html job (which is still required) to fail:
> | + nice /usr/share/munin/munin-html
> | Cannot open /var/www/munin/localdomain/localhost.localdomain-cpu.html: No
> such f
>
> The localdomain directory in this case would have been created by
> munin-graph, but since the graph_strategy was changed to cgi it exits
> doing nothing.
--- munin-html 2009-02-09 18:32:26.000000000 +0100
+++ /usr/share/munin/munin-html 2009-02-09 18:33:45.000000000 +0100
@@ -180,6 +180,10 @@
push @nodeorder, $n;
}
}
+ unless (-d "$config->{htmldir}/$domain" ) {
+ mkdir("$config->{htmldir}/$domain") or
+ die "Cannot mkdir $config->{htmldir}/$domain: $!";
+ }
for my $node (@nodeorder) {
logger("processing node: $node");
my %node;
--
| .''`. ** Debian GNU/Linux **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]