[op5-users] Help with the installation of Ninja and Nacoma

Mirza Dedic mirde at oppy.com
Thu Sep 10 20:35:26 CEST 2009


Please let me know if you figure out how to do this, I am looking to implement Nacoma into my Ninja/Merlin setup.

Thanks.

From: op5-users-bounces at lists.op5.com [mailto:op5-users-bounces at lists.op5.com] On Behalf Of George Mihaiescu
Sent: Thursday, September 10, 2009 7:51 AM
To: op5-users at lists.op5.com
Subject: [op5-users] Help with the installation of Ninja and Nacoma

Hi,

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:

- Hardware: Dell 2850 with 1 GB of RAM, 2 x 73 GB drives in a RAID 1
- CentOS 5.3 with Apache 2.2, Mysql 5.0.45, php-5.1.6, Merlin, Nagios 3 and all other pre-requisites

- after I installed Ninja I was able to login by pointing to http://localhost/ninja, but I was missing the "Configure" option under "Configuration" tab
- after reading in "/usr/local/nagios/addons/ninja/application/config" that I have to use and specify a separate module for Configuring Nagios, I used git to get the last version of Nacoma which I copied in "/usr/local/nagios/addons/ninja/nacoma" and then I changed the  "/usr/local/nagios/addons/ninja/application/config" file to point to this location:

/**
 * 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;
}

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.


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>
I believe I have to install Nacoma, but I don't know how and there are no instructions anywhere in the Nacoma directory.
Thank you for help and let me know if you need more details about my installation.
George





More information about the op5-users mailing list