influxdata / community-templates

InfluxDB Community Templates: Quickly collect & analyze time series data from a range of sources: Kubernetes, MySQL, Postgres, AWS, Nginx, Jenkins, and more.
https://www.influxdata.com/products/influxdb-templates/gallery/
Apache License 2.0
352 stars 157 forks source link

Systemd dashboard cells and alerts add to the current Linux System Template #179

Open mnsmithuk opened 4 years ago

mnsmithuk commented 4 years ago

Hi

I would like to request an improvment on the current Linux System Template

I need to track systemd services.

  1. Those that are currently in a failed state - This would be CRITICAL state
  2. Those that are currently running but not enabled - This could be WARNING state
  3. Those that are currently enabled but not running (not failed or exited normally) - This could also be WARNING state or INFO state

This can be represented in a table cell(s) on the dashboard that contains of the last state collected from telegraf. If they are in the same cell then failed services can be red color coded and WARNING state yellow color coded. The cell should use the v.linux_host variable.

Alerts for state changes between

  1. failed and running and visa versa.
  2. running and not running and visa versa.

Notifications options to SLACK and Teams.