120 lines
2.1 KiB
TOML
120 lines
2.1 KiB
TOML
[global]
|
|
period = 1
|
|
socket = "/var/run/collectd-unixsock"
|
|
|
|
[[graph]]
|
|
name = "cpu load"
|
|
path = "cpu.png"
|
|
width_px = 480
|
|
height_px = 98
|
|
samples = 60
|
|
|
|
[[graph.series]]
|
|
name = "load"
|
|
color = [2, 154, 219]
|
|
metrics = [
|
|
".*\\/cpu-[0-9]+\\/cpu-(nice|steal|system|user)"
|
|
]
|
|
|
|
[[graph.series]]
|
|
name = "io wait"
|
|
color = [68, 200, 229]
|
|
metrics = [
|
|
".*\\/cpu-[0-9]+\\/cpu-wait"
|
|
]
|
|
|
|
[[graph.series]]
|
|
name = "irq"
|
|
color = [143, 232, 252]
|
|
metrics = [
|
|
".*\\/cpu-[0-9]+\\/cpu-(interrupt|softirq)"
|
|
]
|
|
|
|
[[graph.series]]
|
|
name = "idle"
|
|
color = [0, 0, 0]
|
|
metrics = [
|
|
".*\\/cpu-[0-9]+\\/cpu-idle"
|
|
]
|
|
|
|
[[graph]]
|
|
name = "memory"
|
|
path = "mem.png"
|
|
width_px = 480
|
|
height_px = 98
|
|
samples = 90
|
|
|
|
[[graph.series]]
|
|
name = "used"
|
|
color = [0, 117, 5]
|
|
metrics = [
|
|
".*\\/memory\\/memory-used"
|
|
]
|
|
|
|
[[graph.series]]
|
|
name = "cached"
|
|
color = [2, 224, 13]
|
|
metrics = [
|
|
".*\\/memory\\/memory-buffered",
|
|
".*\\/memory\\/memory-cached"
|
|
]
|
|
|
|
[[graph.series]]
|
|
name = "free"
|
|
color = [0, 0, 0]
|
|
metrics = [
|
|
".*\\/memory\\/memory-free"
|
|
]
|
|
|
|
[[graph]]
|
|
name = "disk"
|
|
path = "disk.png"
|
|
width_px = 480
|
|
height_px = 98
|
|
samples = 90
|
|
|
|
[[graph.series]]
|
|
name = "read"
|
|
color = [206, 206, 2]
|
|
metrics = [
|
|
{ name = ".*\\/disk-nvme[0-9]+n[0-9]+\\/disk_octets", value = "read" }
|
|
]
|
|
|
|
[[graph.series]]
|
|
name = "write"
|
|
color = [206, 111, 2]
|
|
metrics = [
|
|
{ name = ".*\\/disk-nvme[0-9]+n[0-9]+\\/disk_octets", value = "write" }
|
|
]
|
|
|
|
[[graph]]
|
|
name = "network"
|
|
path = "net.png"
|
|
width_px = 480
|
|
height_px = 98
|
|
samples = 90
|
|
|
|
[[graph.series]]
|
|
name = "error"
|
|
color = [206, 25, 2]
|
|
metrics = [
|
|
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_errors", value = "tx" },
|
|
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_errors", value = "rx" },
|
|
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_dropped", value = "tx" },
|
|
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_dropped", value = "rx" },
|
|
]
|
|
|
|
[[graph.series]]
|
|
name = "sent"
|
|
color = [2, 206, 111]
|
|
metrics = [
|
|
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_octets", value = "tx" },
|
|
]
|
|
|
|
[[graph.series]]
|
|
name = "recv"
|
|
color = [2, 179, 20]
|
|
metrics = [
|
|
{ name = ".*\\/interface-(wlo[0-9]+|eno[0-9]+)\\/if_octets", value = "rx" },
|
|
]
|