Your message dated Mon, 01 Mar 2010 22:16:15 +0200
with message-id <[email protected]>
and subject line #567895,Plugin: df_abs: make total graph optional by config 
option
has caused the Debian Bug report #567895,
regarding Plugin: df_abs: make total graph optional by config option
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
567895: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567895
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: munin-node
Version: 1.4.3-2
Severity: wishlist
Tags: patch

Hi!

I just noticed the new total graph in the df_abs diagrams and find it mostly
usefull but in some cases also irritating. The attached patch makes df_abs
mind a new env var $nototal and disables the total graph when it's  set to
true.
Cheers
Daniel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-dhr (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages munin-node depends on:
ii  adduser                   3.112          add and remove users and groups
ii  gawk                      1:3.1.6.dfsg-4 GNU awk, a pattern scanning and pr
ii  libnet-server-perl        0.97-1         An extensible, general perl server
ii  lsb-base                  3.2-23         Linux Standard Base 3.2 init scrip
ii  munin-common              1.4.3-2        network-wide graphing framework (c
ii  perl                      5.10.1-9       Larry Wall's Practical Extraction 
ii  procps                    1:3.2.8-2      /proc file system utilities
--- df_abs.org  2010-02-01 01:45:43.651144907 +0100
+++ df_abs      2010-02-01 01:45:13.167645243 +0100
@@ -15,6 +15,7 @@
   env.exclude  - space separated list of file system types to exclude
   env.warning  - Warning percentage
   env.critical - Critical percentage
+  env.nototal  - disable total graph in diagrams [true|false]
 
 =head2 DEFAULT CONFIGURATION
 
@@ -64,7 +65,7 @@
        echo 'graph_args --base 1024 --lower-limit 0'
        echo 'graph_vlabel bytes'
        echo 'graph_category disk'
-       echo 'graph_total Total'
+       [ "$nototal" != "true" ] && echo 'graph_total Total'
        df -P -l $exclude | sed 1d | grep -v "//" | 
        while read dev size used avail cap mnt; do
                name="$(clean_fieldname $dev)"

--- End Message ---
--- Begin Message ---
Version: 1.4.4-1

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to