commit 0972f330efb6e947d60e7b1db631abe37fbc2094 Author: Damian Johnson atagar@torproject.org Date: Sun Aug 31 12:31:42 2014 -0700
Enabling check for unmeasured relays
Sebastian says he'd find these numbers useful so enabling the check. We're already alerting for other NOTICE runlevel issues so this shouldn't appreciably add to the noise.
Also lowering the threshold of the alert to 5%. --- consensus_health_checker.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/consensus_health_checker.py b/consensus_health_checker.py index fde03aa..25a1143 100755 --- a/consensus_health_checker.py +++ b/consensus_health_checker.py @@ -233,8 +233,7 @@ def run_checks(consensuses, votes): consensuses_have_same_votes, has_all_signatures, voting_bandwidth_scanners, - # TODO: enable when the bandwidth scanners are fixed (#12989) - #unmeasured_relays, + unmeasured_relays, has_authority_flag, is_recommended_versions, bad_exits_in_sync, @@ -491,7 +490,7 @@ def unmeasured_relays(latest_consensus, consensuses, votes): total = len(vote.routers) percentage = 100 * unmeasured / total
- if percentage >= 10: + if percentage >= 5: issues.append(Issue(Runlevel.NOTICE, 'TOO_MANY_UNMEASURED_RELAYS', authority = authority, unmeasured = unmeasured, total = total, percentage = percentage))
return issues