Fix telegraf example arguments (#2788)
Many of the examples provided within documentation are using a single dash for the command line arguments, but the telegraf executable explicitly has two dashes. There are also some inconsistencies with the ordering of the command line argument examples. I've ordered them so that the examples will show: config, config-directory, input-filter, test
This commit is contained in:
committed by
Daniel Nelson
parent
f74687dcc0
commit
dd537b3382
@@ -46,7 +46,7 @@ cat /var/lib/puppet/state/last_run_summary.yaml
|
||||
```
|
||||
|
||||
```
|
||||
jcross@pit-devops-02 ~ >sudo ./telegraf_linux_amd64 -filter puppetagent -config tele.conf -test
|
||||
jcross@pit-devops-02 ~ >sudo ./telegraf_linux_amd64 --input-filter puppetagent --config tele.conf --test
|
||||
* Plugin: puppetagent, Collection 1
|
||||
> [] puppetagent_events_failure value=0
|
||||
> [] puppetagent_events_total value=0
|
||||
@@ -129,4 +129,4 @@ Meta:
|
||||
- tags: ``
|
||||
|
||||
Measurement names:
|
||||
- puppetagent_version_puppet
|
||||
- puppetagent_version_puppet
|
||||
|
||||
Reference in New Issue
Block a user