joschi99 / Osiris

Osiris NMS
0 stars 1 forks source link

Centreon-Broker: RRD: could not connect to local socket '/var/rrdtool/rrdcached/rrdcached.sock: QLocalSocket::connectToServer: Invalid name #10

Closed joschi99 closed 9 years ago

joschi99 commented 9 years ago

The Centreon-Broker are not able to generate the rrd graphs. In the logfile /var/log/centreon-broker/central-rrd-master.log are the following errors:

[1442406919] [0x1fc4d40] error:   RRD: could not connect to local socket '/var/rrdtool/rrdcached/rrdcached.sock: QLocalSocket::connectToServer: Invalid name
joschi99 commented 9 years ago

The problem is the result of a configuration on Administration -> Option -> RRDTool

Empty all fields on RRDcached configuration and disable RRDCache. Logon on MariaDB on database "centreon" and execute the following SQL

SELECT * FROM `cfg_centreonbroker_info` where `config_value` = '/var/rrdtool/rrdcached/rrdcached.sock'

Delete this entry if present

delete from `cfg_centreonbroker_info` where `config_value` = '/var/rrdtool/rrdcached/rrdcached.sock';
commit;

Export configuration files and restart engine and cbd

joschi99 commented 9 years ago

The solution worked on all systems.