centreon / centreon-dsm

Dynamic Service Monitoring
4 stars 7 forks source link

todo : do not use deprecated format #33

Closed tanguyvda closed 7 years ago

tanguyvda commented 8 years ago

in dsmclient.pl we still use

mysql_database_oreon $mysql_database_ods $mysql_host $mysql_user $mysql_passwd $ndo_conf

that are deprecated. It will not be a problem in most cases but if you follow the trap documentation https://documentation-fr.centreon.com/docs/centreon/en/2.7.x/configuration_guide/advanced_configuration/traps.html?highlight=conf#configuration-de-la-connexion-a-la-base-de-donnees

you might ends up removing this :

$mysql_user = "centreon"; $mysql_passwd = 'centreon'; $mysql_host = "localhost:3306"; $mysql_database_oreon = "centreon"; $mysql_database_ods = "centreon_storage";

and not having dsmclient works