[tor-commits] [metrics-web/master] Warn if maatuska doesn't include bwauth results in its vote.

karsten at torproject.org karsten at torproject.org
Tue Nov 1 09:32:50 UTC 2011


commit db9092be2cb3557751526500fbb2343a398457a4
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Tue Nov 1 10:31:44 2011 +0100

    Warn if maatuska doesn't include bwauth results in its vote.
---
 src/org/torproject/chc/NagiosReport.java |    2 +-
 src/org/torproject/chc/StdOutReport.java |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/org/torproject/chc/NagiosReport.java b/src/org/torproject/chc/NagiosReport.java
index 341d68b..e7f5d03 100644
--- a/src/org/torproject/chc/NagiosReport.java
+++ b/src/org/torproject/chc/NagiosReport.java
@@ -229,7 +229,7 @@ public class NagiosReport implements Report {
   /* Check if any bandwidth scanner results are missing. */
   private void checkBandwidthScanners() {
     SortedSet<String> missingBandwidthScanners = new TreeSet<String>(
-        Arrays.asList("ides,urras,moria1,gabelmoo".split(",")));
+        Arrays.asList("ides,urras,moria1,gabelmoo,maatuska".split(",")));
     SortedSet<String> runningBandwidthScanners = new TreeSet<String>();
     for (Status vote : this.downloadedVotes) {
       if (vote.getBandwidthWeights() > 0) {
diff --git a/src/org/torproject/chc/StdOutReport.java b/src/org/torproject/chc/StdOutReport.java
index 850ecc0..3512480 100644
--- a/src/org/torproject/chc/StdOutReport.java
+++ b/src/org/torproject/chc/StdOutReport.java
@@ -273,7 +273,7 @@ public class StdOutReport implements Report {
   /* Check if any bandwidth scanner results are missing. */
   private void checkBandwidthScanners() {
     SortedSet<String> missingBandwidthScanners = new TreeSet<String>(
-        Arrays.asList("ides,urras,moria1,gabelmoo".split(",")));
+        Arrays.asList("ides,urras,moria1,gabelmoo,maatuska".split(",")));
     for (Status vote : this.downloadedVotes) {
       if (vote.getBandwidthWeights() > 0) {
         missingBandwidthScanners.remove(vote.getNickname());



More information about the tor-commits mailing list