Hi all,

I've been using Icinga2 for about a year now but consistently run into this
issue with Debian 8 jessie hosts.

My disk checks keep giving me back critical errors, specifically the two
below:


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

I'm not sure why this is, since both directories (filesystems?) are 644 in
permissions and I'm obviously not running any sort of mandatory access
control (i.e. SELinux or AppArmor). Even umounting these filesystems makes
no difference.

I've even tried adding the following to my hosts.conf file with no effect:

*    vars.disk_exclude_type = ["sysfs"]*

I've posted a full Host entry (sensitive fields redacted) for my hosts.conf
file below:

























*object Host "host.example.com <http://host.example.com>" {  import
"generic-host"  address = "1.2.3.4"  enable_flapping = true
vars.remote_client = "host.example.com <http://host.example.com>"  vars.os
= "Linux"  vars.os_name = "Debian"  vars.os_family = "Debian"
vars.os_release = "8"  vars.os_codename = "jessie"  vars.disks["disk"] =
{}  vars.disks["disk /"] = {    disk_partitions = "/"  }
vars.disk_exclude_type = ["sysfs"]  vars.notification["mail"] = {    groups
= [ "icingaadmins" ]  }}*

Any insight or help with this would be greatly appreciated. Please let me
know if you require additional information.

Many thanks,
Aaron
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to