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

Character problem ';' in Macro Service #380

Description

@jben94

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions