nagios-charmers team mailing list archive
-
nagios-charmers team
-
Mailing list archive
-
Message #00972
[Bug 1886153] [NEW] check_all_disks_no_squashfs includes tracefs (/sys/kernel/debug/tracing)
Public bug reported:
Nagios reports a critical failure for "Disk Usage" in the nagios unit
itself (localhost)
Description
CRITICAL: 'Disk Space' on 'nagios/0'
Service output
DISK CRITICAL - /sys/kernel/debug/tracing is not accessible: Permission denied
The check is trying to validate the virtual filesystem, but the nagios
user doesn't have permissions:
# ls -l /sys/kernel/debug |grep tracing
drwx------ 7 root root 0 May 21 2019 tracing
Related to LP#1516451 / LP#1827159 which fixes it in upstream (but only for focal I think) and handles it in the charm but just for squashfs (snaps).
I think nagios can skip this filesystem. The fix would be similar to the
squashfs/snap fix https://git.launchpad.net/charm-
nagios/commit/?id=6f5e177f0f718478cbaaab85ab3c32f4ee55bf16, by
appending:
-X tracefs
** Affects: charm-nagios
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1886153
Title:
check_all_disks_no_squashfs includes tracefs
(/sys/kernel/debug/tracing)
Status in Nagios Charm:
New
Bug description:
Nagios reports a critical failure for "Disk Usage" in the nagios unit
itself (localhost)
Description
CRITICAL: 'Disk Space' on 'nagios/0'
Service output
DISK CRITICAL - /sys/kernel/debug/tracing is not accessible: Permission denied
The check is trying to validate the virtual filesystem, but the nagios
user doesn't have permissions:
# ls -l /sys/kernel/debug |grep tracing
drwx------ 7 root root 0 May 21 2019 tracing
Related to LP#1516451 / LP#1827159 which fixes it in upstream (but only for focal I think) and handles it in the charm but just for squashfs (snaps).
I think nagios can skip this filesystem. The fix would be similar to
the squashfs/snap fix https://git.launchpad.net/charm-
nagios/commit/?id=6f5e177f0f718478cbaaab85ab3c32f4ee55bf16, by
appending:
-X tracefs
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nagios/+bug/1886153/+subscriptions
Follow ups