snmpdf
Display remote disk usage via SNMP
TLDR
SYNOPSIS
snmpdf [options] agent
DESCRIPTION
snmpdf displays disk space and storage usage from remote hosts by querying SNMP agents, providing functionality similar to the df command but over the network. It reads the Host Resources MIB (hrStorageTable) to report filesystem sizes, used space, and availability.The tool queries storage entries including physical disks, RAM, virtual memory, and other storage types reported by the SNMP agent. The -Ch flag formats output in human-readable sizes, and -Cu forces use of the UCD-SNMP-MIB dskTable instead of the default hrStorageTable.snmpdf is part of the Net-SNMP suite and is useful for monitoring disk usage across many hosts from a central location without requiring SSH access or agents beyond the standard SNMP daemon.
PARAMETERS
-v version
SNMP version (1, 2c, 3).-c community
Community string.-Ch
Human readable sizes (MiB, GiB, TiB).-CH
Human readable sizes in SI format (MB, GB, TB).-Cu
Use UCD-SNMP-MIB dskTable instead of default HOST-RESOURCES-MIB hrStorageTable.
CAVEATS
Requires a running SNMP agent on the remote host. The default hrStorageTable may report virtual memory and other non-disk storage types. Community strings and SNMP credentials must match the agent configuration. SNMPv3 authentication adds complexity but is recommended for security.
HISTORY
snmpdf is part of the Net-SNMP suite, which evolved from the UCD-SNMP project originally developed at the University of California, Davis.
