Skip to content
Snippets Groups Projects
Unverified Commit 84ce9629 authored by Daniel Nelson's avatar Daniel Nelson
Browse files

Tweak formatting of varnish README

parent 3c14b46f
No related branches found
No related tags found
No related merge requests found
......@@ -374,18 +374,17 @@ other::---
```
**Sudo privileges**:
```bash
# If you use this method, you will need the following in your telegraf config:
If you use this method, you will need the following in your telegraf config:
```toml
[[inputs.varnish]]
use_sudo = true
```
You will also need to update your sudoers file:
```bash
$ visudo
# Add the following line:
telegraf ALL=(ALL) NOPASSWD: /usr/bin/varnishstat
$ grep varnish /etc/sudoers
telegraf ALL = NOPASSWD: /usr/bin/varnishstat
```
Please use the solution you see as most appropriate.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment