Skip to content

Instantly share code, notes, and snippets.

@mercurytoxic
Last active April 6, 2022 16:05
Show Gist options
  • Save mercurytoxic/b5db260a458aa91f98f90ceb6c4779ee to your computer and use it in GitHub Desktop.
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
--- 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;
@mercurytoxic
Copy link
Author

Used in the esx_ munin plugin
-== Munin plugin for VMware ESXi/vSphere monitoring ==-

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