centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
578 stars 240 forks source link

fix(config): Host name issue with illegal character which are encoded with entities in database #12045

Closed ghost closed 1 year ago

ghost commented 1 year ago

Description

Jira: MON-14828

Host name issue with illegal character which are encoded with entities in database.

Type of change

Target serie

How this pull request can be tested ?

Writing in database :

  1. Go to Configuration > Pollers > Engine Configuration
  2. Open the central’s engine configuration and go to the Admin tab
  3. Click on Save
  4. The fields illegal_object_name_chars, illegal_macro_output_charsshould not be encoded in table centreon.cfg_nagios

Auto-discovery :

  1. Install or update the Generic SNMP plugin pack
  2. Create a job with SNMP Agents provider
  3. Add a host with forbidden characters
  4. See then correctly removed without any additional characters removed

Checklist

Community contributors & Centreon team

sonarqube-decoration[bot] commented 1 year ago

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell D 24 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

kduret commented 1 year ago

migrated to https://github.com/centreon/centreon-gha/pull/127

ghost commented 1 year ago

👉️ This PR is close because of the centreon-gha migration