Public bug reported:

$ lsb_release -d
Description:    Ubuntu 20.04.3 LTS

$ apt-cache policy monitoring-plugins | head -n2
monitoring-plugins:
  Installed: 2.2-6ubuntu1.1

check_disk returns UNKNOWN for tmpfs filesystems, even when directed
explicitly to check them. This is a regression introduced by the fix for
LP: #1827159.

Steps to reproduce:

$ df -h /tmp
Filesystem      Size  Used Avail Use% Mounted on
tmpfs            16G   64K   16G   1% /tmp
$ /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /tmp
DISK UNKNOWN - free space:|

Running the check as part of a group, even with just the one member, is
a workaround:

$ /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -g tmp -p /tmp
DISK OK - free space: tmp 16058 MB (99% inode=99%);| tmp=0MB;14452;15255;0;16058

** Affects: monitoring-plugins (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940916

Title:
  Incorrectly excludes tmpfs filesystems

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/monitoring-plugins/+bug/1940916/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to