Solved

Nagiosadmin for nagios - installation issue

Posted on 2009-04-06
5
2,203 Views
Last Modified: 2013-12-01
Hi

I have a Nagios server setup and have it configured to monitor a few Windows server and their services. However I am trying to get Nagiosadmin ( http://www.nagiosadmin.de/ ) installed to be able to add and edit the configuration, contacts and hosts.
During the install (I followed this guide as it is the only english one I could find --  http://www.voipphreak.ca/2008/06/19/monitoring-asterisk-with-snmp-nagios-and-nagios-administrator-using-ubuntu-lts-804-server/ ) I get an error when I run the following command:

# sudo ./symfony propel-insert-sql

Below is the output from the command (all other commands fail afterwards/well most of them):
>> schema    converting "/var/www/nagiosadmin/config/schema.yml" to XML
>> schema    putting /var/www/nagiosadmin/config/generated-schema.xml
Buildfile: /var/www/nagiosadmin/lib/vendor/symfony/lib/vendor/propel-generator/build.xml
[resolvepath] Resolved /var/www/nagiosadmin/config to /var/www/nagiosadmin/config
 
propel-project-builder > check-project-or-dir-set:
 
propel-project-builder > check-project-set:
 
propel-project-builder > set-project-dir:
 
propel-project-builder > check-buildprops-exists:
 
propel-project-builder > check-buildprops-for-propel-gen:
 
propel-project-builder > check-buildprops:
 
propel-project-builder > configure:
     [echo] Loading project-specific props from /var/www/nagiosadmin/config/propel.ini
 [property] Loading /var/www/nagiosadmin/config/propel.ini
 
propel-project-builder > insert-sql:
    [phing] Calling Buildfile '/var/www/nagiosadmin/lib/vendor/symfony/lib/vendor/propel-generator/build-propel.xml' with target 'insert-sql'
 [property] Loading /var/www/nagiosadmin/lib/vendor/symfony/lib/vendor/propel-generator/./default.properties
 
propel > insert-sql:
[propel-sql-exec] Executing statements in file: /var/www/nagiosadmin/data/sql/lib.model.schema.sql
[propel-sql-exec] Our new url -> mysql://root:@localhost/nagiosadmin
 
 
Execution of target "insert-sql" failed for the following reason: /var/www/nagiosadmin/lib/vendor/symfony/lib/vendor/propel-generator/build-propel.xml:296:1:  [wrapped: mysql extension not loaded [User Info: Array]]
    [phing] /var/www/nagiosadmin/lib/vendor/symfony/lib/vendor/propel-generator/build-propel.xml:296:1:  [wrapped: mysql extension not loaded [User Info: Array]]

Open in new window

0
Comment
Question by:Rigged
  • 3
  • 2
5 Comments
 
LVL 1

Author Comment

by:Rigged
ID: 24094569
Any sugestions on other GUI type config tools for Nagios would be welcome as well or any other documentation (in english) for NagiosAdmin
0
 
LVL 1

Accepted Solution

by:
d-rohan earned 500 total points
ID: 24095661
Hi Rigged,

Your problem is coming from one of two options::

1.  The mysql extension for Php is not installed or can't be found. Usually there is a package called php-mysql or php4-mysql, etc.  This package needs to be installed (or if you're using source, needs to be built in).

2. If the mysql extension is built in, ensure that it is enabled in /etc/php.ini.  On my system, all extensiosn are loaded with the syntax:

extension_dir = "/usr/lib64/php/modules"

All modules that are installed are in this directory.


As to your question about other front end management interfaces for Nagios, I would highly suggest Groundwork Community Edition: http://www.groundworkopensource.com/community/.  We've had functioning Nagios boxes probing and alerting within 20 minutes using Groundwork.

Good Luck!

-Dan
0
 
LVL 1

Expert Comment

by:d-rohan
ID: 24129838
Hi Rigged,

Did the information I provided help at all?

Thanks,

Dan
0
 
LVL 1

Author Closing Comment

by:Rigged
ID: 31567375
Thanks for the info. I didn't try the solution you recomended, but I did try grounfworks and it looks WAY better than the NagiosAdmin and I am in the process of scratchinbg the nagiosadmin and I am deploying the GroundWork Open Community.  :D Thanks alot, though I think you are on the right track with the php package for the nagios admin as other errors I got with other solutions I was trying was all pointing to sql and php errors. :D
0
 
LVL 1

Author Comment

by:Rigged
ID: 24135544
Thanks for the info. I didn't try the solution you recomended, but I did try grounfworks and it looks WAY better than the NagiosAdmin and I am in the process of scratchinbg the nagiosadmin and I am deploying the GroundWork Open Community.  :D Thanks alot, though I think you are on the right track with the php package for the nagios admin as other errors I got with other solutions I was trying was all pointing to sql and php errors. :D
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cannot load device driver, error code 39 25 181
Server suggestion 2 37
Does it make sense migrate a website to MIcrosoft Azure 4 59
Windows Mirrored Raid - Failed HD *urgent* 7 83
I wrote an article (http://www.experts-exchange.com/articles/2245/Anti-rootkit-software.html) some time ago with a reference to nLite  (http://www.nliteos.com/)slipstreaming software.  I recently changed that link to point to NTLite (https://www.ntl…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question