Grafana with PNP4Nagios

Hello all,

I am trying to get my Grafana working with our Nagios Core system running on RHEL8 to create dashboards. I am using pnp4nagios-0.6.26 as a data source to get the data from Nagios into Grafana. But unfortunately, it is not working as it give the following error:

The pnp4nagios is working fine though.

Any advise/help would be highly appreciated.

Thank you

is pnp4nagios running on the same host as grafana?

@sowdenraymond, thanks for your response.

Yes, it is running on the same host as Grafana

is pnp4nahios running on port 80, or did you specify a different port?

pnp4nagios (npcd) is using the local apache httpd service for web interface which is listening on both http (80) and https (443) ports.

can you post the localhost url you are using to access pnp here:

I have to use the hostname when I try to access outside the server

did you download the controller or is that part of the plugin now?

under the pnp api section:

PNP API

also some useful info here:

I have followed the below articles to install and configure pnp4nagios and Grafana

Iā€™m not sure if the Grafana version 9.2.10 does support pnp4nagios-0.6.26

It is working now. The issue was caused by the missing PHP module php-json. After installing the module, Grafana is now able to find the version of PNP4Nagios in response.

2 Likes