]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
munin diskusage/doomsday: oops, fix labels, everything was reported in the 1hr column
authorBrian Warner <warner@allmydata.com>
Mon, 11 Aug 2008 20:34:31 +0000 (13:34 -0700)
committerBrian Warner <warner@allmydata.com>
Mon, 11 Aug 2008 20:34:31 +0000 (13:34 -0700)
misc/munin/tahoe_diskusage
misc/munin/tahoe_doomsday

index 8f7fdfcbd122d41b002e3838a03df23f3ec367ea..54daf76605ffc5720489e0f9c54344ef453f239e 100644 (file)
@@ -32,8 +32,8 @@ data = dict([(name, growth)
 if "1hr" in data:
     print "rate_1hr.value", data["1hr"]
 if "1day" in data:
-    print "rate_1hr.value", data["1day"]
+    print "rate_1day.value", data["1day"]
 if "2wk" in data:
-    print "rate_1hr.value", data["2wk"]
+    print "rate_2wk.value", data["2wk"]
 if "4wk" in data:
-    print "rate_1hr.value", data["4wk"]
+    print "rate_4wk.value", data["4wk"]
index e200696391033689474c0876155a4205431398a3..ad6b9a427d1a47aaab2b65ef5b6d6b4420904e80 100644 (file)
@@ -33,8 +33,8 @@ DAY = 24*60*60
 if "1hr" in data:
     print "days_1hr.value", data["1hr"]/DAY
 if "1day" in data:
-    print "days_1hr.value", data["1day"]/DAY
+    print "days_1day.value", data["1day"]/DAY
 if "2wk" in data:
-    print "days_1hr.value", data["2wk"]/DAY
+    print "days_2wk.value", data["2wk"]/DAY
 if "4wk" in data:
-    print "days_1hr.value", data["4wk"]/DAY
+    print "days_4wk.value", data["4wk"]/DAY