Centreon-Community / centreon-discovery

An extension to discover resources to monitor with Centreon
GNU General Public License v2.0
7 stars 19 forks source link

Problem to connect to the database for the poller #5

Open schwarzy77 opened 8 years ago

schwarzy77 commented 8 years ago

When you launch a scan on an ip range, in the Central_DiscoveryAgent.log you get this line: --- Call DiscoveryAgent_Central --- Check the status of poller Traceback (most recent call last): File "/usr/share/centreon-discovery-agent/DiscoveryAgent_central.py", line 225, in db=connectToDB() File "/usr/share/centreon-discovery-agent/DiscoveryAgent_central.py", line 74, in connectToDB db=MySQLdb.connect(host=conf_host,user=conf_user,passwd=conf_password,db=conf_db) File "build/bdist.linux-x86_64/egg/MySQLdb/init.py", line 81, in Connect File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 187, in init _mysql_exceptions.OperationalError: (1045, "Access denied for user '*****'@'localhost' (using password: YES)")

The problem is in the file /etc/centreon/centreon.conf.php, the password is in '' instead of "".