Cameron Sparr
f2b0ea6722
value parser: doc & string handling
2016-05-02 12:17:20 -06:00
Cameron Sparr
46f4be88a6
Revert "exec plugin: allow using glob pattern in command list"
...
This reverts commit 6381efa7ce
.
2016-05-02 12:07:17 -06:00
Jari Sukanen
6381efa7ce
exec plugin: allow using glob pattern in command list
...
Allow using glob pattern in the command list in configuration. This enables for
example placing all commands in a single directory and using /path/to/dir/*.sh
as one of the commands to run all shell scripts in that directory.
Glob patterns are applied on every run of the commands, so matching commands can
be added without restarting telegraf.
closes #1127
2016-05-02 11:36:15 -06:00
Pierre Fersing
85ee66efb9
"DELAYED" Inserts were deprecated in MySQL 5.6.6
...
closes #1136
2016-05-02 11:23:28 -06:00
Victor Garcia
40dccf5b29
Metric for MongoDB jumbo chunks
...
closes #1128
2016-05-01 14:27:27 -06:00
Cameron Sparr
c114849a31
Use a timeout for docker list & stat cmds
...
closes #1133
2016-05-01 10:26:46 -06:00
Cameron Sparr
4e9798d0e6
agent and tags configs sometimes not applied
...
closes #1090
2016-04-29 19:44:01 -06:00
Cameron Sparr
a30b1a394f
Kafka output: set max_retry=3 & required_acks=-1 as defaults
...
closes #1113
2016-04-29 18:51:45 -06:00
Cameron Sparr
91460436cf
Changelog update
2016-04-29 12:32:04 -06:00
Cameron Sparr
3f807a9432
Implement timeouts for all exec command runners
...
First is to write an internal CombinedOutput and Run function with a
timeout.
Second, the following instances of command runners need to have timeouts:
plugins/inputs/ping/ping.go
125: out, err := c.CombinedOutput()
plugins/inputs/exec/exec.go
91: if err := cmd.Run(); err != nil {
plugins/inputs/ipmi_sensor/command.go
31: err := cmd.Run()
plugins/inputs/sysstat/sysstat.go
194: out, err := cmd.CombinedOutput()
plugins/inputs/leofs/leofs.go
185: defer cmd.Wait()
plugins/inputs/sysstat/sysstat.go
282: if err := cmd.Wait(); err != nil {
closes #1067
2016-04-29 12:06:22 -06:00
Cameron Sparr
cbe32c7482
Support default config paths
...
precedence will be:
1. --config command-line option
2. $TELEGRAF_CONFIG_PATH
3. $HOME/.telegraf/telegraf.conf
4. /etc/telegraf/telegraf.conf
2016-04-28 17:48:24 -06:00
Cameron Sparr
5d3c582ecf
changelog update
2016-04-28 17:34:37 -06:00
Cameron Sparr
3ed006d216
Sanitize invalid opentsdb characters
...
closes #1098
2016-04-28 17:01:50 -06:00
Cameron Sparr
3e1026286b
skip network-dependent unit tests in short mode
2016-04-28 14:44:08 -06:00
Cameron Sparr
b59266249d
README fixups for udp_listener, statsd inputs
...
closes #1119
2016-04-28 13:11:41 -06:00
G-regL
015261a524
Sanitize Field name
...
Replace '/[sS]ec' for '_persec' and spaces with underscores.
closes #1118
2016-04-28 12:21:28 -06:00
Adithya B Cherunilam
024e1088eb
Ensure sure that the post install script is compatible with RHEL 5
...
closes #1091
closes #1094
2016-04-28 11:58:06 -06:00
Cameron Sparr
08f4b1ae8a
Update build to go 1.6.2
2016-04-28 11:41:16 -06:00
Bob Zoller
1390c22004
sanitize * to - in graphite serializer
...
closes #1110
2016-04-27 18:05:44 -06:00
Cameron Sparr
8742ead585
Change server_ -> jolokia_ in tags and other formatting
2016-04-27 16:00:58 -06:00
Cameron Sparr
59a297abe6
etc/telegraf.conf update
2016-04-27 15:46:21 -06:00
Simone Aiello
18636ea628
jolokia: use always POST
...
code refactor to use same prepareRequest method
for both 'agent' and 'proxy' mode
closes #1031
closes #1050
closes #473
2016-04-27 15:45:37 -06:00
Simone Aiello
cf5980ace2
jolokia: add proxy mode
2016-04-27 15:39:55 -06:00
Jesse Hanley
a7b0861436
Adding Jobstats support to Lustre2 input plugin
...
Lustre Jobstats allows for RPCs to be tagged with a value, such
as a job's ID. This allows for per job statistics. This plugin
collects statistics and tags the data with the jobid.
closes #1107
2016-04-27 15:35:24 -06:00
Cameron Sparr
89f2c0b0a4
Cassandra: update plugin supported prefix & fix panic
...
fixes #1102
2016-04-27 15:23:05 -06:00
Cameron Sparr
ee4f4d7800
ping plugin: Set default timeout
2016-04-27 15:08:38 -06:00
Cameron Sparr
4de75ce621
Performance refactor of running_output buffers
...
closes #914
closes #967
2016-04-27 13:40:05 -06:00
John Engelman
1c4043ab39
Closes #1085 - allow for specifying AWS credentials in config.
...
closes #1085
closes #1086
2016-04-26 17:24:05 -06:00
Cameron Sparr
44c945b9f5
Tail unit tests and README tweaks
2016-04-26 10:43:41 -06:00
Cameron Sparr
c7719ac365
buffers: fix bug when Write called before AddMetric
2016-04-26 10:25:04 -06:00
Cameron Sparr
b9c24189e4
Tail input plugin
2016-04-26 09:42:06 -06:00
Cameron Sparr
411d8d7439
Fix leaky tcp connections in phpfpm plugin
...
closes #1089
2016-04-26 09:24:32 -06:00
Cameron Sparr
671b40df2a
procstat: field prefix fixup
2016-04-25 20:10:34 -06:00
Cameron Sparr
249a860c6f
procstat: fix newlines in tags
2016-04-25 19:57:38 -06:00
Mika Eloranta
0367a39e1f
postgresql_extensible: custom address in metrics output
...
Allow overriding the the metrics "server" tag with the specified
value. Can be used to give a more user-friendly value for the server
name.
closes #1093
2016-04-25 16:33:35 -06:00
Mika Eloranta
1a7340bb02
postgresql_extensible: fix nil field values
...
nil field values would break the output influxdb line procotol.
Skip them from the output.
2016-04-25 16:33:33 -06:00
Mika Eloranta
ce7d852d22
postgresql_extensible: configurable measurement name
...
The output measurement name can be configured per query.
2016-04-25 16:33:33 -06:00
Hannu Valtonen
01b01c5969
postgresql_extensible: Censor also other security related conn params
...
While these aren't quite as sensitive as passwords, they do tend to be
long filesystem paths that shouldn't be reported along with
every measurement.
2016-04-25 16:33:33 -06:00
Pierre Fersing
c159460b2c
Refactor running_output buffering
...
closes #1087
2016-04-25 16:32:41 -06:00
Cameron Sparr
07728d7425
Refactor globpath pkg to return a map
...
this is so that we don't call os.Stat twice for every file matched
by Match(). Also changing the behavior to _not_ return the name of a
file that doesn't exist if it's not a glob.
2016-04-24 14:37:44 -06:00
Cameron Sparr
d3a25e4dc1
globpath refactor into pkg separate from filestat
2016-04-23 11:56:33 -06:00
zensqlmonitor
1751c35f69
SQL Server input. Fix datatype conversion.
2016-04-23 09:18:08 +02:00
zensqlmonitor
93f5b8cc4a
Fix datatype conversion
2016-04-23 09:14:04 +02:00
Cameron Sparr
5b1e59a48c
filestat plugin config fixup
2016-04-22 19:15:07 -06:00
Cameron Sparr
7b27cad1ba
Dont specify AWS credential chain, use default
...
closes #1078
2016-04-22 11:43:20 -06:00
Cameron Sparr
1b083d63ab
add gitattributes file
2016-04-22 11:42:22 -06:00
Cameron Sparr
23f2b47531
Ignore errors in systemd
...
closes #1022
2016-04-22 11:23:24 -06:00
Victor Garcia
194288c00e
Adding replication lag metric
...
closes #1066
2016-04-22 11:07:32 -06:00
Cameron Sparr
f9c8ed0dc3
Add filestat plugin to README
2016-04-21 19:47:23 -06:00
Cameron Sparr
88def9b71b
filestat input plugin
...
closes #929
2016-04-21 16:53:02 -06:00