---
title: "How to disable performance data and NPCD"
description: "Disabling performance data collection is useful on pollers that send results to a master for processing. To disable it, update naemon.cfg to stop perfdata handling and disable the NPCD service responsible for performance data shuffling."
url: "https://docs.itrsgroup.com/docs/faq/op5/360022024034-op5-monitor-how-to-disable-performance-data-and-npcd/index.html"
---
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

On older versions, even if `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 `/opt/monitor/etc/naemon.cfg`:

```
process_performance_data=1
```

to:

```
process_performance_data=0
```

## 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
```

## More information on performance data and NPCD

Please see: [How is performance data transformed into graph data?](https://docs.itrsgroup.com/docs/faq/op5/360020250213-op5-monitor-how-is-performance-data-transformed-into-graph-data/index.html)


