Re: [Nagios-users] SELinux and RHEL6.2 preventing disk checks via NRPE

2011-12-13 Thread Trond Hasle Amundsen
Dennis Kuhlmeier kuhlme...@riege.com writes: Geez, there are a lot more contexts set than I thought. I should probably remove duplicate entries, right? The labels in /etc/selinux/targeted/contexts/files/file_contexts is there by default and these should not be touched. The file

Re: [Nagios-users] SELinux and RHEL6.2 preventing disk checks via NRPE

2011-12-12 Thread Dennis Kuhlmeier
Hello Trond, On 09.12.2011 14:13, Trond Hasle Amundsen wrote: RHEL6 has the following labels for use with Nagios plugins: # grep nagios /etc/selinux/targeted/contexts/files/file_contexts | grep plugin_exec | cut -d: -f3 | sort -u nagios_admin_plugin_exec_t

[Nagios-users] SELinux and RHEL6.2 preventing disk checks via NRPE

2011-12-09 Thread Dennis Kuhlmeier
Hello, after upgrading to RHEL6.2 I have problems checking some filesystems. Always the same three FS on all hosts, others work fine. /boot /home /var/log/audit $ ./check_nrpe -H backup -c check_fs_boot DISK CRITICAL - /boot is not accessible: Permission denied Now I disable SELinux and it

Re: [Nagios-users] SELinux and RHEL6.2 preventing disk checks via NRPE

2011-12-09 Thread Trond Hasle Amundsen
Dennis Kuhlmeier kuhlme...@riege.com writes: Hello, after upgrading to RHEL6.2 I have problems checking some filesystems. Always the same three FS on all hosts, others work fine. /boot /home /var/log/audit $ ./check_nrpe -H backup -c check_fs_boot DISK CRITICAL - /boot is not