Issue configuring pnp4nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
bbahn
Posts: 318
Joined: Thu Jan 12, 2023 5:42 pm

Re: Issue configuring pnp4nagios

Post by bbahn »

If you visit the shown link, you will see it says
===== perfdata-dir-for-host =====

PNP was called with a host in the URL.

Example:
http://<nagios-server>/pnp4nagios/graph?host=<this-host>

The resulting path to the perfdata directory could not be found.

The path is shown in the error message.

''var/perfdata/<this-host>'' will be created by process_perfdata.pl when it processes performance data for this host.

If this directory does not exist there are several possible causes:

* Passing an incorrect host name in the URL
* The host has no valid performance data
* None of the services has valid performance data
Have you checked the directories listed and verified whether the host name is correct?
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.