centreon-engine
centreon-engine copied to clipboard
Character problem ';' in Macro Service
Hi,
Versions RPM
centreon-19.10.10-1.el7.centos.noarch centreon-broker-19.10.3-1.el7.centos.x86_64 centreon-broker-cbd-19.10.3-1.el7.centos.x86_64 centreon-clib-19.10.0-6.el7.centos.x86_64 centreon-common-19.10.10-1.el7.centos.noarch centreon-engine-19.10.13-1.el7.centos.x86_64 ..
Problem
In a Macro Service, there is a character ';' which is not read correctly in the configuration file by centengine.
In the database "centreon"
In the text file
In the database "centreon_storage"
In the debug log
[1586933063] [2983] Processing part: '' --password '
[1586933063] [2983] Not currently in macro. Running output (183): '/usr/lib/centreon/plugins/centreon-plugins/centreon_plugins.pl --plugin database::postgres::plugin --mode sql --sqlmode psqlcmd --host [not disclosed] --username '[not disclosed]' --password '
[1586933063] [2983] Processing part: '_SERVICEPASSWORD'
[1586933063] [2983] Processed '_SERVICEPASSWORD', Clean Options: 0, Free: 1
[1586933063] [2983] Processed '_SERVICEPASSWORD', Clean Options: 0, Free: 1
[1586933063] [2983] Cleaning options: global=0, local=0, effective=0
[1586933063] [2983] Uncleaned macro. Running output (203): '/usr/lib/centreon/plugins/centreon-plugins/centreon_plugins.pl --plugin database::postgres::plugin --mode sql --sqlmode psqlcmd --host [not disclosed] --username '[not disclosed]' --password 'G[not disclosed]Tr6d'
[1586933063] [2983] Just finished macro. Running output (203): '/usr/lib/centreon/plugins/centreon-plugins/centreon_plugins.pl --plugin database::postgres::plugin --mode sql --sqlmode psqlcmd --host [not disclosed] --username '[not disclosed]' --password 'G[not disclosed]Tr6d'
Good day !