*** This bug is a duplicate of bug 1827159 ***
https://bugs.launchpad.net/bugs/1827159
Also applies to squashfs, added bugs as dup
** This bug has been marked a duplicate of bug 1827159
check_all_disks includes squashfs /snap/* which are 100%
** Tags added: server-next
--
You received
** 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 AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1516451
Title:
check_disk
Meanwhile, I've verified the issue seems relevant for newer ubuntu's
too:
### Bionic
# /usr/lib/nagios/plugins/check_disk -w '20%' -c '10%' -e
DISK CRITICAL - /sys/kernel/debug/tracing is not accessible: Permission denied
### Eoan
# /usr/lib/nagios/plugins/check_disk -w '20%' -c '10%' -e
DISK
Ramon, thank you for the detailed test case, I was able to run through
it exactly as you described, both as root user (see attached) and as
nagios (with sudo setup). I suspect I'm unable to reproduce the issue
you're seeing since under lxc the /sys/kernel/debug directory belongs to
the host and
** Tags added: server-next
--
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1516451
Title:
check_disk plugin broken after upgrade to 15.10
Status in nagios-plugins package in Ubuntu:
Incomplete
The reason why this alert pops out is related to running sosreport on this
node. Nagios can not access it - which is good as this directory is only
accessible by root:
# ll /sys/kernel/debug/ | grep trac
drwx-- 8 root root 0 Jul 9 09:06 tracing/
To validate/replicate this behaviour, please
This looks similar to https://bugs.launchpad.net/ubuntu/+source
/monitoring-plugins/+bug/1827159.
However, installing nagios-plugins in a fresh Xenial LXC container does
not appear sufficient to reproduce the bug:
1. There is no /sys/kernel/debug/tracing present on the system. Installing
This is also affecting a confined xenial LXC environment, and was fixed
by adding "--exclude-type=tracefs" on the check_all_disks command
definition at /etc/nagios-plugins/config/disk.cfg
monitoring-plugins-basic should be updated with the above.
** Tags added: canonical-bootstack
--
You
Since check_all_disks is internally defined in Nagios, you might well
see a "duplicate definition" error if you define your own
check_all_disks command. I'd recommend
define command{
command_name check_all_physical_disks
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c
Oops - please disregard comment #14 - it's specific to Icinga.
--
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1516451
Title:
check_disk plugin broken after upgrade to 15.10
Status in
This appears to be fixed upstream via
https://github.com/Icinga/icinga2/issues/4184
** Bug watch added: github.com/Icinga/icinga2/issues #4184
https://github.com/Icinga/icinga2/issues/4184
--
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug
These days /etc/mtab is a symlink to /proc/self/mounts, so you cannot
control what is exposed there.
--
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1516451
Title:
check_disk plugin broken after
We normally netboot but we had a few machines that would not PXE, so we
installed 14.04 via medium. Afterwards, some of the medium-installed
machines were throwing this error in Nagios. Found this line in
/etc/mtab on the afflicted hosts:
tracefs /var/lib/ureadahead/debugfs/tracing tracefs
Possibly related to #499773 which is about install adding spurious
entries to mtab.
--
You received this bug notification because you are a member of AIMS,
which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1516451
Title:
check_disk plugin broken after upgrade to 15.10
Rather than excluding tmpfs, just exclude /run/lxcfs/controllers. This
is the check_all_disks command I'm now using in my /etc/nagios-
plugins/config/disk.cfg:
# 'check_all_disks' command definition
define command{
command_namecheck_all_disks
command_line
15 matches
Mail list logo