Opened 3 years ago

Closed 3 months ago

#827 closed enhancement (fixed)

Feature to disable (user override) graph_total

Reported by: janl Owned by: nobody
Priority: normal Milestone: Munin 2.2
Component: plugins Version: 1.4.2
Severity: normal Keywords:
Cc:

Description

Patch from the users list posted by philipp niemann:

Index: master/lib/Munin/Master/GraphOld.pm
===================================================================
--- master/lib/Munin/Master/GraphOld.pm (revision 3243)
+++ master/lib/Munin/Master/GraphOld.pm (working copy)
@@ -1007,6 +1007,9 @@
     }
 
     my $graphtotal = munin_get($service, "graph_total");
+    if (defined $graphtotal and $graphtotal eq "undef") {
+        undef $graphtotal;
+    }
     if (@rrd_negatives) {
         push(@rrd, @rrd_negatives);
         push(@rrd, "LINE2:re_zero#000000");    # Redraw zero.

Change History (1)

comment:1 Changed 3 months ago by snide

  • Milestone changed from Munin 1.4.4 to Munin 2.1
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.