Home

  • Home
  • Blogs
  • Documentation
  • Downloads
  • Get Involved
  • Commercial

opcfg database configuration

Submitted by Anonymous on Fri, 12/04/2009 - 11:49
  • Help

Hi,

Following the documentation:
* Create a database for opcfg in MySQL with select,insert,drop,empty privileges. Import the SQL data contained in sqldata/fruity-mysql.sql

[root@localhost opcfg]# cd sqldata
[root@localhost sqldata]# mysql -f -u {user} -p < opcfg.sql
Enter password: {password}

When connecting to http://server/nagios/opcfg/ the following error occurs:

-----------------------------------------------------------------
Initializing Configuration Utility...

Creating Configuration Utility Object...
Unable to connect to database. Please check your configuration.
------------------------------------------------------------------

What user and what connection string is required for the application to connect to the database?

In addition the following error occurs when the import script is run:
sqldata]# mysql -f -u root -p < opcfg.sql
Enter password:
ERROR 1060 (42S21) at line 1586: Duplicate column name 'p1_file'
ERROR 1060 (42S21) at line 1588: Duplicate column name 'daemon_dumps_core'

Thanks
md

»
  • Login to post comments

Projects

opcfg

OpCfg is a PHP-based HTTP configuration front-end to Nagios 3.x. OpCfg is a fork from Fruity.

opcp

OpCP is a capacity planning graph generator based on opdb ( nagios broker ) database.

opdb

The opdb project is a nagios broker that writes statistics and performance data to a mysql database.

opmonagent

OpMonAgent has been developed to get performance information from Windows Servers and return them to Nagios using the check_nt client.

Recent blog posts

  • OpDB 1.0.2 Announce
  • OpCp 1.0.0 Announce. Capacity planning for Nagios.
  • OpDB 1.0.1 Announce
  • OpCfg 1.0.2 released!
  • Welcome to our opensource site !!!
more

User login

  • Request new password
Copyright 2008-2010 © OpServices. All rights reserved.