From 1e024d5e82b71408e4ee3b3d394aa30f1af74b3d Mon Sep 17 00:00:00 2001 From: Brian Warner <warner@allmydata.com> Date: Tue, 18 Nov 2008 15:32:38 -0700 Subject: [PATCH] munin/tahoe_introstats: add line for distinct-storage-hosts (which counts machines instead of nodes) --- misc/munin/tahoe_introstats | 3 +++ 1 file changed, 3 insertions(+) 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"] -- 2.45.2