Open Cool34000 opened 4 years ago
Hi,
It seems there is also the same bug if the name contains a "#" character...
Hi @Cool34000 , do you hare a distributed architecture? Can you send us var/log/centreon-engine/centengine.log logs file on the poller which monitor your resource Collège_XXX?
Can you also enable the developer mode of Firefox and check is there is no error when you acknowledge your Collège_XXX resource?
Regards
Hi,
Yes, I'm using a distributed architecture Here's /var/log/centreon-engine/centengine.log of the distant poller:
[1602467041] [21323] Need reload. [1602467041] [21323] Reloading... [1602467041] [21323] Starting to reload configuration. [1602467041] [21323] Reading main configuration file '/etc/centreon-engine/centengine.cfg'. [1602467041] [21323] Processing object config file '/etc/centreon-engine/hostTemplates.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/hosts.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/serviceTemplates.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/services.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/commands.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/contactgroups.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/contacts.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/hostgroups.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/servicegroups.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/timeperiods.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/escalations.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/dependencies.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/connectors.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/meta_commands.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/meta_timeperiod.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/meta_host.cfg' [1602467041] [21323] Processing object config file '/etc/centreon-engine/meta_services.cfg' [1602467041] [21323] Reading resource file '/etc/centreon-engine/resource.cfg' [1602467041] [21323] Configuration reloaded, main loop continuing. [1602467041] [21323] Reload configuration finished. [1602468194] [21323] SERVICE ALERT: Collège_XXXXX_SRV-AD-PEDAGO;KSC Deployment;UNKNOWN;HARD;3;UNKNOWN: SNMP GET Request : Timeout [1602468494] [21323] SERVICE ALERT: Collège_XXXXX_SRV-AD-PEDAGO;KSC Deployment;CRITICAL;HARD;3;CRITICAL: Deployment status is 'Critical' - 1 failed remote installation(s) - 1 host(s) with expired licence [serial: 14B4-000451-4E97779E] [1602481304] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Ping;OK;HARD;1;OK - 10.0.0.3 rta 10,870ms lost 0% [1602481314] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;CPU;UNKNOWN;HARD;3;UNKNOWN: SNMP Table Request : Timeout [1602481334] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Load;UNKNOWN;HARD;1;UNKNOWN: SNMP GET Request : Timeout [1602481344] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Traffic;UNKNOWN;HARD;1;UNKNOWN: SNMP GET Request : Timeout [1602481344] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Memory;UNKNOWN;HARD;1;UNKNOWN: SNMP GET Request : Timeout [1602481604] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;CPU;CRITICAL;HARD;3;CRITICAL: CPU '0' usage : 100.00 % - CPU '1' usage : 100.00 % - CPU '2' usage : 100.00 % - CPU '3' usage : 100.00 % [1602481634] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Traffic;OK;HARD;1;OK: All interfaces are ok [1602481634] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Memory;OK;HARD;1;OK: Ram Total: 1.94 GB Used (-buffers/cache): 348.07 MB (17.52%) Free: 1.60 GB (82.48%), Buffer: 29.03 MB, Cached: 1.37 GB, Shared: 6.51 MB [1602481634] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Load;OK;HARD;1;OK: Load average: 16.99, 13.07, 6.75 [1602481664] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Ping;CRITICAL;HARD;2;CRITICAL - 10.0.0.3: rta nan, lost 100% [1602481914] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;CPU;UNKNOWN;HARD;3;UNKNOWN: SNMP Table Request : Timeout [1602481964] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Ping;WARNING;HARD;2;WARNING - 10.0.0.3 lost 20% >= 20% [1602481994] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Load;UNKNOWN;HARD;2;UNKNOWN: SNMP GET Request : Timeout [1602482104] [21323] HOST ALERT: Collège_XXXXX_Synology_RS2416+;DOWN;HARD;3;CRITICAL - 10.0.0.3: rta nan, lost 100% [1602482204] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;CPU;CRITICAL;HARD;3;CRITICAL: CPU '0' usage : 100.00 % - CPU '1' usage : 100.00 % - CPU '2' usage : 92.00 % - CPU '3' usage : 100.00 % [1602482244] [21323] HOST ALERT: Collège_XXXXX_Synology_RS2416+;UP;HARD;1;OK - 10.0.0.3 rta 10,361ms lost 0% [1602482264] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Ping;OK;HARD;1;OK - 10.0.0.3 rta 0,128ms lost 0% [1602482294] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Load;OK;HARD;1;OK: Load average: 18.52, 20.98, 14.10 [1602482504] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Temp;OK;HARD;1;OK: system temperature: 43 C [1602482504] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Storage;OK;HARD;1;OK: All storages are ok [1602482514] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;CPU;UNKNOWN;HARD;3;UNKNOWN: SNMP Table Request : Timeout [1602482544] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Memory;UNKNOWN;HARD;1;UNKNOWN: SNMP GET Request : Timeout [1602482804] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;CPU;OK;HARD;1;OK: 4 CPU(s) average usage is 1.00 % [1602482834] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Memory;OK;HARD;1;OK: Ram Total: 1.94 GB Used (-buffers/cache): 247.33 MB (12.45%) Free: 1.70 GB (87.55%), Buffer: 37.86 MB, Cached: 756.98 MB, Shared: 4.46 MB [1602482954] [21323] SERVICE ALERT: Collège_XXXXX_Synology_RS2416+;Load;OK;HARD;1;OK: Load average: 0.04, 4.10, 8.66 [1602485504] [21323] SERVICE ALERT: Collège_XXXXX_SRV-AD-PEDAGO;KSC Full Scan;CRITICAL;HARD;3;CRITICAL: Full scan status is 'Critical' - 12 hosts(s) has not been scanned lately [1602487914] [21323] SERVICE ALERT: Collège_XXXXX_SRV-RDS2;Disk-Global;OK;HARD;1;OK: Storage 'C:' Usage Total: 109.66 GB Used: 73.28 GB (66.82%) Free: 36.38 GB (33.18%) [1602489714] [21323] SERVICE NOTIFICATION: UserYYYYY;Collège_XXXXX_SRV-RDS2;Disk-Global;RECOVERY (OK);service-notify-by-email;OK: Storage 'C:' Usage Total: 109.66 GB Used: 73.28 GB (66.83%) Free: 36.38 GB (33.17%) [1602501104] [21323] SERVICE ALERT: Collège_XXXXX_SRV-AD-PEDAGO;KSC Full Scan;OK;HARD;1;OK: Full scan status is 'OK' - 0 hosts(s) has not been scanned lately [1602501524] [21323] SERVICE ALERT: Collège_XXXXX_SRV-AD-PEDAGO;KSC Full Scan;CRITICAL;HARD;3;CRITICAL: Full scan status is 'Critical' - 1 hosts(s) has not been scanned lately [1602503624] [21323] SERVICE ALERT: Collège_XXXXX_SRV-AD-PEDAGO;KSC Full Scan;OK;HARD;1;OK: Full scan status is 'OK' - 0 hosts(s) has not been scanned lately [1602504044] [21323] SERVICE ALERT: Collège_XXXXX_SRV-AD-PEDAGO;KSC Full Scan;CRITICAL;HARD;3;CRITICAL: Full scan status is 'Critical' - 1 hosts(s) has not been scanned lately
I've enabled Dev mode in Firefox, but I don't know where to look... I've looked into debug and console tabs: no errors
Versions
Operating System
CentOS on a VMWare ESX 5.5 server
Browser used
Description
You can't acknoledge a service when there are accented chars in the hostname
Steps to Reproduce
Create a new host, use accented chars in the name (for example 'Collège_XXX') Wait for an alert on a service of this host Try to acknoledge the alarm: it doesn't mark it as acknoledged
Logs
PHP error logs
centreon-engine logs (if needed)
centcore logs for Centreon <= 19.10.x (if needed)
It seems to log those 2 lines each time I try to acknoledge a service.