8 graph_title Tahoe Introducer Stats
11 graph_info This graph shows the number of hosts announcing and subscribing to various services
12 storage_server.label Storage Servers
13 storage_server.draw LINE1
14 storage_hosts.label Distinct Storage Hosts
15 storage_hosts.draw LINE1
16 storage_client.label Clients
17 storage_client.draw LINE2
21 if sys.argv[1] == "config":
22 print configinfo.rstrip()
25 url = os.environ["url"]
27 data = simplejson.loads(urllib.urlopen(url).read())
28 print "storage_server.value %d" % data["announcement_summary"]["storage"]
29 print "storage_hosts.value %d" % data["announcement_distinct_hosts"]["storage"]
30 print "storage_client.value %d" % data["subscription_summary"]["storage"]