[icinga-users] icinga2 and pnp4nagios uses default template for all graphs

Marcus Schopen lists at localguru.de
Wed Nov 18 16:15:14 CET 2015

Am Mittwoch, den 18.11.2015, 15:57 +0100 schrieb Marcus Schopen:
> Hi,
> just set up icinga2 and pnp4nagios on a Ubuntu 14.04 LTS box using this
> howto:
> https://www.thomas-krenn.com/de/wiki/Icinga_2_Graphen_mit_PNP_unter_Ubuntu_14.04_Trusty
> pnp4nagios uses the default template for all graphs instead of the e.g.
> load template for current load. All templates directorys
> under /etc/pnp4nagios are empty. Where do I get those templates?

Found the templates in /usr/share/pnp4nagios/html/templates.dist. But
those are not used even though defined in /etc/pnp4nagios/config.php

grep template_dir /etc/pnp4nagios/config.php 
$conf['template_dirs'][] = '/etc/pnp4nagios/templates';
$conf['template_dirs'][] = "$dirname";
$conf['template_dirs'][] = '/usr/share/pnp4nagios/html/templates.dist';
$conf['special_template_dir'] = '/etc/pnp4nagios/templates.special';

Any ideas?


More information about the icinga-users mailing list