This repository was archived by the owner on May 1, 2020. It is now read-only.
File tree 4 files changed +12
-5
lines changed
4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,19 @@ Requires the stem library (https://stem.torproject.org/).
7
7
8
8
9
9
#### tor_connections
10
- ![ alt tor_connections] ( https://i.imgur.com/LAkcKD0.png )
10
+ ![ alt tor_connections] ( https://i.imgur.com/LAkcKD0.png )
11
11
` ln -s /usr/share/munin/plugins/tor_ /etc/munin/plugins/tor_connections `
12
12
13
13
#### tor_traffic
14
- ![ alt tor_traffic] ( https://i.imgur.com/YXLZHGa.png )
14
+ ![ alt tor_traffic] ( https://i.imgur.com/YXLZHGa.png )
15
15
` ln -s /usr/share/munin/plugins/tor_ /etc/munin/plugins/tor_traffic `
16
16
17
+ #### tor_dormant
18
+ ` ln -s /usr/share/munin/plugins/tor_ /etc/munin/plugins/tor_dormant `
19
+
20
+ #### tor_countries
21
+ ` ln -s /usr/share/munin/plugins/tor_ /etc/munin/plugins/tor_countries `
22
+
17
23
#### Using password authentication
18
24
19
25
Create a hashed password:
Original file line number Diff line number Diff line change @@ -125,5 +125,5 @@ def top_countries(self):
125
125
c = Counter (self ._gen_countries (controller ))
126
126
return sorted (c .most_common (self .max_countries ))
127
127
except stem .connection .AuthenticationFailure as e :
128
- print ('Authencation failed ({})' .format (e ))
128
+ print ('Authentication failed ({})' .format (e ))
129
129
return []
Original file line number Diff line number Diff line change 1
1
stem
2
+ GeoIP
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def fetch(self):
139
139
for state , count in states .iteritems ():
140
140
print ('{}.value {}' .format (state .lower (), count ))
141
141
except stem .connection .AuthenticationFailure as e :
142
- print ('Authencation failed ({})' .format (e ))
142
+ print ('Authentication failed ({})' .format (e ))
143
143
144
144
145
145
class TorDormant (TorPlugin ):
@@ -167,7 +167,7 @@ def fetch(self):
167
167
sys .exit (- 1 )
168
168
print ('dormant.value {}' .format (response ))
169
169
except stem .connection .AuthenticationFailure as e :
170
- print ('Authencation failed ({})' .format (e ))
170
+ print ('Authentication failed ({})' .format (e ))
171
171
172
172
173
173
class TorTraffic (TorPlugin ):
You can’t perform that action at this time.
0 commit comments