Using Graphite for reporting not shows CPU, Disk and other metrics

andrema2

Explorer
Joined
Aug 3, 2011
Messages
83
Hi

Not sure if it's a bug or not. I also have never used it on other versions. I'm running Beta 2.

When I try to get the metrics on Grafana, I cannot see CPU, Disk usage, Network and so on. There are some metrics, but not all. I have deleted the database, recreated and it's the same thing.

Do I have to configure something else ?
 

andrema2

Explorer
Joined
Aug 3, 2011
Messages
83
So, to be able to make it work I have added to the influxdb.conf these lines to make it work

[[graphite]]
enabled = true
database = "freenas"
bind-address = ":2003"
protocol = "tcp"
templates = [
"*.aggregation-cpu-sum.* host.measurement.field..",
"*.*.temperature.* host.field.measurement..",
"*.*.cpu-idle.* host.field.measurement..",
"*.*.cpu-interrupt.* host.field.measurement..",
"*.*.cpu-nice.* host.field.measurement..",
"*.*.cpu-system.* host.field.measurement..",
"*.*.cpu-user.* host.field.measurement..",
"*.*.df_complex-free.* host.field.measurement..",
"*.*.df_complex-used.* host.field.measurement..",
"*.*.df_complex-reserved.* host.field.measurement..",
"*.*.disk_octets.* host.disk.measurement.field ",
"*.*.gauge-temperature.* host.disk.measurement.field.",
"*.*.if_octets.* host.interface.measurement.field",
"*.*.if_packets.* host.interface.measurement.field",
"*.*.if_errors.* host.interface.measurement.field",
"*.load.* host..measurement.field",
"*.memory.* host.measurement.field..",
"*.geom_stat.* host.measurement.entity.field",
"*.processes.* host.measurement.field..",
"*.swap.* host.measurement.field.. ",
"*.uptime.* host.measurement.field.. ",
"*.zfs-data.* host.measurement.field..",
"*.zfs-freenas-boot.* host.measurement.field..",
"*.zfs_arc.* host.measurement.field..",
"*.zfs_arc_v2.* host.measurement.field..",
]
 
Top