[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit db9092be2cb3557751526500fbb2343a398457a4
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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());

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits