Skip to main content

zfs

Plugin: freebsd.plugin Module: zfs

Overview

Collect metrics for ZFS filesystem

The plugin uses sysctl function to collect necessary data.

This collector is supported on all platforms.

This collector supports collecting metrics from multiple instances of this integration, including remote instances.

Default Behavior

Auto-Detection

This integration doesn't support auto-detection.

Limits

The default configuration for this integration does not impose any limits on data collection.

Performance Impact

The default configuration for this integration is not expected to impose a significant performance impact on the system.

Metrics

Metrics grouped by scope.

The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.

Per zfs instance

These metrics show detailed information about ZFS filesystem.

This scope has no labels.

Metrics:

MetricDimensionsUnit
zfs.arc_sizearcsz, target, min, maxMiB
zfs.l2_sizeactual, sizeMiB
zfs.readsarc, demand, prefetch, metadata, l2reads/s
zfs.bytesread, writeKiB/s
zfs.hitshits, missespercentage
zfs.hits_ratehits, missesevents/s
zfs.dhitshits, missespercentage
zfs.dhits_ratehits, missesevents/s
zfs.phitshits, missespercentage
zfs.phits_ratehits, missesevents/s
zfs.mhitshits, missespercentage
zfs.mhits_ratehits, missesevents/s
zfs.l2hitshits, missespercentage
zfs.l2hits_ratehits, missesevents/s
zfs.list_hitsmfu, mfu_ghost, mru, mru_ghosthits/s
zfs.arc_size_breakdownrecent, frequentpercentage
zfs.memory_opsthrottledoperations/s
zfs.important_opsevict_skip, deleted, mutex_miss, hash_collisionsoperations/s
zfs.actual_hitshits, missespercentage
zfs.actual_hits_ratehits, missesevents/s
zfs.demand_data_hitshits, missespercentage
zfs.demand_data_hits_ratehits, missesevents/s
zfs.prefetch_data_hitshits, missespercentage
zfs.prefetch_data_hits_ratehits, missesevents/s
zfs.hash_elementscurrent, maxelements
zfs.hash_chainscurrent, maxchains
zfs.trim_bytesTRIMmedbytes
zfs.trim_requestssuccessful, failed, unsupportedrequests

Alerts

The following alerts are available:

Alert nameOn metricDescription
zfs_memory_throttle zfs.memory_opsnumber of times ZFS had to limit the ARC growth in the last 10 minutes

Setup

Prerequisites

No action required.

Configuration

File

The configuration file name for this integration is netdata.conf. Configuration for this specific integration is located in the [plugin:freebsd:zfs_arcstats] section within that file.

The file format is a modified INI syntax. The general structure is:

[section1]
option1 = some value
option2 = some other value

[section2]
option3 = some third value

You can edit the configuration file using the edit-config script from the Netdata config directory.

cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config netdata.conf

Options

Config options
NameDescriptionDefaultRequired
show zero chartsDo not show charts with zero metrics.nono

Examples

There are no configuration examples.


Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.