Here we'll give you some instructions on how to integrate PNP4Nagios into the Icinga Web frontend. If you want to integrate PNP4Nagios into the Icinga Classic UI please follow the PNP4Nagios documentation.
On the left you will see the expander icon. Clicking on it opens a bar (shown below the OK sign).
On the right in the "PNP4Nagios" section there are two buttons.
Right-clicking on either of them and selecting "Move into grid" will move the appropriate icon into the grid.
Selecting the new icon opens the PNP graph in a small window showing only one time frame or it will create a new tab showing the usual PNP view.
Clicking on "Setting" and selecting "Reset grid action icons" will remove the inserted icons restoring the default view.
Install PNP4Nagios as described in the PNP4Nagios documentation
Change the PNP4Nagios configuration to match your Icinga configuration. You probably may want to change these:
#> vi npcd.cfg
user = icinga group = icinga log_file = /var/log/icinga/npcd.log perfdata_spool_dir = /var/icinga/spool/ perfdata_file = /var/icinga/perfdata.dump
#> vi process_perfdata.cfg
LOG_FILE = /var/log/icinga/perfdata.log XML_ENC = ISO-8859-1 # use if encountering national character issues
#> vi config.php $conf['nagios_base'] = "/icinga/cgi-bin";
![]() |
Note |
---|---|
Be sure to use existing paths, create them if necessary, and/or adapt the settings to your distribution. Please verify that the Icinga command definitions for "process-host-perfdata-file" and
"process-service-perfdata-file" (probably in |
PNP integration is made with these extensions to be upgrade safe.
Excerpt from the INSTALL
in contrib/PNP_Integration/
#> cat contrib/PNP_Integration/INSTALL ************************ * INSTALLATION ************************ * To install this addon, simply copy both xml files under templateExtensions * to your icinga-webs app/modules/Cronks/data/xml/extensions folder * and clear the app/cache/CronkTemplates folder * To remove it, just delete the extension files and clear the cache folder again
Install Script
Because it's only copying the two files mentioned there is no script. Sorry.
![]() |
Note |
---|---|
Please note that you will have to reinstall the addon after Icinga-Web upgrade. |
© 1999-2009 Ethan Galstad, 2009-2017 Icinga Development Team, https://www.icinga.com