From 88ab29ed6368fbbf891640e166b71aa480b6dd11 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Mon, 2 Dec 2019 16:18:56 -0800 Subject: [PATCH] Update changelog --- CHANGELOG.md | 3 +++ README.md | 1 + plugins/inputs/systemd_units/README.md | 15 +++++---------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00cb89e4f..3522c1b3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,9 @@ - [#6686](https://github.com/influxdata/telegraf/pull/6686): Add additional tags to the x509 input. - [#6703](https://github.com/influxdata/telegraf/pull/6703): Add batch data format support to file output. - [#6688](https://github.com/influxdata/telegraf/pull/6688): Support partition assignement strategy configuration in kafka_consumer. +- [#6731](https://github.com/influxdata/telegraf/pull/6731): Add node type tag to mongodb input. +- [#6669](https://github.com/influxdata/telegraf/pull/6669): Add uptime_ns field to mongodb input. +- [#6735](https://github.com/influxdata/telegraf/pull/6735): Support resolution of symlinks in filecount input. #### Bugfixes diff --git a/README.md b/README.md index a2383ba95..73f4268bb 100644 --- a/README.md +++ b/README.md @@ -283,6 +283,7 @@ For documentation on the latest development code see the [documentation index][d * [synproxy](./plugins/inputs/synproxy) * [syslog](./plugins/inputs/syslog) * [sysstat](./plugins/inputs/sysstat) +* [systemd_units](./plugins/inputs/systemd_units) * [system](./plugins/inputs/system) * [tail](./plugins/inputs/tail) * [temp](./plugins/inputs/temp) diff --git a/plugins/inputs/systemd_units/README.md b/plugins/inputs/systemd_units/README.md index c9d4a85da..f6b8796f9 100644 --- a/plugins/inputs/systemd_units/README.md +++ b/plugins/inputs/systemd_units/README.md @@ -6,14 +6,14 @@ The systemd_units plugin gathers systemd unit status on Linux. It relies on The results are tagged with the unit name and provide enumerated fields for loaded, active and running fields, indicating the unit health. -This plugin is related to the [win_services module](../win_services/), which +This plugin is related to the [win_services module](/plugins/inputs/win_services/), which fulfills the same purpose on windows. In addition to services, this plugin can gather other unit types as well, see `systemctl list-units --all --type help` for possible options. ### Configuration -``` +```toml [[inputs.systemd_units]] ## Set timeout for systemctl execution # timeout = "1s" @@ -127,14 +127,9 @@ values ### Example Output -Linux Systemd Units: ``` -$ telegraf --test --config /tmp/telegraf.conf -> systemd_units,host=host1.example.com,name=dbus.service,load=loaded,active=active,sub=running load_code=0i,active_code=0i,sub_code=0i 1533730725000000000 -> systemd_units,host=host1.example.com,name=networking.service,load=loaded,active=failed,sub=failed load_code=0i,active_code=3i,sub_code=12i 1533730725000000000 -> systemd_units,host=host1.example.com,name=ssh.service,load=loaded,active=active,sub=running load_code=0i,active_code=0i,sub_code=0i 1533730725000000000 +systemd_units,host=host1.example.com,name=dbus.service,load=loaded,active=active,sub=running load_code=0i,active_code=0i,sub_code=0i 1533730725000000000 +systemd_units,host=host1.example.com,name=networking.service,load=loaded,active=failed,sub=failed load_code=0i,active_code=3i,sub_code=12i 1533730725000000000 +systemd_units,host=host1.example.com,name=ssh.service,load=loaded,active=active,sub=running load_code=0i,active_code=0i,sub_code=0i 1533730725000000000 ... ``` - -### Possible Improvements -- add blacklist to filter names