On the stock version, tmpfs filesystems do not show up, even if I
specify -X:

$ /usr/lib/nagios/plugins/check_disk -w 10 -c 10
DISK OK - free space: /dev 5944 MB (100% inode=99%); / 2357 MB (28% inode=75%); 
/srv 17618 MB (94% inode=99%); /boot/efi 498 MB (98% inode=-);| 
/dev=0MB;5934;5934;0;5944 /=5993MB;8807;8807;0;8817 
/srv=1009MB;18634;18634;0;18644 /boot/efi=5MB;494;494;0;504

$ /usr/lib/nagios/plugins/check_disk -w 10 -c 10 -X devpts
DISK OK - free space: /dev 5944 MB (100% inode=99%); / 2357 MB (28% inode=75%); 
/srv 17618 MB (94% inode=99%); /boot/efi 498 MB (98% inode=-);| 
/dev=0MB;5934;5934;0;5944 /=5993MB;8807;8807;0;8817 
/srv=1009MB;18634;18634;0;18644 /boot/efi=5MB;494;494;0;504

With this version using my alternative patch, they still don't show up by 
default, but do if I specify something with -X:
$ ./check_disk -w 10 -c 10
DISK OK - free space: /dev 5944 MB (100% inode=99%); / 2357 MB (28% inode=75%); 
/srv 17618 MB (94% inode=99%); /boot/efi 498 MB (98% inode=-);| 
/dev=0MB;5934;5934;0;5944 /=5992MB;8807;8807;0;8817 
/srv=1009MB;18634;18634;0;18644 /boot/efi=5MB;494;494;0;504

$ ./check_disk -w 10 -c 10 -X devpts
DISK CRITICAL - free space: /dev 5944 MB (100% inode=99%); /run 1076 MB (89% 
inode=99%); / 2357 MB (28% inode=75%); /dev/shm 5987 MB (100% inode=99%); 
/run/lock 5 MB (100% inode=99%); /sys/fs/cgroup 5987 MB (100% inode=99%); /tmp 
5986 MB (99% inode=99%); /srv 17618 MB (94% inode=99%); /boot/efi 498 MB (98% 
inode=-); /run/user/25045 1197 MB (100% inode=99%);| /dev=0MB;5934;5934;0;5944 
/run=120MB;1187;1187;0;1197 /=5992MB;8807;8807;0;8817 
/dev/shm=0MB;5977;5977;0;5987 /run/lock=0MB;-5;-5;0;5 
/sys/fs/cgroup=0MB;5977;5977;0;5987 /tmp=0MB;5977;5977;0;5987 
/srv=1009MB;18634;18634;0;18644 /boot/efi=5MB;494;494;0;504 
/run/user/25045=0MB;1187;1187;0;1197

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

Title:
  check_disk forcibly ignores tmpfs

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


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

Reply via email to