Daniel Nelson
5141f8a2a0
Update contributing documentation
2017-11-07 13:59:06 -08:00
Daniel Nelson
c14478f025
Update http_listener certs
2017-11-03 21:52:45 -07:00
clheikes
02baa696c3
Fix TELEGRAF_OPTS expansion in systemd service unit ( #3354 )
2017-10-18 13:57:32 -07:00
Daniel Nelson
771fbc311a
Regenerate TLS certs due to expiration
2017-10-02 15:44:55 -07:00
Daniel Nelson
b24663b0bd
Remove nightly versioning scheme
2017-09-22 18:07:08 -07:00
Daniel Nelson
366bda45c3
Remove out of date Vagrantfile
2017-09-22 17:35:58 -07:00
Daniel Nelson
c010fb1c3c
Fix build versioning; add dev.docker file
2017-09-22 17:35:58 -07:00
Daniel Nelson
b8e134cd37
Fix arm64 packages contain 32-bit executable ( #3246 )
2017-09-18 14:22:54 -07:00
Daniel Nelson
9fc7220c2e
Don't start Telegraf on install in Amazon Linux ( #3156 )
2017-08-22 17:01:59 -07:00
Daniel Nelson
5224b526f4
Hide output of git describe
2017-08-22 13:32:52 -07:00
Daniel Nelson
4de264ffc8
Remove version test
2017-08-18 11:08:48 -07:00
Daniel Nelson
f9573ad969
Remove Godeps_windows from build.py
2017-08-07 17:43:06 -07:00
Daniel Nelson
40aacd9046
Fix artifact redirection
2017-08-07 17:41:52 -07:00
Daniel Nelson
5e73f3e816
Only upload nightly if on master branch
2017-08-07 17:24:35 -07:00
Daniel Nelson
a1e7a5f474
Upload as nightly builds if PACKAGE set
2017-08-07 17:16:34 -07:00
Daniel Nelson
1fb5373962
Build releases with -w -s ldflags
2017-08-07 15:47:20 -07:00
Daniel Nelson
795f02ab88
Cleanup Makefile ( #3089 )
2017-08-03 11:54:05 -07:00
Daniel Nelson
5f88be022c
Add circleci parameter to build packages
2017-07-26 17:13:50 -07:00
Daniel Nelson
0b6db905ff
Generate sha256 hashes when packaging
2017-05-31 12:29:39 -07:00
Sylvain Boily
1ebd1aaa41
Systemd does not see all shutdowns as failures ( #2716 )
2017-05-08 11:48:29 -07:00
Daniel Nelson
4200018a0b
Enable s390x builds
...
closes #2766
2017-05-05 14:39:56 -07:00
Daniel Nelson
67cd1669cc
Add SLES11 support to rpm package ( #2768 )
2017-05-05 14:29:40 -07:00
Sébastien
a8cfe03ba8
fix systemd path in order to add compatibility with SuSe ( #2499 )
2017-05-05 14:04:33 -07:00
Martin
748ca7d503
Fixed install/remove of telegraf on non-systemd Debian/Ubuntu systems ( #2360 )
2017-04-20 11:19:33 -07:00
Cameron Sparr
e811e2600d
create telegraf.d directory in tarball
...
closes #2513
2017-03-09 11:41:08 +00:00
Kali Hernandez
822333690f
Debian package: check for group before useradd ( #2107 )
...
Fixes #2106
2017-01-24 14:54:19 -08:00
Cameron Sparr
c882570983
32-bit binary for windows and freebsd
...
closes #1346
closes #2218
2017-01-23 20:28:13 -08:00
Pierre Fersing
1d1afe6481
Fix RPM architecture for armhf ( #2003 )
...
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
2016-12-05 16:45:02 +00:00
Cameron Sparr
a6ed4d4c3a
CircleCI script, do not explicitly set version tag
2016-11-03 17:21:06 +00:00
Cameron Sparr
80d4864844
Only install fpm,rpm,boto if we need them
2016-10-25 13:31:48 +01:00
Ririsoft
5913f7cb36
Log to systemd journal
...
Let's align to InfluxDB 1.0 logging policy and log to systemd journal by
default.
closes #1732
2016-10-06 17:48:22 +01:00
Cameron Sparr
2462e04bf2
Rdme upd ( #1660 )
...
* Update README and CHANGELOG with 1.0 RC 1
* Increase circleci test docker sleep
* update aerospike dependency
2016-08-24 08:41:12 +01:00
Cameron Sparr
13865f9e04
Disable darwin builds ( #1571 )
...
telegraf can't be cross-compiled for darwin, it has C dependencies and
thus many of the system plugins won't work.
2016-08-04 14:27:33 +01:00
Srini Chebrolu
841729c0f9
RPM post remove script update for proper handle on all Linux distributions ( #1381 )
2016-07-28 08:34:57 +01:00
Pierre Fersing
207c5498e7
Remove systemd Install alias ( #1470 )
...
Alias is a list of additional names. Adding it's cannonical name
cause systemctl enable telegraf to show a warning "Too many levels of
symbolic links"
2016-07-14 15:53:05 -06:00
Cameron Sparr
7c9b312cee
Make race detector build in CI
2016-07-14 09:16:29 -06:00
Ross McDonald
94f952787f
Add statically-linked amd64 builds to default build targets.
...
Remove version and iteration from root packaging folder. (#1318 )
closes #1201
2016-06-02 16:14:18 +01:00
Pierre Fersing
98d91b1c89
Fix reloading Telegraf under systemd ( #1279 )
2016-05-26 11:32:05 +01:00
Rene Zbinden
475252d873
fix telegraf service ( #1252 )
2016-05-24 15:14:58 +01:00
Cameron Sparr
8e92d3a4a0
Log to /var/log/telegraf/telegraf.log on systemd
...
closes #1243
2016-05-23 18:00:59 +01:00
Jack Tench
08ecfb8a67
Replace sudo with su in init script
...
To avoid issues starting service when 'Defaults requiretty' is enabled in the sudoers file.
Fixes #1204
closes #1205
2016-05-17 18:31:49 +01:00
Ross McDonald
5348937c3d
Choose correct configuration when building for windows.
2016-05-06 10:46:29 -05:00
Ross McDonald
72fcacbbc7
Minor fixes to build script:
...
- Fix for --name build parameter
- Remove rc parameter from build script
- Fix regression on first-level tarball directory structure
- Convert any dashes/underscores in version tag to tilde
2016-05-05 14:02:34 -05:00
Ross McDonald
8371546a66
Disable circle uploads to S3 until more testing can be done for external PR's.
2016-05-03 11:26:52 -05:00
Ross McDonald
36d7b5c9ab
Improvements to build.py:
...
- Now uses Python argparse for cleaner handling of arguments
- Added function documentation
- Removed a few unneeded functions
- Updated nightly logic to incremement minor version
- Added support for building from specific branch or commit
- Changed --no-stash option to --no-uncommitted for clarity
- Added a --release flag, default package output will now contain the branch and commit hash in the version number
- Static builds are now listed as an architecture
- Changed default upload bucket to dl.influxdata.com/telegraf
- Don't include iteration in package name
closes #1040
2016-05-02 14:37:29 -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
23f2b47531
Ignore errors in systemd
...
closes #1022
2016-04-22 11:23:24 -06:00
Ross McDonald
7f992fd321
Changed nohup fallback command to use 'sudo -u' so that Telegraf doesn't run as the root user.
2016-04-14 13:56:20 -06:00
Cameron Sparr
1a383b7d90
Telegraf no longer depends on lsof
...
so remove it as a dependency from the linux packages.
closes #974
2016-04-08 11:27:33 -06:00
Ross McDonald
2f41ae24f8
Swap systemd command, as it was causing issues on Debian.
2016-03-30 10:17:31 -06:00
HUANG Wei
f8e9fafda3
Add reload configuration for telegraf service scripts.
...
closes #794
2016-03-16 11:20:46 -06:00
Pierre Fersing
e4e7d7fbfc
Improved install script for packaged telegraf:
...
* Start/stop service on Debian/Ubuntu
* Disable init-script/Systemd-unit on package removal
closes #747
2016-03-16 11:17:28 -06:00
Ross McDonald
675b6dc305
Corrected issue with windows builds where the correct configuration
...
and filesystem would be used.
closes #852
closes #854
2016-03-16 09:27:09 -06:00
Cameron Sparr
2f45b8b7f5
Cross platform support for the 'processes' plugin
...
closes #798
2016-03-09 15:47:37 +01:00
Ross McDonald
b4b1866286
Removed test functionality from build script.
...
closes #708
closes #713
2016-03-03 21:37:35 +00:00
Ross McDonald
28eb9b4c29
Fixed issue where binary wasnt copied to packaging directory correctly.
2016-03-03 21:34:57 +00:00
Ross McDonald
0a9accccc1
Added permissions check to post-install script due to issues with RPMs having the incorrect permissions on the log directory.
2016-03-03 21:34:57 +00:00
Ross McDonald
c3d220175f
Removed i386 as a target for darwin, as it currently doesnt compile.
2016-03-03 21:34:57 +00:00
Ross McDonald
095c90ad22
Re-added zip package output format. Modified zip and tar packaging process to use the base 'tar' and 'zip' commands, instead of 'fpm'.
2016-03-03 21:34:57 +00:00
Ross McDonald
a77bfecb02
Updates to build script to improve ARM builds and other functionality.
2016-03-03 21:34:57 +00:00
Dirk Pahl
ea7cbc781e
Create a FreeBSD build
...
closes #766
2016-03-01 09:38:58 +00:00
Cameron Sparr
fc4cb1654c
Fix deb and rpm packages
...
closes #752
closes #750
2016-02-24 09:12:14 -07:00
Cameron Sparr
1847ce3f3d
Experimental windows build process changes
2016-02-23 13:52:24 -07:00
Cameron Sparr
8362aa9d66
Some windows build script fixes
2016-02-22 15:12:35 -07:00
Cameron Sparr
a18f535f21
Circle script: unset GOGC so it uses default
2016-02-21 16:00:41 -07:00
Cameron Sparr
6994d4a712
Turn GOGC on for packaging, use go 1.5.3
2016-02-21 10:41:46 -07:00
Cameron Sparr
c9d0ae7cf3
Circle script: create packages if commit is tagged
2016-02-20 12:47:31 -07:00
Cameron Sparr
187d1b853d
Update Makefile to 'go install' rather than 'go build'
2016-02-18 16:48:59 -07:00
Cameron Sparr
7def6663bd
Root directory cleanup
2016-02-18 13:37:36 -07:00
Cameron Sparr
1e03a9440b
Try ping plugin with -n and -s options added
2016-02-06 23:09:29 -07:00
Ross McDonald
47ea2d5fb4
Added Amazon Linux logic to post-installation script.
...
closes #579
2016-01-25 17:49:12 -07:00
Jack Zampolin
0cdf1b07e9
Fix issue 524
2016-01-20 10:57:35 -08:00
Cameron Sparr
b24e71b232
Removing old package script, trim Makefile
2016-01-15 14:03:04 -07:00
Ross McDonald
7bfb42946e
Switched to /etc/debian_version for Debian/Ubuntu distribution recognition in post-install.
...
closes #526
closes #525
2016-01-15 10:54:47 -07:00
Ross McDonald
07b4a4dbca
Added a `build.py` script for compiling and packaging. Added post and pre install scripts to handle installation and upgrades in a cleaner way. Minor fixes to the init script and service unit file.
2016-01-08 15:28:33 -06:00
Cameron Sparr
9c5db1057d
renaming plugins -> inputs
2016-01-07 15:04:30 -07:00
Cameron Sparr
16ce06f621
Use gdm for dependency management
2015-12-11 12:22:16 -07:00
Cameron Sparr
e6517d4140
Update gopsutil godep dependency. Dont use godep go build anymore
...
godep seems to have a problem when dependencies have `internal`
packages. So removing `godep go build` and `godep go test` from the
build process in favor of just checking out the correct revisions using
`godep restore` into the regular GOPATH.
This basically means that we are not actually using anything within the
Godeps directory except Godeps.json. I should probably make a separate
go dependency management system that does this.
2015-12-04 12:22:16 -07:00
Cameron Sparr
3761f00062
Update etc/telegraf.conf file
2015-11-30 14:28:09 -07:00
Sean Reifschneider
a992e16f7d
On a package upgrade, restart telegraf.
...
closes #338
2015-11-02 13:01:58 -07:00
Cameron Sparr
028bae8f04
Run make in circle, don't build arm and 32-bit
2015-10-28 12:30:58 -06:00
Cameron Sparr
fa9555c430
Execute "long" unit tests using docker containers
...
fixes #293
2015-10-28 11:45:04 -06:00
Jonathan Cross
e622bd5e7f
fixing test for NoError
...
closes #325
2015-10-27 15:44:22 -06:00
Jonathan Cross
e13500fc4f
updated for new output Write function
...
removed HTTP listener port in docker compose. Not being used by plugin.
2015-10-27 15:44:22 -06:00
Jonathan Cross
2a76942a74
NSQ Output plugin
...
NSQ output plugin, following the NSQ methodology output is a producer
to one instance of NSQD. The go library does not accept array values be
default for a Producer. Additionally service discovery is generally
done as a consumer.
Follows same methodology as Kafka Output without the tag reference.
2015-10-27 15:44:22 -06:00
Ellison Marks
9e0ec0927c
Making sure telegraf.d directory is created by packages.
2015-10-27 11:32:00 -07:00
palkan
df96958fb8
Use specific mysql version with docker
...
closes #315
2015-10-23 17:35:49 -06:00
palkan
de7ad9dfbc
Replace opentsb docker image with the official one
...
closes #314
2015-10-23 17:34:12 -06:00
Tait Clarridge
c5f200917a
Add aerospike plugin support
...
- Does not use the aerospike client, but sends the stats command
using the aerospike required format
- Queries available namespaces and gets stats for all of them
closes #300
2015-10-21 18:04:45 -06:00
gotyaoi
c938523cd5
Implementing LoadDirectory.
2015-10-21 12:00:22 -07:00
Cameron Sparr
a1bad378d2
Turn off GOGC for faster build time in CI
2015-10-18 15:56:47 -06:00
Cameron Sparr
97d4f9e0ff
Run go fmt in CI
2015-10-16 13:08:32 -06:00
Sean Reifschneider
555436a222
Fix for init script for other procs with "telegraf"
...
The init script fails if another process has the word "telegraf" in
it, for example if you aren running "vi /etc/opt/telegraf/telegraf.conf"
or "tail -f /var/log/telegraf/telegraf.log". This is because
the "-f" flag to "pgrep" will show processes with the search
string anywhere in the command-line.
This patch turns it around and gets the "ps" output for the process
in the pidfile, and if that line has "telegraf" in it, it considers
it to be running.
Closes #266
Closes #267
2015-10-15 15:06:05 -06:00
Jonathan Cross
2f7d781635
remove zookeeper declaration
...
since spotify/kafka docker image already exposes zookeeper
Closes #262
2015-10-14 17:49:23 -06:00
Jonathan Cross
7121e1a3b0
fixes based on comments
2015-10-14 17:48:21 -06:00
Nick Jones
cd7468f3be
Fix conditional test against useradd so it's compatible with Dash
...
The test to see which version of `useradd` is installed uses 'bashisms'
that fail on Ubuntu due to the fact that `/bin/sh` is symlinked to Dash,
causing the telegraf account to be created without the `--system` option
ever being passed.
This change amends the syntax so that it's POSIX-compatible and more
portable as a result.
2015-09-28 14:04:46 +01:00
Eugene Dementiev
0ffaafd788
Fix packages provides: now new version of package replaces the old one
2015-09-24 13:29:37 -07:00
Cameron Sparr
64d38ed17e
Remove duplicate opentsdb docker images
2015-09-22 21:10:21 -06:00
Cameron Sparr
f8d64a7378
Redis: include per-db keyspace info
...
Closes #205
2015-09-22 19:46:50 -07:00
Cameron Sparr
1bce6e3faf
Updating README and CHANGELOG for 0.1.9
2015-09-22 13:43:37 -07:00