NAME
na.diskinfo - report disk space information
DESCRIPTION
This agent reports the total amount of disk space occupied by a file system, the amount of used and available space and the capacity used.
ATTRIBUTES
na.diskinfo has one attribute table, diskSpace.
The diskSpace table reports the disk space information of file systems. The key is the directory/file name currently mounted (mountedOn).
fileSystem - file system name (string[256])
mountedOn - directory/file name currently mounted (string[256])
total - total blocks in file system (long)
used - used blocks in file system (gauge)
avail - available blocks in file system (gauge)
capacity - the percentage used of the file system's capacity (gauge)
iUsed - the number of inodes used (gauge)
iFree - the number of free inodes (gauge)
%iUsed - the percentage of inodes used (gauge)
ERRORS
statfs(2) failed
cannot check the status of the file system.
data build failed
unable to report the table for building report error.
NOTES
This agent only reports the information for file systems of type 4.2, SWAP, and nfs.