server load

Dashboard

basic common metrics of any linux server.
Last updated: 8 days ago

Downloads: 152

  • grafana-server-single.png
    grafana-server-single.png

This dashboard shows basic common metrics of any *nix machine. I tried to make a clear view and pick relevant measurements only from telegraf's native plugins. No extra work required.

Implements templated "host" variable, so you can select a host from a list.

Graph panel's features allow to figure out trends. To compare, switch between hosts quickly.

The dashboard fits into a single window without scrolling.

It provides the following metrics:

  • disk space
  • process count
  • swap
  • cpu usage
  • RAM usage
  • IP outgoing traffic
  • system load

Collector Configuration Details

telegraf config

required

[global_tags]
  host = "$HOSTNAME"

telegraf config example

[global_tags]
  host = "$HOSTNAME"
[agent]
  interval = "5m"
[[outputs.influxdb]]
  urls = ["http://mydomain.invalid:8086"] 
  database = "servermonitor" 
[[inputs.cpu]]
  percpu = false
  totalcpu = true 
  collect_cpu_time = true
  fielddrop = ["time_guest","time_guest_nice","time_irq","time_nice","time_softirq","time_steal","usage_guest","usage_guest_nice","usage_irq","usage_nice","usage_softirq","usage_steal"]
  interval = "2s"
[[inputs.disk]]
  mount_points = ["/","/var","/data"]
  fielddrop=["used","inodes_used"]
[[inputs.mem]]
  fielddrop=["active","buffered","cached","free","inactive","used","used_percent"]
[[inputs.processes]]
[[inputs.swap]]
  fielddrop=["free","total"]
[[inputs.system]]
  fielddrop=["n_users","uptime_format"]
[[inputs.nstat]]
  interval = "2s"
  proc_net_netstat = "" # this is of interest.
  fieldpass = ["IpExtOutOctets","IpExtInOctets"] 
Download Dashboard
Dependencies: