Skip to content

Commit

Permalink
docs/Telegraf: small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ukkopahis committed May 1, 2022
1 parent f0b3226 commit 2325385
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/Containers/Telegraf.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ The first time you launch the Telegraf container, the following structure will b
```
~/IOTstack/volumes/telegraf
├── [drwxr-xr-x root ] additions
│   ├── [-rw-r--r-- root ] inputs.docker.conf
│   └── [-rw-r--r-- root ] inputs.mqtt_consumer.conf
├── [-rw-r--r-- root ] telegraf.conf
└── [-r--r--r-- root ] telegraf-reference.conf
Expand All @@ -204,7 +203,7 @@ The file:
- is created by removing all comment lines and blank lines from `telegraf-reference.conf`, leaving only the "active" configuration options, and then adding options necessary for IOTstack.
- is less than 30 lines and is significantly easier to understand than `telegraf-reference.conf`.

* `inputs.docker.conf` – see [Applying optional additions](#optionalAdditions) below.
* `inputs.mqtt_consumer.conf` – see [Applying optional additions](#optionalAdditions) below.

The intention of this structure is that you:

Expand All @@ -227,7 +226,7 @@ $ docker-compose restart telegraf
``` console
$ echo $(cat /boot/cmdline.txt) cgroup_memory=1 cgroup_enable=memory | sudo tee /boot/cmdline.txt
```
* `inputs.cpu_temp.conf' collects cpu temperature.
* `inputs.cpu_temp.conf` collects cpu temperature.

### <a name="optionalAdditions"></a>Applying optional additions

Expand Down

0 comments on commit 2325385

Please sign in to comment.