telegraf/plugins/outputs/groundwork
Vladislav 1d6d01a6db
fix: update GroundWork SDK and improve logging (#10255)
2021-12-23 10:43:34 -07:00
..
README.md fix: update GroundWork SDK and improve logging (#10255) 2021-12-23 10:43:34 -07:00
groundwork.go fix: update GroundWork SDK and improve logging (#10255) 2021-12-23 10:43:34 -07:00
groundwork_test.go fix: update GroundWork SDK and improve logging (#10255) 2021-12-23 10:43:34 -07:00

README.md

GroundWork Output Plugin

This plugin writes to a GroundWork Monitor instance. Plugin only supports GW8+

Configuration

[[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 = ""
  
  ## 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"

List of tags used by the plugin

  • 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.
  • critical - to define critical threshold value.

NOTE

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