Open lafrenchpatate opened 3 weeks ago
Check this section, it is more of a compilation issue, so it responds better https://github.com/pnp4nagios/pnp4nagios/issues/68#issuecomment-2221368264
Hello,
Thank you for your answer !
I managed to finish the install by making a symbolic link from nagios to naemon:
ln -s /etc/naemon/naemon.cfg /etc/nagios/nagios.cfg
I was then able to finish the installation and pnp4nagios is displaying correctly in naemon BUT the issue is that it doesn't seem to be storing any perf data:
On the image the graph stops when i made the install with the latest pnp4nagios available. Before that i had an old pnp4nagios version that wasn't working with PHP 8+ and not displaying in naemon. Now my graphs are displayed but there is no perf data...
How can i debug that part?
PS: i did an install from the rpm package by turning it into deb with alien (we're working on Ubuntu 22.04) and i have the same issue, no performance data seems to be stored to be displayed.
Look at pnp4nagios if it works with 8.1 if you want 8.2 you have to make changes, if it doesn't generate data it's because for some strange reason the service times out, what I did to solve that was use rdcached
https://github.com/pnp4nagios/pnp4nagios/issues/64
I have the entire Nagios environment running in Docker, just adjust the command to your needs and it will generate graphics.
Describe the bug I haven't been able to install the new pnp4nagios-0.6.27-5 version with a naemon (and not nagios) core.
I was initially using pnp4nagios-0.6.26 but it doesn't work anymore with php8+ version so i'm trying to move on to this new pnp4nagios version. Has anyone managed to make it work with naemon?
To Reproduce Steps to reproduce the behavior: Get the source from: https://github.com/pnp4nagios/pnp4nagios/releases/tag/v0.6.27-5
unzip /tmp/pnp4nagios-0.6.27-5.zip cd /tmp/pnp4nagios-0.6.27 make clean [OK] ./configure --with-nagios-user=naemon --with-nagios-group=naemon [OK] make all [OK] make install
[...] make[2]: Entering directory '/tmp/pnp4nagios-0.6.27/sample-config' /usr/bin/perl config_tools/NagiosCfgMod.pl -i /etc/nagios/nagios.cfg -o config_samples/nagios-sync.cfg -n 4.4.6 -m sync error opening /etc/nagios/nagios.cfg at config_tools/NagiosCfgMod.pl line 43. make[2]: [Makefile:49: config_samples/nagios-sync.cfg] Error 2 make[2]: Leaving directory '/tmp/pnp4nagios-0.6.27/sample-config' make[1]: [Makefile:92: install] Error 2 make[1]: Leaving directory '/tmp/pnp4nagios-0.6.27/sample-config' make: *** [Makefile:146: install] Error 2
[NOK]
Desktop (please complete the following information):
Thank you in advance for your help.