Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Nagiosadmin for nagios - installation issue

Posted on 2009-04-06
5
Medium Priority
?
2,220 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 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
New style of hardware planning for Microsoft Exchange server.
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 custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

636 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