Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running nagios2, pnp4nagios-0.6.16 and php 5.2.4-2ubuntu5.19.

In my setup, pnp4nagios is correctly generating perfdata, which can be seen via the web interface in graphical form for lots of services.

The perfdata directory contains entries of the kind:


I have activated performance data for a new nagios service:

define serviceextinfo {
    host_name                       zeus
    service_description             450average
    action_url                      /pnp4nagios/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$

This service is generating monitoring data in the format:


as required for performance gathering.

But somehow the performance data related to this service is not being collected by pnp4nagios (no related entries in /usr/local/pnp4nagios/var/perfdata)

Are there any pnp4nagios scripts or settings which I could use to debug this?

share|improve this question

To get performance data collection started, you must make sure that the format of the data produced is:


For example:

share|improve this answer

somewhere in your nagios configuration you need to assign the proper command to process perfdata aswell.

something like this

define command {
       command_name    process-service-perfdata
       command_line    /usr/bin/perl /usr/local/pnp4nagios/libexec/

define command {
       command_name    process-host-perfdata
       command_line    /usr/bin/perl /usr/local/pnp4nagios/libexec/ -d HOSTPERFDATA

also your template/service definition must have 'process_perf_data 1'

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.