[op5-users] Help with the installation of Ninja and Nacoma
Andreas Ericsson
ae at op5.se
Fri Sep 11 09:36:14 CEST 2009
On 09/10/2009 04:50 PM, George Mihaiescu wrote:
> Hi,
>
Hi George. Your email is very weirdly line-wrapped (ie, not at all).
Could you please enable automatic line-wrapping in your MUA?
> I'm trying to test Ninja and I have some trouble with the installation process.
> This is my configuration and what I've done so far:
>
> /**
> * Do we use NACOMA (Nagios Configuration Manager)?
> * If path differs from the one below but still installed
> * you could simply change it.
> */
> $nacoma_real_path = '/usr/local/nagios/addons/ninja/nacoma/';
> if (is_dir($nacoma_real_path)) {
> $config['nacoma_path'] = '/usr/local/nagios/addons/ninja/nacoma';
> } else {
> $config['nacoma_path'] = false;
> }
>
$config['nacoma_path'] should point to the URL you use to reach Nacoma.
> Now, I have the "Configure" option under "Configuration" tab but when I
> click on it I get a "Not Found" error (see below):
>
>
> Not Found
>
>
> The requested URL /usr/local/nagios/addons/ninja/nacoma/configure.php was not found on this server.
>
And this confirms it.
>
>
>
>
> This is what I have in httpd.conf:
>
> Alias /ninja /usr/local/nagios/addons/ninja
> <Directory "/usr/local/nagios/addons/ninja">
> Order allow,deny
> Allow from all
> DirectoryIndex index.php
> </Directory>
>
Then you should have /ninja/nacoma as your $config['nacoma_path']
> I believe I have to install Nacoma, but I don't know how and
> there are no instructions anywhere in the Nacoma directory.
>
You're right. What you need to do is create a database called
monitor_webconfig (I think) in your MySQL database and then
create the database table structure using the db schema shipped
with Nacoma (scripts/nacoma.sql, iirc).
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
More information about the op5-users
mailing list