From: Brian Warner Date: Tue, 18 Nov 2008 22:32:38 +0000 (-0700) Subject: munin/tahoe_introstats: add line for distinct-storage-hosts (which counts machines... X-Git-Tag: allmydata-tahoe-1.3.0~411 X-Git-Url: https://git.rkrishnan.org/listings/pb1server.py?a=commitdiff_plain;h=1e024d5e82b71408e4ee3b3d394aa30f1af74b3d;p=tahoe-lafs%2Ftahoe-lafs.git munin/tahoe_introstats: add line for distinct-storage-hosts (which counts machines instead of nodes) --- diff --git a/misc/munin/tahoe_introstats b/misc/munin/tahoe_introstats index 52c743c3..556762fb 100644 --- a/misc/munin/tahoe_introstats +++ b/misc/munin/tahoe_introstats @@ -11,6 +11,8 @@ graph_category tahoe graph_info This graph shows the number of hosts announcing and subscribing to various services storage_server.label Storage Servers storage_server.draw LINE1 +storage_hosts.label Distinct Storage Hosts +storage_hosts.draw LINE1 storage_client.label Clients storage_client.draw LINE2 """ @@ -24,5 +26,6 @@ url = os.environ["url"] data = simplejson.loads(urllib.urlopen(url).read()) print "storage_server.value %d" % data["announcement_summary"]["storage"] +print "storage_hosts.value %d" % data["announcement_distinct_hosts"]["storage"] print "storage_client.value %d" % data["subscription_summary"]["storage"]