summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Maguire <andrewm4894@gmail.com>2022-11-09 17:30:06 +0000
committerGitHub <noreply@github.com>2022-11-09 19:30:06 +0200
commit4b39609c35fceae5374fd051c0b987eb708312f6 (patch)
treeb54540e250176c0ffee0ba1b15117250417597a1
parent44a75ea996268466c38b596294677f3b80350103 (diff)
document password param for tor collector (#13966)
-rw-r--r--collectors/python.d.plugin/tor/README.md2
-rw-r--r--collectors/python.d.plugin/tor/tor.conf2
2 files changed, 4 insertions, 0 deletions
diff --git a/collectors/python.d.plugin/tor/README.md b/collectors/python.d.plugin/tor/README.md
index 3e7b8997ac..b57d77c087 100644
--- a/collectors/python.d.plugin/tor/README.md
+++ b/collectors/python.d.plugin/tor/README.md
@@ -41,10 +41,12 @@ priority : 60000
local_tcp:
name: 'local'
control_port: 9051
+ password: <password> # if required
local_socket:
name: 'local'
control_port: '/var/run/tor/control'
+ password: <password> # if required
```
### prerequisite
diff --git a/collectors/python.d.plugin/tor/tor.conf b/collectors/python.d.plugin/tor/tor.conf
index 91b517a624..bf09b21fe1 100644
--- a/collectors/python.d.plugin/tor/tor.conf
+++ b/collectors/python.d.plugin/tor/tor.conf
@@ -71,7 +71,9 @@
# local_tcp:
# name: 'local'
# control_port: 9051
+# password: <password>
#
# local_socket:
# name: 'local'
# control_port: '/var/run/tor/control'
+# password: <password>