Last active
April 6, 2022 16:05
-
-
Save mercurytoxic/b5db260a458aa91f98f90ceb6c4779ee to your computer and use it in GitHub Desktop.
Band aid for munin for error when "RRD filename incorrect for nested multigraphs" taken from https://web.archive.org/web/20171006032217/http://munin-monitoring.org/ticket/1224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- GraphOld.pm.orig 2012-03-06 14:42:14.000000000 +0100 | |
+++ GraphOld.pm 2012-04-17 10:08:14.000000000 +0200 | |
@@ -754,7 +754,6 @@ | |
# Getting name of rrd file | |
$filename = munin_get_rrd_filename($field, $path); | |
+ $filename =~ s!(.+)/!$1-! unless (-e $filename); | |
my $update = RRDs::last($filename); | |
$update = 0 if !defined $update; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used in the esx_ munin plugin
-== Munin plugin for VMware ESXi/vSphere monitoring ==-