PNP4Nagios is commonly used to add performance graphs to a Nagios installation.
For additional security, SElinux is enabled on the monitoring host. There is no standard SElinux policy for applications like PNP4Nagios, so we need to develop a custom policy. This sounds harder than it actually is:
Run the software as you normally would (SElinux will interfere, so prepare for errors)
Extract audit messages and use them to create or update a local SElinux policy for the software
Repeat until everything works
In this example, I am running Nagios 3.2.3 with PNP4Nagios 0.6.16 on EL6, 64-bit.
After configuring Nagios and PNP4Nagios integration in Synchronous Mode (see [...]
Continue reading PNP4Nagios with SElinux on CentOS / RHEL 6