2021-12-01 05:25:21 +08:00
|
|
|
# GroundWork Output Plugin
|
|
|
|
|
|
2022-04-21 23:45:47 +08:00
|
|
|
This plugin writes to a [GroundWork Monitor][1] instance. Plugin only supports
|
|
|
|
|
GW8+
|
2021-12-01 05:25:21 +08:00
|
|
|
|
|
|
|
|
[1]: https://www.gwos.com/product/groundwork-monitor/
|
|
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
2022-05-25 22:48:59 +08:00
|
|
|
```toml @sample.conf
|
2022-04-08 05:55:03 +08:00
|
|
|
# Send telegraf metrics to GroundWork Monitor
|
2021-12-01 05:25:21 +08:00
|
|
|
[[outputs.groundwork]]
|
|
|
|
|
## URL of your groundwork instance.
|
|
|
|
|
url = "https://groundwork.example.com"
|
|
|
|
|
|
|
|
|
|
## Agent uuid for GroundWork API Server.
|
|
|
|
|
agent_id = ""
|
|
|
|
|
|
|
|
|
|
## Username and password to access GroundWork API.
|
|
|
|
|
username = ""
|
|
|
|
|
password = ""
|
2022-06-16 03:25:09 +08:00
|
|
|
|
|
|
|
|
## Default application type to use in GroundWork client
|
|
|
|
|
# default_app_type = "TELEGRAF"
|
2022-04-08 05:55:03 +08:00
|
|
|
|
2021-12-01 05:25:21 +08:00
|
|
|
## Default display name for the host with services(metrics).
|
|
|
|
|
# default_host = "telegraf"
|
|
|
|
|
|
|
|
|
|
## Default service state.
|
|
|
|
|
# default_service_state = "SERVICE_OK"
|
|
|
|
|
|
|
|
|
|
## The name of the tag that contains the hostname.
|
|
|
|
|
# resource_tag = "host"
|
2022-01-28 01:25:28 +08:00
|
|
|
|
|
|
|
|
## The name of the tag that contains the host group name.
|
|
|
|
|
# group_tag = "group"
|
2021-12-01 05:25:21 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## List of tags used by the plugin
|
|
|
|
|
|
2022-04-21 23:45:47 +08:00
|
|
|
* group - to define the name of the group you want to monitor, can be changed
|
|
|
|
|
with config.
|
|
|
|
|
* host - to define the name of the host you want to monitor, can be changed with
|
|
|
|
|
config.
|
|
|
|
|
* service - to define the name of the service you want to monitor.
|
|
|
|
|
* status - to define the status of the service. Supported statuses:
|
|
|
|
|
"SERVICE_OK", "SERVICE_WARNING", "SERVICE_UNSCHEDULED_CRITICAL",
|
|
|
|
|
"SERVICE_PENDING", "SERVICE_SCHEDULED_CRITICAL", "SERVICE_UNKNOWN".
|
|
|
|
|
* message - to provide any message you want.
|
|
|
|
|
* unitType - to use in monitoring contexts(subset of The Unified Code for Units
|
|
|
|
|
of Measure standard). Supported types: "1", "%cpu", "KB", "GB", "MB".
|
|
|
|
|
* warning - to define warning threshold value.
|
2021-12-01 05:25:21 +08:00
|
|
|
* critical - to define critical threshold value.
|
2021-12-24 01:43:34 +08:00
|
|
|
|
|
|
|
|
## NOTE
|
|
|
|
|
|
2022-04-21 23:45:47 +08:00
|
|
|
The current version of GroundWork Monitor does not support metrics whose values
|
|
|
|
|
are strings. Such metrics will be skipped and will not be added to the final
|
|
|
|
|
payload. You can find more context in this pull request: [#10255][].
|
|
|
|
|
|
|
|
|
|
[#10255]: https://github.com/influxdata/telegraf/pull/10255
|