Skip to content

Instantly share code, notes, and snippets.

@rlagmlah
Created January 17, 2020 11:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rlagmlah/1c32f14a3a6673643ee6e80bb9072a56 to your computer and use it in GitHub Desktop.
Save rlagmlah/1c32f14a3a6673643ee6e80bb9072a56 to your computer and use it in GitHub Desktop.
Graphite template settings for InfluxDB for FreeNAS.
[[graphite]]
enabled = true
database = "graphite"
bind-address = ":2003"
protocol = "tcp"
templates = [
# CPU usages
"*.*.*.cpu-idle host.host.type.measurement",
"*.*.*.cpu-interrupt host.host.type.measurement",
"*.*.*.cpu-nice host.host.type.measurement",
"*.*.*.cpu-system host.host.type.measurement",
"*.*.*.cpu-user host.host.type.measurement",
# system load
"*.*.load.load.* host.host..measurement.type",
# dev temperature (CPU + HDD)
"*.*.*.temperature host.host.dev.measurement",
# memory usages
"*.*.memory.* host.host.measurement.type",
# SWAP
"*.*.swap.* host.host.measurement.type",
# uptime
"*.*.uptime.* host.host.measurement.uptime",
# Interface info
"*.*.*.*.rx host.host.interface.type.measurement",
"*.*.*.*.tx host.host.interface.type.measurement",
# Processes
"*.*.processes.* host.host.measurement.type",
# ZFS ARC Info
"*.*.zfs_arc.* host.host.measurement.type",
# ZFS ARC v2 Info
"*.*.zfs_arc_v2.* host.host.measurement.type",
# Disk Info 1
"*.*.*.disk_io_time.* host.host.dev.measurement.type",
"*.*.*.disk_octets.* host.host.dev.measurement.type",
"*.*.*.disk_ops.* host.host.dev.measurement.type",
"*.*.*.disk_time.* host.host.dev.measurement.type",
"*.*.*.disk_octets-0-0.* host.host.dev.measurement.type",
"*.*.*.disk_ops-0-0.* host.host.dev.measurement.type",
"*.*.*.disk_time-0-0.* host.host.dev.measurement.type",
# Disk geom Info
"*.*.geom_stat.* host.host.measurement.type",
"*.*.geom_stat.*.* host.host.measurement.type.rwd",
# Disk partition
"*.*.*.df_complex-free host.host.partition.measurement",
"*.*.*.df_complex-reserved host.host.partition.measurement",
"*.*.*.df_complex-used host.host.partition.measurement",
# RRDcached Info
"*.*.rrdcached.* host.host.measurement.type",
# Default
"host.host.measurement*"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment