Solved

Nagiosadmin for nagios - installation issue

Posted on 2009-04-06
5
2,199 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now