[op5-users] Link to pnp4nagios

Per Åsberg perasb at op5.com
Fri Feb 19 11:43:50 CET 2010


On Feb 19, 2010, at 11:25 FM, Pier wrote:

> 
>> Thank you for this report.
>> Adding a config option seems like a great idea. In the
>> meantime I believe that the easiest way is to edit the pnp
>> controller and comment ot line 39 so that it reads
>> 
>> #$target_link .= '&srv=_HOST_';
>> 
>> I believe this will remove the unwanted part of the link.
> 
> Actually this is the right link:
> 
> http://nagioserver/pnp4nagios/graph?host=aixtest&srv=_HOST_
> 
> The difference is that utilize graph before the ?host=xxxx
> Where can i add manually this?


Ah, I see :)
Try modifying line 33 in pnp controller 
$target_link = 'index.php';
to 
$target_link = 'graph.php';

Hope this helps ;-)

/P

---------------------------
Per Åsberg
+46 733 303080
www.op5.com



More information about the op5-users mailing list