Solved

Nagiosadmin for nagios - installation issue

Posted on 2009-04-06
5
2,209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

688 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