mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Remove quotes in plugin env parameters
Setting `env.torconnectmethod 'port'` leads to the error: ``` munin-run tor_bandwidth env.torconnectmethod contains an invalid value. Please specify either 'port' or 'socket'. ``` Removing the quotes solves that, because the quotes are part of the variable value. ["There is no need to quote the variable content."](http://guide.munin-monitoring.org/en/stable-2.0/plugin/use.html)
This commit is contained in:
parent
33f10211f8
commit
e1731c787e
1 changed files with 8 additions and 8 deletions
|
@ -27,23 +27,23 @@ The default configuration is below
|
||||||
[tor_*]
|
[tor_*]
|
||||||
user toranon # or any other user/group that is running tor
|
user toranon # or any other user/group that is running tor
|
||||||
group toranon
|
group toranon
|
||||||
env.torcachefile 'munin_tor_country_stats.json'
|
env.torcachefile munin_tor_country_stats.json
|
||||||
env.torconnectmethod 'port'
|
env.torconnectmethod port
|
||||||
env.torgeoippath '/usr/share/GeoIP/GeoIP.dat'
|
env.torgeoippath /usr/share/GeoIP/GeoIP.dat
|
||||||
env.tormaxcountries 15
|
env.tormaxcountries 15
|
||||||
env.torport 9051
|
env.torport 9051
|
||||||
env.torsocket '/var/run/tor/control'
|
env.torsocket /var/run/tor/control
|
||||||
|
|
||||||
To make it connect through a socket modify this way
|
To make it connect through a socket modify this way
|
||||||
[tor_*]
|
[tor_*]
|
||||||
user toranon # or any other user/group that is running tor
|
user toranon # or any other user/group that is running tor
|
||||||
group toranon
|
group toranon
|
||||||
env.torcachefile 'munin_tor_country_stats.json'
|
env.torcachefile munin_tor_country_stats.json
|
||||||
env.torconnectmethod 'socket'
|
env.torconnectmethod socket
|
||||||
env.torgeoippath '/usr/share/GeoIP/GeoIP.dat'
|
env.torgeoippath /usr/share/GeoIP/GeoIP.dat
|
||||||
env.tormaxcountries 15
|
env.tormaxcountries 15
|
||||||
env.torport 9051
|
env.torport 9051
|
||||||
env.torsocket '/var/run/tor/control'
|
env.torsocket /var/run/tor/control
|
||||||
|
|
||||||
=head1 COPYRIGHT
|
=head1 COPYRIGHT
|
||||||
MIT License
|
MIT License
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue