There are valid reasons for not collecting performance data at all. One of the most common reasons is on a poller, since pollers will send their check results to their master, and the performance data handling will then happen at the master regardless, which makes any processing on the poller end unnecessary.
Step 1: Disable performance data in Naemon
process_performance_data is 0 (disabled), naemon will still create the perfdata file (although empty) defined by
*_perfdata_file, and it also runs the command specified by
*_perfdata_file_processing_command. This bug was fixed in 8.1.1 and 7.5.8. Avoid this issue on older versions by completely removing the values mentioned above from your configuration file if perfdata is disabled.
Change this parameter in
Step 2: Disable and mask the NPCD service
The NPCD service is responsible for shuffling performance data, and uses the process_perfdata.pl script. You can disable this service on EL7 by running:
# systemctl disable npcd --now
# systemctl mask npcd
Created symlink from /etc/systemd/system/npcd.service to /dev/null.
This service will no longer start.
Restart Naemon and Merlin together with:
# mon restart