Pnp not configured correctly

This forum was archived to /woltlab and is now in read-only mode.
  • Hey everyone,

    I installed pnp for Icingaweb2 here: (for the frontend) and installed pnp4nagios from the instructions here: (which is necessary for the pnp module to work).

    I followed all the instructions from the docs, including these steps:


    1. enabled icinga2 feature "perfdata"

    2. enabled httpd service

    3. edited /etc/pnp4nagios/npcd.cfg file to have user as "icinga" and group as "icinga", as well as changing the perfdata_spool_dir to equal "/var/spool/icinga2/perfdata"

    4. enabled npcd service

    5. edited /etc/httpd/conf.d/pnp4nagios.conf to change AuthUserFile path to "/etc/nagios/passwd"

    6. changed user and pass (presumably) in that file to "icingaadmin:<MYPASSWORD>" from "nagiosadmin:<defaultpass>"

    7. changed ownership of /var/lib/pnp4nagios/ folder to icinga using the command "chown -R icinga.icinga /var/lib/pnp4nagios/"


    I'm really stuck, because on the web page I see the following error:

    Does anyone who knows how to use pnp know what's wrong?

    Thanks so much!

  • Running tail -f /var/log/httpd/error_log yields the following result when I try to log in:

    /etc/nagios/passwd :

    web interface login screen:

    Every time I try to log in with User Name: icingaadmin and Password: test, I get the error as mentioned above.

    I'm guessing the /etc/nagios/passwd file points to something else, but I am not sure what.

    Please let me know if there's anything that may be causing this.

  • Hey all,

    Just wondering if anyone has found a solution yet. I am thinking of using Grafana instead, but am unsure whether or not I should. I'd rather just get this working :S