projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0700cca
)
munin stats: change truncated nodeid to 4 char (not 8)
author
robk-tahoe
<robk-tahoe@allmydata.com>
Fri, 1 Feb 2008 02:21:17 +0000
(19:21 -0700)
committer
robk-tahoe
<robk-tahoe@allmydata.com>
Fri, 1 Feb 2008 02:21:17 +0000
(19:21 -0700)
misc/munin/tahoe-stats.py
patch
|
blob
|
history
diff --git
a/misc/munin/tahoe-stats.py
b/misc/munin/tahoe-stats.py
index 1f09b3c33027ececb1940a729496f7a4b8945a92..766f22460f953d174941b8cf4964c89a144ceab9 100644
(file)
--- a/
misc/munin/tahoe-stats.py
+++ b/
misc/munin/tahoe-stats.py
@@
-124,7
+124,7
@@
def main(argv):
def output_nodes(output_section):
for tubid, nodestats in stats.items():
- name = smash_name("%s_%s" % (nodestats['nickname'], tubid[:
8
]))
+ name = smash_name("%s_%s" % (nodestats['nickname'], tubid[:
4
]))
#value = nodestats['stats'][plugin_conf['category']].get(plugin_conf['statid'])
category = plugin_conf['category']
statid = plugin_conf['statid']