All dashboards

Melroy's Status Dashboard

Melroy's Server Status Uptime metrics page.

Dashboard with showing the server uptime as well as your own defined services via the exec plugin of Telegraf (I’m using pgrep Linux command to collect data). Pgrep command is used to obtain information about the process and stored into the table called nr_processes.

You will need to install Telegraf & InfluxDB.

Notice the additional required plugin, called flant-statusmap-panel (thank you)

Demo: I’m actually using this dashboard as my public dashboard. I’m using a dedicated ‘public’ organization within my Grafana server.

Telegraf config

Add the following Telegraf configuration to your /etc/telegraf/telegraf.conf file:

[[inputs.system]]


# Below the list of applications you want to track
[[inputs.exec]]
  commands = ["pgrep -c nginx"]
  name_override = "nr_processes"
  data_format = "value"
  data_type = "integer"
  interval = "1m"
  [inputs.exec.tags]
    instance = "Nginx"

[[inputs.exec]]
  commands = ["pgrep -c gitea"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "Gitea"

[[inputs.exec]]
  commands = ["pgrep -c gitlab-runner"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "GitLab Runner"

[[inputs.exec]]
  commands = ["pgrep -c gitlab-workhors"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "GitLab Workhors"

[[inputs.exec]]
  commands = ["pgrep -fc -u git puma"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "GitLab Puma"

[[inputs.exec]]
  commands = ["pgrep -fc -u git sidekiq"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "GitLab Sidekiq"

[[inputs.exec]]
  commands = ["pgrep -c -u redis redis-server"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "Redis"

[[inputs.exec]]
  commands = ["pgrep -c -u postgres postgres"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "PostgreSQL"

[[inputs.exec]]
  commands = ["pgrep -c mysql"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "MariaDB"

[[inputs.exec]]
  commands = ["pgrep -c php-fpm"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "PHP-FPM"

[[inputs.exec]]
  commands = ["pgrep -c ts3server"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "TeamSpeak"

[[inputs.exec]]
  commands = ["pgrep -fc synapse.app.homeserver"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "Synapse"

[[inputs.exec]]
  commands = ["pgrep -c lbrynet"]
  name_override = "nr_processes"
  data_format = "value"
  interval = "1m"
  [inputs.exec.tags]
    instance = "LBRYnet"
Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies