Icinga / icingaweb2-module-pnp

Integrate PNP graphs into Icinga Web 2
GNU General Public License v2.0
34 stars 13 forks source link

Broken thumbnails and incorrect link #26

Open djtecha opened 7 years ago

djtecha commented 7 years ago

Trying to use this plugin results in a broken link:

icingaweb2: 2.4.1 pnp4nagios: 0.6.24

my graphs action url is /pnp4nagios/index.php/graph?host=$host.name$ and that links just fine. I've tried messing with the config options but no luck.

pnp4nagios configuration: /platform/pnp4nagios/etc pnp4nagios url: /pnp4nagios

still tries to set the link to something like:

http:///icingaweb2/pnp?host=affiliates-1&srv=HOST&view=9

lazyfrosch commented 7 years ago

This module does not touch or parse the action links.

Thumbnails and their links are built by the module.

PNP builds the following internal links to host performance data:

http://localhost/pnp4nagios/graph?host=localhost&srv=_HOST_

We build the same kind of links, plus the view setting.