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
** 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
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
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
A PPA with the proposed fix is available at:
https://launchpad.net/~bryce/+archive/ubuntu/monitoring-plugins-sru-
lp1827159
Git branch with the packaging for the fix:
https://code.launchpad.net/~bryce/ubuntu/+source/monitoring-
plugins/+git/monitoring-plugins/+ref/monitoring-plugins-sru-
Patch forwarded upstream to https://github.com/monitoring-plugins
/monitoring-plugins/pull/1609
** Changed in: monitoring-plugins (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of AIMS,
which is subscribed to a duplicate bug report
** Description changed:
- When using nagios to monitor the Nagios host itself, if the host is not
- a container, the template for checking the disk space on the Nagios host
- does not exclude any snap filesystems. This means we get a Critical
- report if any snap is installed.
+ [Impact]
+ TBD
+
** Description changed:
[Impact]
- TBD
-
- [Test Case]
- TBD
-
-
- [Regression Potential]
- TBD
-
-
- [Fix]
- See comment #7
- This will need to be backported.
-
- [Discussion]
-
- [Original Report]
- When using nagios to monitor the Nagios host itself, if the host is not a
container,
** Changed in: coreutils (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of AIMS,
which is subscribed to a duplicate bug report (1516451).
https://bugs.launchpad.net/bugs/1827159
Title:
check_all_disks includes squashfs /snap/* which
df no longer shows squashfs mounts by default, as of today's coreutils
update
** Changed in: coreutils (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of AIMS,
which is subscribed to a duplicate bug report (1516451).
** Also affects: coreutils (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of AIMS,
which is subscribed to a duplicate bug report (1516451).
https://bugs.launchpad.net/bugs/1827159
Title:
check_all_disks includes squashfs
11 matches
Mail list logo