Hoster.by

Сбор метрик личного кабинета hoster.by

Hoster.by screenshot 1

Telegraf config:

[global_tags]

[agent]
  interval = "10s"
  round_interval = true

  metric_buffer_limit = 1000
  flush_buffer_when_full = true

  collection_jitter = "0s"

  flush_interval = "10s"
  flush_jitter = "0s"

  debug = false
  quiet = false
  logfile = "/Program Files/Telegraf/telegraf.log"

  hostname = ""

[[outputs.influxdb]]
  urls = ["http://influxdb:8086"] 
  database = "database"
  precision = "s"

  timeout = "5s"
  username = "username"
  password = "password"

[[inputs.exec]]
  interval = "1h"
  commands = ["powershell Get-HosterBYMetrics -email 'email' -password 'password'"]
  timeout = "1m"
  name_suffix = ""
  data_format = "influx"
Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies