Description of problem: when selinux is enabled on RHS/RHSC node cluster services gives the status as "Null" and cluster status gives status information as "127, plugin code out of bound error". Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Nagios does not work when selinux is enabled on the system. Expected results: Nagios should work seamlessly when selinux is disabled/enabled. Additional info:
This bug has to be fixed for both RHEL 6.6 and RHEL 7.1
All plugins works as expected. I had following booleans status on nagios server node: nagios_run_pnp4nagios --> on nagios_run_sudo --> on and following on monitored node: nagios_run_pnp4nagios --> off nagios_run_sudo --> on --> VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-1494.html