Skip to content

Commit

Permalink
Fix telegraf example arguments (influxdata#2788)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zg authored and danielnelson committed May 12, 2017
1 parent f74687d commit dd537b3
Show file tree
Hide file tree
Showing 43 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion plugins/inputs/EXAMPLE_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ SELECT max(field1), mean(field1), min(field1) FROM measurement1 WHERE tag1=bar A
### Example Output:

```
$ telegraf -input-filter example -test
$ telegraf --input-filter example --test
measurement1,tag1=foo,tag2=bar field1=1i,field2=2.1 1453831884664956455
measurement2,tag1=foo,tag2=bar,tag3=baz field3=1i 1453831884664956455
```
2 changes: 1 addition & 1 deletion plugins/inputs/bcache/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Using this configuration:
When run with:

```
./telegraf -config telegraf.conf -input-filter bcache -test
./telegraf --config telegraf.conf --input-filter bcache --test
```

It produces:
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/ceph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ All measurements will have the following tags:
*Admin Socket Stats*

<pre>
telegraf -test -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d -input-filter ceph
telegraf --config /etc/telegraf/telegraf.conf --config-directory /etc/telegraf/telegraf.d --input-filter ceph --test
* Plugin: ceph, Collection 1
> ceph,collection=paxos, id=node-2,role=openstack,type=mon accept_timeout=0,begin=14931264,begin_bytes.avgcount=14931264,begin_bytes.sum=180309683362,begin_keys.avgcount=0,begin_keys.sum=0,begin_latency.avgcount=14931264,begin_latency.sum=9293.29589,collect=1,collect_bytes.avgcount=1,collect_bytes.sum=24,collect_keys.avgcount=1,collect_keys.sum=1,collect_latency.avgcount=1,collect_latency.sum=0.00028,collect_timeout=0,collect_uncommitted=0,commit=14931264,commit_bytes.avgcount=0,commit_bytes.sum=0,commit_keys.avgcount=0,commit_keys.sum=0,commit_latency.avgcount=0,commit_latency.sum=0,lease_ack_timeout=0,lease_timeout=0,new_pn=0,new_pn_latency.avgcount=0,new_pn_latency.sum=0,refresh=14931264,refresh_latency.avgcount=14931264,refresh_latency.sum=8706.98498,restart=4,share_state=0,share_state_bytes.avgcount=0,share_state_bytes.sum=0,share_state_keys.avgcount=0,share_state_keys.sum=0,start_leader=0,start_peon=1,store_state=14931264,store_state_bytes.avgcount=14931264,store_state_bytes.sum=353119959211,store_state_keys.avgcount=14931264,store_state_keys.sum=289807523,store_state_latency.avgcount=14931264,store_state_latency.sum=10952.835724 1462821234814535148
> ceph,collection=throttle-mon_client_bytes,id=node-2,type=mon get=1413017,get_or_fail_fail=0,get_or_fail_success=0,get_sum=71211705,max=104857600,put=1413013,put_sum=71211459,take=0,take_sum=0,val=246,wait.avgcount=0,wait.sum=0 1462821234814737219
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/chrony/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Delete second or Not synchronised.
### Example Output:

```
$ telegraf -config telegraf.conf -input-filter chrony -test
$ telegraf --config telegraf.conf --input-filter chrony --test
* Plugin: chrony, Collection 1
> chrony,leap_status=normal,reference_id=192.168.1.1,stratum=3 frequency=-35.657,last_offset=-0.000013616,residual_freq=-0,rms_offset=0.000027073,root_delay=0.000644,root_dispersion=0.003444,skew=0.001,update_interval=1031.2 1463750789687639161
```
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/cloudwatch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@ Tag Dimension names are represented in [snake case](https://en.wikipedia.org/wik
### Example Output:

```
$ ./telegraf -config telegraf.conf -input-filter cloudwatch -test
$ ./telegraf --config telegraf.conf --input-filter cloudwatch --test
> cloudwatch_aws_elb,load_balancer_name=p-example,region=us-east-1,unit=seconds latency_average=0.004810798017284538,latency_maximum=0.1100282669067383,latency_minimum=0.0006084442138671875,latency_sample_count=4029,latency_sum=19.382705211639404 1459542420000000000
```
2 changes: 1 addition & 1 deletion plugins/inputs/conntrack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ This input does not use tags.
### Example Output:

```
$ ./telegraf -config telegraf.conf -input-filter conntrack -test
$ ./telegraf --config telegraf.conf --input-filter conntrack --test
conntrack,host=myhost ip_conntrack_count=2,ip_conntrack_max=262144 1461620427667995735
```
2 changes: 1 addition & 1 deletion plugins/inputs/consul/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ the health check at this sample.
## Example output

```
$ telegraf --config ./telegraf.conf -input-filter consul -test
$ telegraf --config ./telegraf.conf --input-filter consul --test
* Plugin: consul, Collection 1
> consul_health_checks,host=wolfpit,node=consul-server-node,check_id="serfHealth" check_name="Serf Health Status",service_id="",status="passing",passing=1i,critical=0i,warning=0i 1464698464486439902
> consul_health_checks,host=wolfpit,node=consul-server-node,service_name=www.example.com,check_id="service:www-example-com.test01" check_name="Service 'www.example.com' check",service_id="www-example-com.test01",status="critical",passing=0i,critical=1i,warning=0i 1464698464486519036
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/couchbase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Fields:
## Example output

```
$ telegraf -config telegraf.conf -input-filter couchbase -test
$ telegraf --config telegraf.conf --input-filter couchbase --test
* Plugin: couchbase, Collection 1
> couchbase_node,cluster=https://couchbase-0.example.com/,hostname=172.16.10.187:8091 memory_free=22927384576,memory_total=64424656896 1458381183695864929
> couchbase_node,cluster=https://couchbase-0.example.com/,hostname=172.16.10.65:8091 memory_free=23520161792,memory_total=64424656896 1458381183695972112
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/couchdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ httpd statistics:
### Example output:

```
➜ telegraf git:(master) ✗ ./telegraf -config ./config.conf -input-filter couchdb -test
➜ telegraf git:(master) ✗ ./telegraf --config ./config.conf --input-filter couchdb --test
* Plugin: couchdb,
Collection 1
> couchdb,server=http://localhost:5984/_stats couchdb_auth_cache_hits_current=0,
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/dns_query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ For querying more than one record type make:
### Example output:

```
./telegraf -config telegraf.conf -test -input-filter dns_query -test
./telegraf --config telegraf.conf --input-filter dns_query --test
> dns_query,domain=mjasion.pl,record_type=A,server=8.8.8.8 query_time_ms=67.189842 1456082743585760680
```
2 changes: 1 addition & 1 deletion plugins/inputs/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ based on the availability of per-cpu stats on your system.
### Example Output:

```
% ./telegraf -config ~/ws/telegraf.conf -input-filter docker -test
% ./telegraf --config ~/ws/telegraf.conf --input-filter docker --test
* Plugin: docker, Collection 1
> docker n_cpus=8i 1456926671065383978
> docker n_used_file_descriptors=15i 1456926671065383978
Expand Down
4 changes: 2 additions & 2 deletions plugins/inputs/dovecot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ domains. You can read Dovecot's documentation
### Example Output:

```
telegraf -config t.cfg -input-filter dovecot -test
telegraf --config t.cfg --input-filter dovecot --test
* Plugin: dovecot, Collection 1
> dovecot,ip=192.168.0.1,server=dovecot-1.domain.test,type=ip clock_time=0,disk_input=0i,disk_output=0i,invol_cs=0i,last_update="2016-04-08 10:59:47.000208479 +0200 CEST",mail_cache_hits=0i,mail_lookup_attr=0i,mail_lookup_path=0i,mail_read_bytes=0i,mail_read_count=0i,maj_faults=0i,min_faults=0i,num_cmds=12i,num_connected_sessions=0i,num_logins=6i,read_bytes=0i,read_count=0i,reset_timestamp="2016-04-08 10:33:34 +0200 CEST",sys_cpu=0,user_cpu=0,vol_cs=0i,write_bytes=0i,write_count=0i 1460106251633824223
* Plugin: dovecot, Collection 1
Expand All @@ -71,4 +71,4 @@ telegraf -config t.cfg -input-filter dovecot -test
> dovecot,domain=domain.test,server=dovecot-1.domain.test,type=domain clock_time=100896189179847.7,disk_input=6467588263936i,disk_output=17933680439296i,invol_cs=1194808498i,last_update="2016-04-08 11:04:08.000377367 +0200 CEST",mail_cache_hits=46455781i,mail_lookup_attr=0i,mail_lookup_path=571490i,mail_read_bytes=79287033067i,mail_read_count=491243i,maj_faults=16992i,min_faults=1278442541i,num_cmds=606005i,num_connected_sessions=6597i,num_logins=166381i,read_bytes=30231409780721i,read_count=1624912080i,reset_timestamp="2016-04-08 10:28:45 +0200 CEST",sys_cpu=156440.372,user_cpu=216676.476,vol_cs=2749291157i,write_bytes=17097106707594i,write_count=944448998i 1460106261639672622
* Plugin: dovecot, Collection 1
> dovecot,server=dovecot-1.domain.test,type=global clock_time=101196971074203.94,disk_input=6493168218112i,disk_output=17978638815232i,invol_cs=1198855447i,last_update="2016-04-08 11:04:13.000379245 +0200 CEST",mail_cache_hits=68192209i,mail_lookup_attr=0i,mail_lookup_path=653861i,mail_read_bytes=86705151847i,mail_read_count=566125i,maj_faults=17208i,min_faults=1286179702i,num_cmds=917469i,num_connected_sessions=8896i,num_logins=174827i,read_bytes=30327690466186i,read_count=1772396430i,reset_timestamp="2016-04-08 10:28:45 +0200 CEST",sys_cpu=157965.692,user_cpu=219337.48,vol_cs=2827615787i,write_bytes=17150837661940i,write_count=992653220i 1460106266642153907
```
```
2 changes: 1 addition & 1 deletion plugins/inputs/filestat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The filestat plugin gathers metrics about file existence, size, and other stats.
### Example Output:

```
$ telegraf -config /etc/telegraf/telegraf.conf -input-filter filestat -test
$ telegraf --config /etc/telegraf/telegraf.conf --input-filter filestat --test
* Plugin: filestat, Collection 1
> filestat,file=/tmp/foo/bar,host=tyrion exists=0i 1461203374493128216
> filestat,file=/Users/sparrc/ws/telegraf.conf,host=tyrion exists=1i,size=47894i 1461203374493199335
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/http_response/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ This input plugin will test HTTP/HTTPS connections.
### Example Output:

```
$ ./telegraf -config telegraf.conf -input-filter http_response -test
$ ./telegraf --config telegraf.conf --input-filter http_response --test
http_response,method=GET,server=http://www.github.com http_response_code=200i,response_time=6.223266528 1459419354977857955
```
2 changes: 1 addition & 1 deletion plugins/inputs/influxdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ InfluxDB-formatted endpoints. See below for more information.
### Example Output:

```
telegraf -config ~/ws/telegraf.conf -input-filter influxdb -test
telegraf --config ~/ws/telegraf.conf --input-filter influxdb --test
* Plugin: influxdb, Collection 1
> influxdb_database,database=_internal,host=tyrion,url=http://localhost:8086/debug/vars numMeasurements=10,numSeries=29 1463590500247354636
> influxdb_httpd,bind=:8086,host=tyrion,url=http://localhost:8086/debug/vars req=7,reqActive=1,reqDurationNs=14227734 1463590500247354636
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/interrupts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ There are two measurements reported by this plugin.

### Example Output
```
./telegraf -config ~/interrupts_config.conf -test
./telegraf --config ~/interrupts_config.conf --test
* Plugin: inputs.interrupts, Collection 1
> interrupts,irq=0,type=IO-APIC,device=2-edge\ timer,host=hostname CPU0=23i,total=23i 1489346531000000000
> interrupts,irq=1,host=hostname,type=IO-APIC,device=1-edge\ i8042 CPU0=9i,total=9i 1489346531000000000
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/iptables/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pkts bytes target prot opt in out source destination
```

```
$ ./telegraf -config telegraf.conf -input-filter iptables -test
$ ./telegraf --config telegraf.conf --input-filter iptables --test
iptables,table=filter,chain=INPUT,ruleid=ssh pkts=100i,bytes=1024i 1453831884664956455
iptables,table=filter,chain=INPUT,ruleid=httpd pkts=42i,bytes=2048i 1453831884664956455
```
2 changes: 1 addition & 1 deletion plugins/inputs/kapacitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ these values.
### Example Output:

```
$ telegraf -config /etc/telegraf.conf -input-filter kapacitor -test
$ telegraf --config /etc/telegraf.conf --input-filter kapacitor --test
* Plugin: inputs.kapacitor, Collection 1
> kapacitor_memstats,host=hostname.local,kap_version=1.1.0~rc2,url=http://localhost:9092/kapacitor/v1/debug/vars alloc_bytes=6974808i,buck_hash_sys_bytes=1452609i,frees=207281i,gc_sys_bytes=802816i,gcc_pu_fraction=0.00004693548939673313,heap_alloc_bytes=6974808i,heap_idle_bytes=6742016i,heap_in_use_bytes=9183232i,heap_objects=23216i,heap_released_bytes=0i,heap_sys_bytes=15925248i,last_gc_ns=1478791460012676997i,lookups=88i,mallocs=230497i,mcache_in_use_bytes=9600i,mcache_sys_bytes=16384i,mspan_in_use_bytes=98560i,mspan_sys_bytes=131072i,next_gc_ns=11467528i,num_gc=8i,other_sys_bytes=2236087i,pause_total_ns=2994110i,stack_in_use_bytes=1900544i,stack_sys_bytes=1900544i,sys_bytes=22464760i,total_alloc_bytes=35023600i 1478791462000000000
> kapacitor,host=hostname.local,kap_version=1.1.0~rc2,url=http://localhost:9092/kapacitor/v1/debug/vars num_enabled_tasks=5i,num_subscriptions=5i,num_tasks=5i 1478791462000000000
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/memcached/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ SELECT mean(get_hits) / mean(cmd_get) as get_ratio, mean(get_misses) / mean(cmd_
### Example Output:

```
$ ./telegraf -config telegraf.conf -input-filter memcached -test
$ ./telegraf --config telegraf.conf --input-filter memcached --test
memcached,server=localhost:11211 get_hits=1,get_misses=2,evictions=0,limit_maxbytes=0,bytes=10,uptime=3600,curr_items=2,total_items=2,curr_connections=1,total_connections=2,connection_structures=1,cmd_get=2,cmd_set=1,delete_hits=0,delete_misses=0,incr_hits=0,incr_misses=0,decr_hits=0,decr_misses=0,cas_hits=0,cas_misses=0,bytes_read=10,bytes_written=10,threads=1,conn_yields=0 1453831884664956455
```
2 changes: 1 addition & 1 deletion plugins/inputs/mesos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ Mesos slave metric groups

### Example Output:
```
$ telegraf -config ~/mesos.conf -input-filter mesos -test
$ telegraf --config ~/mesos.conf --input-filter mesos --test
* Plugin: mesos, Collection 1
mesos,role=master,state=leader,host=172.17.8.102,server=172.17.8.101
allocator/event_queue_dispatches=0,master/cpus_percent=0,
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/net_response/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ It can also check response text.
### Example Output:

```
$ ./telegraf -config telegraf.conf -input-filter net_response -test
$ ./telegraf --config telegraf.conf --input-filter net_response --test
net_response,server=192.168.2.2,port=22,protocol=tcp response_time=0.18070360500000002,string_found=true 1454785464182527094
net_response,server=192.168.2.2,port=2222,protocol=tcp response_time=1.090124776,string_found=false 1454784433658942325
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Using this configuration:

When run with:
```
./telegraf -config telegraf.conf -input-filter nginx -test
./telegraf --config telegraf.conf --input-filter nginx --test
```

It produces:
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/ntpq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ server (RMS of difference of multiple time samples, milliseconds);
### Example Output:

```
$ telegraf -config ~/ws/telegraf.conf -input-filter ntpq -test
$ telegraf --config ~/ws/telegraf.conf --input-filter ntpq --test
* Plugin: ntpq, Collection 1
> ntpq,refid=.GPSs.,remote=*time.apple.com,stratum=1,type=u delay=91.797,jitter=3.735,offset=12.841,poll=64i,reach=377i,when=35i 1457960478909556134
```
2 changes: 1 addition & 1 deletion plugins/inputs/passenger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Using this configuration:
When run with:

```
./telegraf -config telegraf.conf -test -input-filter passenger
./telegraf --config telegraf.conf --input-filter passenger --test
```

It produces:
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/phpfpm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Using this configuration:
When run with:

```
./telegraf -config telegraf.conf -input-filter phpfpm -test
./telegraf --config telegraf.conf --input-filter phpfpm --test
```

It produces:
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/ping/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ urls = ["www.google.com"] # required
### Example Output:

```
$ ./telegraf -config telegraf.conf -input-filter ping -test
$ ./telegraf --config telegraf.conf --input-filter ping --test
* Plugin: ping, Collection 1
ping,host=WIN-PBAPLP511R7,url=www.google.com average_response_ms=7i,maximum_response_ms=9i,minimum_response_ms=7i,packets_received=4i,packets_transmitted=4i,percent_packet_loss=0,percent_reply_loss=0,reply_received=4i 1469879119000000000
```
2 changes: 1 addition & 1 deletion plugins/inputs/powerdns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ The powerdns plugin gathers metrics about PowerDNS using unix socket.
### Example Output:

```
$ ./telegraf -config telegraf.conf -input-filter powerdns -test
$ ./telegraf --config telegraf.conf --input-filter powerdns --test
> powerdns,server=/var/run/pdns.controlsocket corrupt-packets=0i,deferred-cache-inserts=0i,deferred-cache-lookup=0i,dnsupdate-answers=0i,dnsupdate-changes=0i,dnsupdate-queries=0i,dnsupdate-refused=0i,key-cache-size=0i,latency=26i,meta-cache-size=0i,packetcache-hit=0i,packetcache-miss=1i,packetcache-size=0i,qsize-q=0i,query-cache-hit=0i,query-cache-miss=6i,rd-queries=1i,recursing-answers=0i,recursing-questions=0i,recursion-unanswered=0i,security-status=3i,servfail-packets=0i,signature-cache-size=0i,signatures=0i,sys-msec=4349i,tcp-answers=0i,tcp-queries=0i,timedout-packets=0i,udp-answers=1i,udp-answers-bytes=50i,udp-do-queries=0i,udp-queries=0i,udp4-answers=1i,udp4-queries=1i,udp6-answers=0i,udp6-queries=0i,uptime=166738i,user-msec=3036i 1454078624932715706
```
2 changes: 1 addition & 1 deletion plugins/inputs/prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ go_goroutines 15
Example of output with configuration given above:

```
$ ./telegraf -config telegraf.conf -test
$ ./telegraf --config telegraf.conf --test
k8s_go_goroutines,kubeservice=kube-apiserver,url=http://my-kube-apiserver:8080/metrics gauge=536 1456857329391929813
k8s_go_gc_duration_seconds,kubeservice=kube-apiserver,url=http://my-kube-apiserver:8080/metrics 0=0.038002142,0.25=0.041732467,0.5=0.04336492,0.75=0.047271799,1=0.058295811,count=0,sum=208.334617406 1456857329391929813
```
4 changes: 2 additions & 2 deletions plugins/inputs/puppetagent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -129,4 +129,4 @@ Meta:
- tags: ``

Measurement names:
- puppetagent_version_puppet
- puppetagent_version_puppet
2 changes: 1 addition & 1 deletion plugins/inputs/raindrops/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ specified raindops [middleware](http://raindrops.bogomips.org/Raindrops/Middlewa
### Example Output:

```
$ ./telegraf -config telegraf.conf -input-filter raindrops -test
$ ./telegraf --config telegraf.conf --input-filter raindrops --test
* Plugin: raindrops, Collection 1
> raindrops,port=8080,server=localhost calling=0i,writing=0i 1455479896806238204
> raindrops_listen,ip=0.0.0.0,port=8080 active=0i,queued=0i 1455479896806561938
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Using this configuration:

When run with:
```
./telegraf -config telegraf.conf -input-filter redis -test
./telegraf --config telegraf.conf --input-filter redis --test
```

It produces:
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/riak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ All measurements have the following tags:
### Example Output:

```
$ ./telegraf -config telegraf.conf -input-filter riak -test
$ ./telegraf --config telegraf.conf --input-filter riak --test
> riak,[email protected],server=localhost:8098 cpu_avg1=31i,cpu_avg15=69i,cpu_avg5=51i,memory_code=11563738i,memory_ets=5925872i,memory_processes=30236069i,memory_system=93074971i,memory_total=123311040i,node_get_fsm_objsize_100=0i,node_get_fsm_objsize_95=0i,node_get_fsm_objsize_99=0i,node_get_fsm_objsize_mean=0i,node_get_fsm_objsize_median=0i,node_get_fsm_siblings_100=0i,node_get_fsm_siblings_95=0i,node_get_fsm_siblings_99=0i,node_get_fsm_siblings_mean=0i,node_get_fsm_siblings_median=0i,node_get_fsm_time_100=0i,node_get_fsm_time_95=0i,node_get_fsm_time_99=0i,node_get_fsm_time_mean=0i,node_get_fsm_time_median=0i,node_gets=0i,node_gets_total=19i,node_put_fsm_time_100=0i,node_put_fsm_time_95=0i,node_put_fsm_time_99=0i,node_put_fsm_time_mean=0i,node_put_fsm_time_median=0i,node_puts=0i,node_puts_total=0i,pbc_active=0i,pbc_connects=0i,pbc_connects_total=20i,vnode_gets=0i,vnode_gets_total=57i,vnode_index_reads=0i,vnode_index_reads_total=0i,vnode_index_writes=0i,vnode_index_writes_total=0i,vnode_puts=0i,vnode_puts_total=0i,read_repair=0i,read_repairs_total=0i 1455913392622482332
```
2 changes: 1 addition & 1 deletion plugins/inputs/sensors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Fields are created dynamicaly depending on the sensors. All fields are float.

#### Default
```
$ telegraf -config telegraf.conf -input-filter sensors -test
$ telegraf --config telegraf.conf --input-filter sensors --test
* Plugin: sensors, Collection 1
> sensors,chip=power_meter-acpi-0,feature=power1 power_average=0,power_average_interval=300 1466751326000000000
> sensors,chip=k10temp-pci-00c3,feature=temp1 temp_crit=70,temp_crit_hyst=65,temp_input=29,temp_max=70 1466751326000000000
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/sqlserver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Full view
## Example Output:

```
./telegraf -config telegraf.conf -test
./telegraf --config telegraf.conf --test
* Plugin: sqlserver, Collection 1
> Memory\ breakdown\ (%),servername=WIN8-DEV,type=Memory\ clerk Buffer\ pool=27.20,Cache\ (objects)=6.50,Cache\ (sql\ plans)=31.50,Other=34.80 1453876411474582877
> Memory\ breakdown\ (bytes),servername=WIN8-DEV,type=Memory\ clerk Buffer\ pool=100016128.00,Cache\ (objects)=23904256.00,Cache\ (sql\ plans)=115621888.00,Other=127942656.00 1453876411474655779
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/sysstat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ With the configuration below:

you get the following output:
```
$ telegraf -config telegraf.conf -input-filter sysstat -test
$ telegraf --config telegraf.conf --input-filter sysstat --test
* Plugin: sysstat, Collection 1
> cpu_util,device=all pct_idle=98.85,pct_iowait=0,pct_nice=0.38,pct_steal=0,pct_system=0.64,pct_user=0.13 1459255626657883725
> swap pswpin_per_s=0,pswpout_per_s=0 1459255626658387650
Expand Down
Loading

0 comments on commit dd537b3

Please sign in to comment.