From b339c765600d0a20481bae4ef869099a94cb3f15 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 18 Oct 2007 12:39:26 -0700 Subject: [PATCH] munin: remove extra blank line from config output --- misc/munin/tahoe-dirnodes.py | 3 +-- misc/munin/tahoe-files.py | 4 ++-- misc/munin/tahoe-sharesperfile.py | 4 ++-- misc/munin/tahoe-storagespace.py | 4 ++-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/misc/munin/tahoe-dirnodes.py b/misc/munin/tahoe-dirnodes.py index 02944ab5..dc35b57a 100644 --- a/misc/munin/tahoe-dirnodes.py +++ b/misc/munin/tahoe-dirnodes.py @@ -22,8 +22,7 @@ graph_vlabel dirnodes graph_category tahoe graph_info This graph shows the number of directory nodes hosted by this vdrive server dirnodes.label dirnodes -dirnodes.draw LINE2 -""" +dirnodes.draw LINE2""" if len(sys.argv) > 1: diff --git a/misc/munin/tahoe-files.py b/misc/munin/tahoe-files.py index 7993c76c..f41e1b32 100644 --- a/misc/munin/tahoe-files.py +++ b/misc/munin/tahoe-files.py @@ -31,8 +31,8 @@ configinfo = \ """graph_title Allmydata Tahoe Filecount graph_vlabel files graph_category tahoe -graph_info This graph shows the number of files hosted by this node's StorageServer -""" +graph_info This graph shows the number of files hosted by this node's StorageServer""" + for nodename, basedir in nodedirs: configinfo += "%s.label %s\n" % (nodename, nodename) configinfo += "%s.draw LINE2\n" % (nodename,) diff --git a/misc/munin/tahoe-sharesperfile.py b/misc/munin/tahoe-sharesperfile.py index 455d5f25..4f0593c5 100644 --- a/misc/munin/tahoe-sharesperfile.py +++ b/misc/munin/tahoe-sharesperfile.py @@ -31,8 +31,8 @@ configinfo = \ """graph_title Allmydata Tahoe Shares Per File graph_vlabel shares per file graph_category tahoe -graph_info This graph shows the number of shares present for each file hosted by this node's StorageServer -""" +graph_info This graph shows the number of shares present for each file hosted by this node's StorageServer""" + for nodename, basedir in nodedirs: configinfo += "%s.label %s\n" % (nodename, nodename) configinfo += "%s.draw LINE2\n" % (nodename,) diff --git a/misc/munin/tahoe-storagespace.py b/misc/munin/tahoe-storagespace.py index 87339292..7983af5e 100644 --- a/misc/munin/tahoe-storagespace.py +++ b/misc/munin/tahoe-storagespace.py @@ -34,8 +34,8 @@ configinfo = \ """graph_title Allmydata Tahoe Shareholder Space graph_vlabel bytes graph_category tahoe -graph_info This graph shows the space consumed by this node's StorageServer -""" +graph_info This graph shows the space consumed by this node's StorageServer""" + for nodename, basedir in nodedirs: configinfo += "%s.label %s\n" % (nodename, nodename) configinfo += "%s.draw LINE2\n" % (nodename,) -- 2.45.2