centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
574 stars 240 forks source link

ndo database port not used in centreon pages .... #1903

Closed centreon closed 9 years ago

centreon commented 14 years ago

Author Name: david guenault (david guenault) Original Redmine Issue: 1699, https://forge.centreon.com/issues/1699 Original Date: 2010-04-16 Original Assignee: Julien Mathis


hi there !

it appears that the mysql port declaration in ndo2db configuration is not used in centreon web frontend when connecting to ndo database.

Possible workaround :

filename : centreonDB.class.php method : connectToNDO Line : 142 $DBRESULT =& $this->privatePearDB->query("SELECT db_port, db_name, db_prefix, db_user, db_pass, db_host FROM cfg_ndo2db LIMIT 1;"); Line : 152 'hostspec' => $confNDO['db_host'].":".$confNDO['db_port'],

cheers !

centreon commented 14 years ago

Original Redmine Comment Author Name: Julien Mathis (Julien Mathis) Original Date: 2010-04-19T12:34:19Z


Thanks

r10355