From: Brian Warner Date: Thu, 18 Oct 2007 19:39:26 +0000 (-0700) Subject: munin: remove extra blank line from config output X-Git-Tag: allmydata-tahoe-0.7.0~364 X-Git-Url: https://git.rkrishnan.org/?a=commitdiff_plain;h=b339c765600d0a20481bae4ef869099a94cb3f15;p=tahoe-lafs%2Ftahoe-lafs.git munin: remove extra blank line from config output --- 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,)