Hello, I've been working with Icinga2 and pnp4nagios for about a week now and I have it mostly working... based on screenshots that appear in the documentation, it seems like PNP should display a graph on the status/detail view but when I click it there's nothing there.
The PNP tab in the Icinga2 GUI seems to work:
But nothing appears under any service/host that is outputting performance data:
The only documentation I can find that seems to directly reference this feature is here:
But it seems to be talking about Nagios, as I can't find any /usr/local/nagios/share/ssi/ (or similar) folder.
When I installed pnp4nagios originally this was the process I used:
wget https://github.com/Icinga/icin…le-pnp/archive/v1.1.0.zip -P /tmp/
unzip /tmp/v1.1.0.zip -d /usr/share/icingaweb2/modules
mv /usr/share/icingaweb2/modules/icingaweb2-module-pnp-1.1.0 /usr/share/icingaweb2/modules/pnp
wget https://github.com/lingej/pnp4nagios/archive/master.zip -P /tmp/
unzip /tmp/master.zip -d /tmp/master/
make all -C /tmp/master/pnp4nagios-master
make fullinstall -C /tmp/master/pnp4nagios-master
make install-init -C /tmp/master/pnp4nagios-master
The configurations for the above seem ok:
#This file needs to be moved to the conf-enabled folder in order to allow access to /pnp4nagios
cp /etc/httpd/conf.d/pnp4nagios.conf /etc/apache2/conf-enabled/
#Configurations done to make pnp web accessible, mostly just removing the authentication piece and adding "require all granted"
sed -i 's/Order\sallow\,deny/#Order allow,deny/' /etc/apache2/conf-enabled/pnp4nagios.conf
sed -i 's/Allow\sfrom\sall/#Allow from all/' /etc/apache2/conf-enabled/pnp4nagios.conf
sed -i 's/AuthName/#AuthName/' /etc/apache2/conf-enabled/pnp4nagios.conf
sed -i 's/AuthType/#AuthType/' /etc/apache2/conf-enabled/pnp4nagios.conf
sed -i 's/AuthUserFile/#AuthUserFile/' /etc/apache2/conf-enabled/pnp4nagios.conf
sed -i 's/Require\svalid\-user/#Require valid-user/' /etc/apache2/conf-enabled/pnp4nagios.conf
sed -i 's/\#\sUse\sthe\ssame\svalue\sas\sdefined\sin\snagios\.conf/Require all granted/' /etc/apache2/conf-enabled/pnp4nagios.conf
service apache2 restart
#Removing the install.php so PNP will run. All checks pass green.
rm -rf /usr/local/pnp4nagios/share/install.php
#Configure perfdata directory per PNP documentation here: https://www.icinga.com/docs/icinga2/latest/doc/13-addons/
sed -i 's/\/usr\/local\/pnp4nagios\/var\/spool/\/var\/spool\/icinga2\/perfdata/' /usr/local/pnp4nagios/etc/npcd.cfg
icinga2 feature enable perfdata
service npcd start
service icinga2 restart
Any idea what I'm missing or where I can look to figure this out?