[op5-users] PNP and Nacoma Questions

Joe Precious joe at helenandjoe.co.uk
Wed Jul 22 11:55:51 CEST 2009



On 22/07/2009 09:47, Per Åsberg wrote:
> Joe Precious skrev:
>    
>> Thanks to everyone who's helped me getting Merlin and Ninja running -
>> I'm really loving it and looking forward to full releases.
>>      
>
> Good to hear - so do we! ;-)
>
>    
>> One thing I noticed when installing is the notify-disabled.png (from
>> /ninja/application/views/themes/default/icons/16x16/) was incorrectly
>> named (the f and t were swapped in notify) so I had to rename to get it
>> to display.
>>      
>
> OK. Fixed.
>
>    
>> I have a couple of questions - couldn't see them answered elsewhere in
>> the list archives:-
>>
>> 1) I've got pnp installed and running, with the links showing in Ninja.
>> However, when I click the link the pnp window opens in the whole browser
>> window whereas on the Op5 demo site, it just opens in the right hand
>> part of the window and the menu bar and header bar are still visible.
>> Is this easy to achieve?  Obviously before you could use the setting in
>> cgi.cfg to set the target frame but Ninja doesn't use frames (I think).
>>      
>
> Ninja uses iframes for add-ons like PNP4Nagios, Nacoma, etc.
> The links should open within Ninja by default so something must be wrong here.
> How did you configure your 'pnp4nagios_path' in config.php?
> What does the link look like in the browser? Could you send an example?
> It should be something like
> https://<server_address>/ninja/index.php/pnp/?host=<selected_host>  for hosts.
>
>    
I did have the path's wrong.  I changed them and now I get the correct 
icon, with the correct link when I hover over it, but when I click on 
it, and get an error (with the Ninja iframe) saying /etc/pnp/index.php 
cannot be found.  I have the following in my config file:-

/**
  * Web path to Pnp4nagios
  * If installed, change path below or set to false if not
  */
$config['pnp4nagios_path'] = '/usr/local/nagios/share/perfdata';

/**
*       File system path to where PNP keeps the perfdata rrd and xml files
*       Only used if 'pnp4nagios_path' !== false
*/
$config['pnp4nagios_config_path'] = '/usr/local/nagios/etc/pnp/config.php';

Something must be wrong though!  I have restarted Nagios since making 
the config changes.
>> 2) There's references to Nacoma in the config files and I believe its
>> running on the Op5 demo site.  I've had a look at the source code and
>> can't see any documentation at all.  I'd love to try this as well - is
>> there any documentation anywhere that could help with the installation?
>>      
>
> Nacoma is really a very good add-on and we simply couldn't wait to release it
> to the community. We felt that waiting until we had proper READMEs and stuff
> would simply take too much time before we could release it. I would really
> love to see someone out there putting something together that makes it easy to
> get Nacoma up and running. At least I can't see that we will have that time
> until next year maybe. We are just too busy working with Ninja at the moment,
> as you might understand.
>
> One of the problems with getting Nacoma and Reports to work is probably the
> references to op5common which we haven't made public yet. It contains some
> libraries (like xajax, JQuery, html2ps and jpgraph) that is required by both
> Nacoma and reports. We will try to make most of this (not jpgraph due to the
> license but you could download this yourself) available at op5.org shortly.
> Stay tuned.
>
> Once again, if anyone is interested, we would love to get some help writing a
> helpful README for installing Nacoma (and reports).
>
> Regards,
>
> /Per
>    
I'll keep an eye on your website then and see what appears.  I'd live to 
be able to help with this, but unfortunately I wouldn't even know where 
to start!

Thanks

Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.op5.com/pipermail/op5-users/attachments/20090722/1f3ca4ca/attachment.html 


More information about the op5-users mailing list