Commit Graph

54 Commits

Author SHA1 Message Date
4803b33f89 Better sub inputs handling (#193)
* Support for sub_inputs in extra plugins

* fix: properly handle lists as TOML arrays

- Updated the Jinja template to detect and serialize lists using |to_json,
  ensuring Telegraf interprets them correctly (e.g. names = ["item1","item2"]).
- Removed fallback logic for single items, so we consistently treat all sub_input
  values as lists of dictionaries.

---------

Co-authored-by: Michał Lisowski <mlisowski@sentient.ie>
2025-02-07 18:54:09 +01:00
108284cda1 Add Archlinux OS (#186)
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
2024-06-25 08:43:52 +02:00
bfe52cd752 Support for sub_inputs in extra plugins (#184)
Co-authored-by: Michał Lisowski <mlisowski@sentient.ie>
2024-02-28 20:00:49 +01:00
a89b6aff93 Improve usage on SUSE releases (#155)
* Do not install init script on SUSE systems (#152)

The last SUSE releases that didn't support systemd were SLE 11 and
openSUSE 11.x.  The telegraf packages on the Open Build Service all
contain systemd service files.  openSUSE 11.x is long since dead and
buried and SLE 11 has been out of general support since mid-2019.

There are no other users of the script and it can be removed.  The
dependencies required in the molecule configuration can also be removed.

* Fix Python package dependencies on SUSE releases (#153)

The naming of the packages for the Python libxml and xml modules
on SUSE releases is a bit of a mess across releases.

SLE12 ships with Python 3.4 which is not new enough for Ansible to
use so Python 2 must be used.  Those packages are named python-xml
and python-libxml2.

SLE15 ships with Python 3.6 but the package containing the libxml2
module is named python3-libxml2-python.  The xml module is part of
python3-base and will be present if the interpreter is present.

On later releases, the package containing the libxml2 module has been
renamed python3-libxml2 but it still offers an alias for the old name.

* Add default repository handling for SUSE releases (#154)

The repositories for SUSE releases are in well-known locations
and requiring the user to specify them is unnecessary.  If the user
wishes to override the default repo using the telegraf_zypper_baseurl
that will still be honored.
2022-02-24 20:32:54 +01:00
3596c7b95e Add variable for openSUSE RPM repository (#151) 2022-01-19 08:17:27 +01:00
0ca3c1ddda Fix spacing for telegraf_plugins_extra example in readme.md (#143)
The spacing for the telegraf_plugins_extra section (lines 273-276) in readme.md was too indented, corrected spacing to hopefully be valid YML.
2021-03-05 18:22:57 +01:00
4e31a334a7 adjustments for Windows >= 1.15 2020-12-23 11:52:59 -06:00
55b4b6530e Added property telegraf_agent_docker_image_version for using a specific version of the Docker image 2020-10-17 14:36:04 +02:00
518f60132e Minor clarification in doc 2020-10-17 12:53:39 +02:00
0b24ff0853 Apply ansible-lint in pre-commit hook and fix changes 2020-10-17 11:23:19 +02:00
132e39ed47 Removing authors, removed to specific file 2020-10-16 16:10:48 +02:00
9b912d8f97 Added proper newline 2020-10-16 15:37:21 +02:00
0b749fba5e corrected "Example Docker configuration" to make it work by default 2020-09-06 22:28:44 +03:00
562a751990 Update README.md
Corrected badge
2020-08-31 18:15:59 +02:00
d750f4d259 Addressed PR Comments 2020-06-13 10:42:26 +02:00
7d5d5c1ea1 added installation method manual - skip installation 2020-03-18 17:43:33 +01:00
a55ef0b0c0 Added extra filtering possibilities for a plugin 2019-12-01 16:23:09 +01:00
0006d91e5e Updating documentation regarding issue 105;Added Toc;Added badges 2019-12-01 12:02:36 +01:00
3fdba74518 Some changes for fixing FreeBSD 2019-04-27 16:09:29 +02:00
618b8fa540 Add processors sample to README 2019-03-12 17:50:26 +03:30
0aba53bb17 Updated to Telegraf 1.10.0;Different installation methods 2019-03-10 12:39:14 +01:00
499f217ed3 Updating Telegraf default to 1.9.5
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2019-02-27 15:26:58 +01:00
9d24186e01 Updating Telegraf default to 1.9.4
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2019-02-07 11:49:40 +01:00
2003635e73 Docker telegraf uid and gid configurable 2019-02-02 15:51:19 +01:00
2086b24b79 Updating Telegraf default to 1.9.3
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2019-01-23 15:48:28 +01:00
0b285f7772 Minor documentation changes 2019-01-23 09:53:21 +01:00
9f98ae6a76 Add Docker container support 2019-01-22 16:24:21 +01:00
8cdce07205 Update README, remove legacy options 2019-01-21 18:08:55 +01:00
07a6cb0135 Fix tagpass & tagdrop on outputs 2019-01-21 15:34:07 +01:00
55e366f3b2 Updating to release 0.11.0 2018-12-11 20:36:18 +01:00
052142e642 Added Windows as OS 2018-11-25 11:58:28 +01:00
139943a832 Allow to install the latest version 2018-11-22 20:52:17 +01:00
or
5317930b21 Added telegraf_plugins_extra_exclusive to readme 2018-08-15 22:43:36 +03:00
4fcb2ac9d2 Updating to 0.9.0 2018-05-06 09:32:37 +02:00
51ac4b7640 Convert the telegraf_plugins_extra varaible to a hash so that we can merge the hashes of multiple var files 2018-05-06 16:54:34 +10:00
57f5395c7d Fix markdown 2018-03-01 02:07:23 +01:00
5829b6bc02 tags: give an option to use AWS tags as telegraf tags
From : https://github.com/rossmcdonald/telegraf

Add `telegraf_agent_aws_tags` boolean to enable AWS tag in telegraf agent
tags section.

Also add `telegraf_agent_aws_tags_prefix` to allow usage of a prefix on AWS tags name.
2017-11-14 09:16:25 +01:00
b2a1652c47 Use telegra_global_tags for oldest telegraf versions
Users will use the same config key for global tags regardless of the
telegraf version.
Also fix the documentation about this parameter to be consistent with
changes from #37
2017-10-24 15:06:47 +02:00
40b25772f3 Updating to release 0.7.0 2017-02-23 19:45:11 +01:00
c6848506cf Fix a typo 2017-02-22 10:27:03 +01:00
0b82b8420e Use yum repository to install telegraf on RedHat family
The role does not use a direct download of the rpm package but use the
yum repository for InfluxData products as it is advised in the current
documentation for installation.
https://docs.influxdata.com/telegraf/v1.2/introduction/installation/
2017-02-22 10:27:03 +01:00
f7e7045e9f Remove unused vars 2017-02-22 10:27:03 +01:00
f3f67f4f7a Input tags support 2017-01-18 21:29:42 +01:00
8fd9c2c9c9 Fix merge issue 2017-01-02 13:03:22 +01:00
4c0d09d11e Set release 0.6.0 2017-01-02 13:02:26 +01:00
2c54dea8d2 update the README with the latest v0.13 - v1.1 agent settings 2017-01-02 10:27:23 +01:00
e4ac118212 Removed Travis Test; Update travis build; Added Molecule tests; Updated default installation version 2016-07-17 15:15:22 +02:00
54f2b75af5 Added build status 2016-01-31 19:31:48 +01:00
720e9c94da Updated documentation and changelog for new version 2016-01-13 15:55:16 +01:00
fabb511365 Updated CHANGELOG; added Gemfile.lock; Added aferrari-technisys as contributor 2015-11-14 16:08:31 +01:00