check_disk returns 0MB in use for zfs filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nagios-plugins (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In the performance data returned by check_disk the value for MB in use is always zero.
$ /usr/lib/
DISK OK| /tank=0MB;
Tank is a ZFS mountpoint/
$ df /tank /
Filesystem 1K-blocks Used Available Use% Mounted on
tank 3419934254 32 3419934222 1% /tank
/dev/sda1 95989516 7703148 83403632 9% /
Results from check_disk are the same when run as root
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: nagios-
ProcVersionSign
Uname: Linux 3.8.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Thu Oct 31 09:51:01 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-05-29 (154 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: nagios-plugins
UpgradeStatus: Upgraded to saucy on 2013-10-17 (13 days ago)
I guess the 32k from 'df' is something like 0%? I can't see anything wrong from your output for the first view!