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 "".
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 "".