Solved

Nagiosadmin for nagios - installation issue

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

SendBlaster Pro 4 - Bulk Email Sending Software

SendBlaster 4 Pro - Best Bulk Emailing Sending Software
Automatic Subscribe / Unsubscribe Processing
Great for Newsletters & Mass Mailings
Optional HTML & Text Composition
Integration with Google Features
Built in Spam Score Checking
Free Professional Templates - Feature Packed!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Enabling vNIC failover on a live system 3 138
RAID, not sure what Type ?? 14 155
Convert Silverlight ERP To Angularjs,HTML5 3 107
Tech Writing: 'Browser Window' or 'Browser Tab' 4 41
More or less everybody in the IT market understands the basics of Networking, however when we start talking about Storage Networks, things get a bit dizzier, and this is where I would like to help.
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
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.
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.

732 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