** Changed in: nagios-plugins (Ubuntu)
Assignee: (unassigned) => Bryce Harrington (bryce)
** Tags removed: server-next
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1516451
Title:
You can use the --exclude-type option to work this bug around:
/usr/lib/nagios/plugins/check_disk -e --exclude-type=tracefs
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1516451
Thank you for taking the time to report and investigate this bug and
helping to make Ubuntu better.
It sounds to me like check_disk should have a blacklist of filesystem
types to ignore. But explicitly specifying which mount points looks like
a suitable workaround.
I wonder if this affects
I suspect there isn't a code change here, but rather a difference in the
way Ubuntu is presenting its mount points. The plugin tries to
enumerate and check all mounts. A better use might be to add the actual
mount points to be monitored with -p
/usr/lib/nagios/plugins/check_disk -w '20%' -c
strace confirms that check_disk on 12.04 doesn't check
/sys/kernel/debug/tracing
Not having any luck tracking down a code change in the monitoring-
plugins github repo. I wonder if this is a change in a dependent lib
instead.
Here's a workaround
sudo chown root:root
Also note that while 15.10 does change the permissions on
/sys/kernel/debug/tracing (from drwxr-xr-x in 15.04 to drwx-- in
15.10), the permissions on /sys/kernel/debug are drwx-- on both
15.10 and 15.04 - which means that /sys/kernel/debug shouldn't be
readable from a non-root account on
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: nagios-plugins (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in Ubuntu.