DISK CRITICAL - /sys/kernel/security is not accessible: Permission denied

  • I have an Ubuntu backup server that's only accessible via SSH. It is running the Icinga2 client and I have an issue with;

    Code
    1. DISK CRITICAL - /sys/kernel/security is not accessible: Permission denied

    Here is the filesystem;

    Code
    1. Filesystem      Size  Used Avail Use% Mounted on
    2. /dev/root        20G  2.1G   17G  12% /
    3. devtmpfs        7.9G     0  7.9G   0% /dev
    4. tmpfs           7.9G     0  7.9G   0% /dev/shm
    5. tmpfs           7.9G  9.8M  7.9G   1% /run
    6. tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    7. tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
    8. /dev/md3        3.6T  1.4T  2.1T  41% /home
    9. tmpfs           1.6G     0  1.6G   0% /run/user/1000


    and ls -la gives me this

    Code
    1. ls -la /sys/kernel | grep security
    2. drwxr-xr-x 2 root root 0 Apr 20 13:31 security

    Any advice?

  • It seems to be with the virtual file systems that need to be excluded.


    My ubuntu' s keep silent using:

    Code
    1. disk_exclude_type = [ "none", "tmpfs", "sysfs", "proc", "devtmpfs", "devfs", "mtmfs", "tracefs", "cgroup", "fuse.gvfsd-fuse" ]

    Also worth reading:

    https://lists.icinga.org/piper…/2015-October/010289.html

    https://prakash-khadka.com.np/icinga2-disk-critical/

    The post was edited 1 time, last by sru ().