Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Character problem ';' in Macro Service #380

Open
jben94 opened this issue Apr 15, 2020 · 0 comments
Open

Character problem ';' in Macro Service #380

jben94 opened this issue Apr 15, 2020 · 0 comments

Comments

@jben94
Copy link

jben94 commented Apr 15, 2020

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

In the text file
image

In the database "centreon_storage"
image

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 !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant