pnp4nagios does not generate perfdata

Posted by gonvaled on Server Fault See other posts from Server Fault or by gonvaled
Published on 2012-01-07T21:14:30Z Indexed on 2012/07/10 15:18 UTC
Read the original article Hit count: 341

Filed under:
|
|

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:

/usr/local/pnp4nagios/var/perfdata/zeus/Disk_Space_Home.rrd
/usr/local/pnp4nagios/var/perfdata/zeus/Disk_Space_Home.xml

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:

status_info|perf_data

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?

© Server Fault or respective owner

Related posts about nagios

Related posts about nagios-plugins