banshee est en développement actif : les collecteurs vont encore changer, et une version que vous publiez demandera sans doute des ajustements. Pour un usage stable, attendez la version 1.0.0.

Linux

banshee/linux-collection/linux/snmp/

filesystems

Space of each mounted filesystem of a Linux host by SNMP, with the trend that says it will be full.

  • linux
  • snmp
  • filesystem
  • disk
  • net-snmp

par banshee1 installation2 versions

v2Dernière

Publiée le 28 octobre 2026. One naming convention across collections; documentation completed.

Filesystems of a Linux host, by SNMP

Returns, for each mounted filesystem, its size, the space used and free, and the share used. Four watches are offered, each adjustable on the probe, among them the filesystem full within a week.

Versions

Generic: hrStorageTable (HOST-RESOURCES-MIB) is served the same way by net-snmp on any Linux; how the agent counts the blocks reserved for root depends on its version (see Limits).

How it works

The collector reads hrStorageTable (HOST-RESOURCES-MIB) and keeps the rows of type hrStorageFixedDisk only: network mounts (hrStorageNetworkDisk) and the memory rows the agent also lists are left out. A filesystem is named by its mount point.

  • net-snmp does not tell the type of a filesystem: it files tmpfs and overlay with the disks, and itself hides devtmpfs, proc, sysfs and squashfs. In-memory and container mounts are therefore left out by their mount point, in the default selection: everything except /dev, /dev/*, /run, /run/*, /sys/*, /var/lib/docker/*, /var/lib/containers/* and /var/lib/kubelet/*. The selection can be changed on the probe; a tmpfs mounted elsewhere (/tmp) is watched like a disk.
  • A filesystem of size zero is not judged.
  • A host where no fixed disk is read stops the collector as misconfigured, saying how many rows and which types the agent served: it never shows green on nothing.
  • Full within a week projects the trend of the used share seven days ahead; the watch first learns the history of the filesystem.

Prerequisites

  • snmpd (net-snmp) running on the host, listening on an address the poller reaches (UDP 161), with the firewall open to the poller only.
  • The view granted to the poller includes hrStorage (.1.3.6.1.2.1.25.2).
  • Read-only access, SNMPv2c or SNMPv3, set on the host or one of its folders (protocol:snmp:* variables).
# /etc/snmp/snmpd.conf
agentaddress udp:161
view   banshee included .1.3.6.1.2.1.25.2
rocommunity <community> 192.0.2.10 -V banshee
# or: rouser <user> priv -V banshee

Outputs

NameLabelUnitPer instance
used-percentUsed space%yes, per filesystem
usedUsed spaceGiByes, per filesystem
freeFree spaceGiByes, per filesystem
sizeSizeGiByes, per filesystem

Watches

NameTitleKindDefaultsChecked by default
usedUsed spaceabove a threshold, on used-percentwarning above 80 %, critical above 90 %yes
full-soonFull within a weekabove a threshold, on used-percentwarning above 99 %, ahead 7 dyes
freeLittle free spacebelow a threshold, on freecritical below 5 GiB; no warningno
missingFilesystem missingexpected instances, on used-percentno filesystem named: it raises nothing until names are set on the probeno

Limits

  • Used and free space are what the agent counts in hrStorage; how it treats the blocks reserved for root depends on its version, so the share used may differ slightly from the one df shows.
  • Inodes are not served by this MIB: a filesystem full of small files is not seen. The linux/ssh/filesystems collector reads them.
  • hrStorageSize is 31 bits wide, in allocation units: a filesystem beyond 2³¹ units is miscounted by the agent itself.