Illegar character applying configuration
-
neo_infraestructura
- Posts: 61
- Joined: Wed Jan 17, 2018 3:55 pm
Illegar character applying configuration
Hi there!
I get the follow problem: When I do the "apply configuration" in NagiosXI it shows me the follow error: I don't know where to look, what is the Omnichannel GTD and where is the illegal character, in fact, I had deleted the hosts 'FAL-CHS-PAN, and still having the problem.
I get the follow problem: When I do the "apply configuration" in NagiosXI it shows me the follow error: I don't know where to look, what is the Omnichannel GTD and where is the illegal character, in fact, I had deleted the hosts 'FAL-CHS-PAN, and still having the problem.
You do not have the required permissions to view the files attached to this post.
-
neo_infraestructura
- Posts: 61
- Joined: Wed Jan 17, 2018 3:55 pm
Re: Illegar character applying configuration
Go to the CCM > Services, and modify the Omnichannel GTD service on both hosts - FAL-CHS-PAN-01 and FAL-CHS-PAN-02 by removing the offending (illegal) characters from the service description. Save, and apply configuration.
Let us know if this helped.
Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
neo_infraestructura
- Posts: 61
- Joined: Wed Jan 17, 2018 3:55 pm
Re: Illegar character applying configuration
it doesn't find the service
and the hosts FAL-CHS doen't have a service called "Omnichannel GTD" 
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Illegar character applying configuration
Can you run the following from the CLI and post the output
Code: Select all
/usr/local/nagiosxi/scripts/reconfigure_nagios.shRe: Illegar character applying configuration
When an Apply Config is ran and it finds an error, it will try and revers to a last known good configuration and that could be why you cannot find the new checks.
It could be that the configs in the CCM are not is sync with the running config and that is causing the errors.
If you follow this procedure, you should be able to fix the errors and Apply the Config.
login to the XI GUI and go to the Core Config Manager
Under "Tools", click "Write Config Files" or if you are running a newer versions of XI, The menu is called "Config File Management"
Click the click the "Write" button, then the "Delete" button then click the "Write" button and then the "Verify" button
If you get any errors, resolve them and click on the "Delete" button, "Write", "Verify" until all of the errors are resolved.
Click the Apply Configuration link and click the "Apply Configuration" button after ALL of the errors are resolved.
It could be that the configs in the CCM are not is sync with the running config and that is causing the errors.
If you follow this procedure, you should be able to fix the errors and Apply the Config.
login to the XI GUI and go to the Core Config Manager
Under "Tools", click "Write Config Files" or if you are running a newer versions of XI, The menu is called "Config File Management"
Click the click the "Write" button, then the "Delete" button then click the "Write" button and then the "Verify" button
If you get any errors, resolve them and click on the "Delete" button, "Write", "Verify" until all of the errors are resolved.
Click the Apply Configuration link and click the "Apply Configuration" button after ALL of the errors are resolved.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
neo_infraestructura
- Posts: 61
- Joined: Wed Jan 17, 2018 3:55 pm
Re: Illegar character applying configuration
I did the "write" "delete" "write" "verify" process and it did'nt show any error at the first try.
And the error still showing.
I also run the /usr/local/nagiosxi/scripts/reconfigure_nagios.sh script and the error result at the momment of applying configurations.
I also run the /usr/local/nagiosxi/scripts/reconfigure_nagios.sh script and the error result at the momment of applying configurations.
Code: Select all
[root@NEO-MNG-NAG-TIC nagios]# /usr/local/nagiosxi/scripts/reconfigure_nagios.sh
--- reset_config_perms.sh ------------
> Setting CCM script permissions
> Setting script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting NOM checkpoint user:group permissions
> + Setting CCM configuration file user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------
--- ccm_import.php -------------------
> Setting import directory: /usr/local/nagios/etc/import/
> Importing config files into the CCM
No files to import
--------------------------------------
--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
Finished writing out configuraton
--------------------------------------
--------------------------------------
> Verifying configuration with Nagios Core
> Output:
Nagios Core 4.4.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2018-06-25
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio spam-updater' on host 'NEO-MEG-02' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 136)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio spam-eng' on host 'NEO-MEG-02' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 122)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio spam-dat' on host 'NEO-MEG-02' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 108)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio smtp-retryer' on host 'NEO-MEG-02' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 94)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio smtp' on host 'NEO-MEG-02' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 80)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio remote-ldap' on host 'NEO-MEG-02' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 66)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio ldap' on host 'NEO-MEG-02' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 52)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio av-eng' on host 'NEO-MEG-02' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 38)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio av-dat' on host 'NEO-MEG-02' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 24)
Warning: Duplicate definition found for service 'SSH' on host 'SIN-MNG-LOG-01' (config file '/usr/local/nagios/etc/static/SIN.cfg', starting on line 1388)
Warning: Duplicate definition found for service 'Certificado NRPE https://bciimg.bci.cl' on host 'f5-ltm-dmz-lgv.bci.cl' (config file '/usr/local/nagios/etc/static/BCI-F5-LTM-DMZ-LGV-WEB.cfg', starting on line 188)
Warning: Duplicate definition found for service 'Certificado NRPE https://tbanc.mobi' on host 'f5-ltm-dmz-lgv.bci.cl' (config file '/usr/local/nagios/etc/static/BCI-F5-LTM-DMZ-LGV-WEB.cfg', starting on line 34)
Warning: Duplicate definition found for service 'Certificado NRPE https://bci.mobi' on host 'f5-ltm-dmz-lgv.bci.cl' (config file '/usr/local/nagios/etc/static/BCI-F5-LTM-DMZ-LGV-WEB.cfg', starting on line 23)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-AND' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 9037)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-AND' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 8997)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FG-EXTCM01' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 8908)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FG-EXTCM01' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 8884)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-TEN04' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 5514)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-TEN04' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 5506)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4327)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4311)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4303)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4295)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4279)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4271)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4263)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4255)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4247)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4231)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4207)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4199)
Warning: Duplicate definition found for service 'Interfaz:' on host 'CLCO-FW-FG-CHA-02' (config file '/usr/local/nagios/etc/static/CLCO.cfg', starting on line 4191)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11814)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11798)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11790)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11782)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11766)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11750)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11742)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11726)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11718)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-ACO-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 11702)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-LGV-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 336)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-LGV-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 328)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-LGV-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 312)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-LGV-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 296)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-LGV-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 280)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'BCI-LGV-WLC-HPE01' (config file '/usr/local/nagios/etc/static/BCI.cfg', starting on line 264)
Warning: Duplicate definition found for service 'F5 - VS VS_www.homecenter.com.co_service_atg11-80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/host-group.cfg', starting on line 321)
Warning: Duplicate definition found for service 'F5 - VS VS_www.sodimac.cl_atg11-80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/host-group.cfg', starting on line 223)
Warning: Duplicate definition found for service 'F5 - VS VS_www.noviosfalabella.com.pe-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/host-group.cfg', starting on line 4)
Warning: Duplicate definition found for service 'Proceso: neo' on host 'ESP-WPX-SIC-01' (config file '/usr/local/nagios/etc/static/ESP.cfg', starting on line 125)
Warning: Duplicate definition found for service 'Proceso: neo' on host 'DVL-WPX-SIC-01' (config file '/usr/local/nagios/etc/static/DVL.cfg', starting on line 140)
Warning: Duplicate definition found for service 'F5 - VS VS_portalpagos.sodimac.cl-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7815)
Warning: Duplicate definition found for service 'F5 - VS VS_www.falabellanovios.com.ar-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7807)
Warning: Duplicate definition found for service 'F5 - VS VS_middlewarecorp.falabella.com-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7799)
Warning: Duplicate definition found for service 'F5 - VS VS_www.falabella.com.co_atg11-80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7783)
Warning: Duplicate definition found for service 'F5 - VS VS_www.cmr.cl-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7775)
Warning: Duplicate definition found for service 'F5 - VS VS_beta.viajesfalabella.cl-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7767)
Warning: Duplicate definition found for service 'F5 - VS VS_www.sodimac.com.pe_atg11-443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7735)
Warning: Duplicate definition found for service 'F5 - VS VS_empresas.bancofabella.com.pe-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7727)
Warning: Duplicate definition found for service 'F5 - VS VS_www.viajesfalabella.com-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7719)
Warning: Duplicate definition found for service 'F5 - VS VS_www.cmr.cl-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7711)
Warning: Duplicate definition found for service 'F5 - VS VS_www.bancofalabella.com.co-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7703)
Warning: Duplicate definition found for service 'F5 - VS VS_www.bancofalabella.cl-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7695)
Warning: Duplicate definition found for service 'F5 - VS VS_middlewarecorp.falabella.com-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7687)
Warning: Duplicate definition found for service 'F5 - VS VS_www.falabella.com.co_service_atg11-80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7679)
Warning: Duplicate definition found for service 'F5 - VS VS_www.bancofalabellaempresas.cl-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7671)
Warning: Duplicate definition found for service 'F5 - VS VS_www.sodimac.cl_CallCenter_atg11-443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7663)
Warning: Duplicate definition found for service 'F5 - VS VS_www.falabellanovios.com.ar-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7647)
Warning: Duplicate definition found for service 'F5 - VS VS_portalpagos.sodimac.cl-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7639)
Warning: Duplicate definition found for service 'F5 - VS VS_www.noviosfalabella.com.pe-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7615)
Warning: Duplicate definition found for service 'F5 - VS VS_www.falabella.com.co_CallCenter_atg11-443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7599)
Warning: Duplicate definition found for service 'F5 - VS VS_www.bancofalabella.com.pe-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7591)
Warning: Duplicate definition found for service 'F5 - VS VS_www.movilfalabella.com-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7583)
Warning: Duplicate definition found for service 'F5 - VS VS_www.falabella.com.pe_CallCenter_atg11-443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7559)
Warning: Duplicate definition found for service 'F5 - VS VS_cyber.cmrfalabella.com.co-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7551)
Warning: Duplicate definition found for service 'F5 - VS VS_www.bancofalabellaempresas.cl-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7519)
Warning: Duplicate definition found for service 'F5 - VS VS_www.segurosfalabella.com.pe-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7503)
Warning: Duplicate definition found for service 'F5 - VS VS_www.sodimac.cl_vatvac_atg11-80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7487)
Warning: Duplicate definition found for service 'F5 - VS VS_www.homecenter.com.co_CallCenter_atg11-80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7463)
Warning: Duplicate definition found for service 'F5 - VS VS_gateway.viajesfalabella.cl-port443' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7455)
Warning: Duplicate definition found for service 'F5 - VS VS_www.falabella.cl_service_atg11-80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7439)
Warning: Duplicate definition found for service 'F5 - VS VS_www.falabella.cl_CallCenter_atg11-80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7423)
Warning: Duplicate definition found for service 'F5 - VS VS_www.cmrfalabella.com-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7415)
Warning: Duplicate definition found for service 'F5 - VS VS_falaconnect.falabella.cl-port80' on host 'F5-ASM04' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 7383)
Warning: Duplicate definition found for service 'F5 - VS VS_cyber.cmrfalabella.com.ar-port443' on host 'F5-ASM01' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 5265)
Warning: Duplicate definition found for service 'F5 - VS VS_cyber.cmrfalabella.com.ar-port80' on host 'F5-ASM01' (config file '/usr/local/nagios/etc/static/FAL.cfg', starting on line 5169)
Warning: Duplicate definition found for service 'Fortinet - Bug Monitor' on host 'CLCO-FW-FG-EXTCM01' (config file '/usr/local/nagios/etc/static/clco-bug.cfg', starting on line 49)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-MNG-ARU-01' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13788)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-MNG-ARU-01' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13780)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-MNG-ARU-01' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13764)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-MNG-ARU-01' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13756)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-MNG-ARU-01' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13740)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-PROD' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13618)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-PROD' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13610)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-PROD' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13594)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-PROD' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13586)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-PROD' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 13570)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-BCKP' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 12912)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-BCKP' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 12904)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-BCKP' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 12888)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-BCKP' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 12880)
Warning: Duplicate definition found for service 'Interfaz: 802.1Q VLAN' on host 'NEO-ARU-BCKP' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 12864)
Warning: Duplicate definition found for service 'VPN_SRV_Backup' on host 'NEO-FW-PAN-TIC01' (config file '/usr/local/nagios/etc/static/NEO.cfg', starting on line 6656)
Warning: Duplicate definition found for service 'Certificado NRPE https://www.bcinova.cl' on host 'BCI-WAF-ASM-LGV01-WEB' (config file '/usr/local/nagios/etc/static/BCI-WAF-ASM-LGV01-WEB.cfg', starting on line 133)
Warning: Duplicate definition found for service 'HTTPS NRPE https://www.bcinova.cl' on host 'BCI-WAF-ASM-LGV01-WEB' (config file '/usr/local/nagios/etc/static/BCI-WAF-ASM-LGV01-WEB.cfg', starting on line 124)
Warning: Duplicate definition found for service 'Certificado NRPE https://bciimg.bci.cl' on host 'BCI-WAF-ASM-LGV01-WEB' (config file '/usr/local/nagios/etc/static/BCI-WAF-ASM-LGV01-WEB.cfg', starting on line 77)
Warning: Duplicate definition found for service 'HTTPS NRPE https://bciimg.bci.cl' on host 'BCI-WAF-ASM-LGV01-WEB' (config file '/usr/local/nagios/etc/static/BCI-WAF-ASM-LGV01-WEB.cfg', starting on line 68)
Warning: Duplicate definition found for service 'Certificado NRPE https://www.tbanc.cl' on host 'BCI-WAF-ASM-LGV01-WEB' (config file '/usr/local/nagios/etc/static/BCI-WAF-ASM-LGV01-WEB.cfg', starting on line 21)
Warning: Duplicate definition found for service 'HTTPS NRPE https://www.tbanc.cl' on host 'BCI-WAF-ASM-LGV01-WEB' (config file '/usr/local/nagios/etc/static/BCI-WAF-ASM-LGV01-WEB.cfg', starting on line 12)
Warning: Duplicate definition found for service 'SSH' on host 'CLCO-MNG-NAG-CM01' (config file '/usr/local/nagios/etc/services/generic-ssh.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SSH' on host 'NEO-ASB-TRAP-02' (config file '/usr/local/nagios/etc/services/generic-ssh.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SSH' on host 'NEO-AUT-LDAP-01' (config file '/usr/local/nagios/etc/services/generic-ssh.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SSH' on host 'ironport1.bci.cl' (config file '/usr/local/nagios/etc/services/generic-ssh-nrpe1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SSH' on host 'BCI-REP-ALOG-02' (config file '/usr/local/nagios/etc/services/generic-ssh-nrpe1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SSH' on host 'BCI-RMA-LNX-07' (config file '/usr/local/nagios/etc/services/generic-ssh-nrpe1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SSH' on host 'MAF-MNG-LOG-01' (config file '/usr/local/nagios/etc/services/generic-ssh-nrpe1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SSH' on host 'SCF-NIDS-SNORT-01' (config file '/usr/local/nagios/etc/services/generic-ssh-nrpe1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SSH' on host 'SCF-NIDS-SNORT-02' (config file '/usr/local/nagios/etc/services/generic-ssh-nrpe1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'TCP 443' on host 'SRV-MAS-FEY-01' (config file '/usr/local/nagios/etc/services/Fireye-nrpe1.cfg', starting on line 34)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio av-dat' on host 'NEO-MEG-03' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 31)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio av-eng' on host 'NEO-MEG-03' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 45)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio ldap' on host 'NEO-MEG-03' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 59)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio remote-ldap' on host 'NEO-MEG-03' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 73)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio smtp' on host 'NEO-MEG-03' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 87)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio smtp-retryer' on host 'NEO-MEG-03' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 101)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio spam-dat' on host 'NEO-MEG-03' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 115)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio spam-eng' on host 'NEO-MEG-03' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 129)
Warning: Duplicate definition found for service 'Mailgateway - Estado del servicio spam-updater' on host 'NEO-MEG-03' (config file '/usr/local/nagios/etc/services/Mailgateway.cfg', starting on line 143)
Warning: Duplicate definition found for service 'IPS - Estadisticas de conexiones' on host 'NXS-IPS-MIPS-01' (config file '/usr/local/nagios/etc/services/IPSv2.cfg', starting on line 16)
Warning: Duplicate definition found for service 'Puerto de Administracion' on host 'NXS-IPS-MIPS-01' (config file '/usr/local/nagios/etc/services/IPSv2.cfg', starting on line 24)
Warning: Duplicate definition found for service 'ImpervaDB - Cantidad de Trafico' on host 'BCI-FWBD-IMP-01' (config file '/usr/local/nagios/etc/services/ImpervaDB.cfg', starting on line 24)
Warning: Duplicate definition found for service 'ImpervaDB - Cantidad de Trafico' on host 'BCI-FWBD-IMP-04' (config file '/usr/local/nagios/etc/services/ImpervaDB-nrpe1.cfg', starting on line 52)
Warning: Duplicate definition found for service 'ImpervaDB - Cantidad de Trafico' on host 'BCI-FWBD-IMP-03' (config file '/usr/local/nagios/etc/services/ImpervaDB-nrpe1.cfg', starting on line 52)
Warning: Duplicate definition found for service 'ImpervaDB - Cantidad de Trafico' on host 'BCI-FWBD-IMP-05v2' (config file '/usr/local/nagios/etc/services/ImpervaDB-nrpe1.cfg', starting on line 52)
Warning: Duplicate definition found for service 'ImpervaDB - Cantidad de Trafico' on host 'BCI-FWBD-IMP-02' (config file '/usr/local/nagios/etc/services/ImpervaDB-nrpe1.cfg', starting on line 52)
Warning: Duplicate definition found for service 'ImpervaDB - Cantidad de Trafico' on host 'BCI-FWBD-IMP-06v2' (config file '/usr/local/nagios/etc/services/ImpervaDB-nrpe1.cfg', starting on line 52)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 27201 services.
Checked 1030 hosts.
Checked 410 host groups.
Checked 4 service groups.
Checked 146 contacts.
Checked 69 contact groups.
Checked 1609 commands.
Checked 135 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1030 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 135 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
Job for nagios.service failed because the control process exited with error code. See "systemctl status nagios.service" and "journalctl -xe" for details.
You do not have the required permissions to view the files attached to this post.
Re: Illegar character applying configuration
OK, the configurations are good so that is not the issue anymore but it could be something else causing the errors.
Run the following commands as root and post the output to the post so we can check them for any errors on what the issue is.
Thanks
Run the following commands as root and post the output to the post so we can check them for any errors on what the issue is.
Code: Select all
systemctl restart nagios.service
systemctl status nagios.service
journalctl -xe
df -h
df -i
chage -l nagiosBe sure to check out our Knowledgebase for helpful articles and solutions!
-
neo_infraestructura
- Posts: 61
- Joined: Wed Jan 17, 2018 3:55 pm
Re: Illegar character applying configuration
The problem was fixed, but I don't know what did the trick.
The one thing that I did was to search the servide in the mysql database and delete everything that I found related to "Omnichannel GTD". After that I tryed to restart nagios service but the service didn't stop so I had to kill the process itself. So I restarted nagios, ndo2db and npcd services, and after that the problem was fixed and at the moment of apply configuration, it return no errors.
Thanks for the help. You can close this topic.
The one thing that I did was to search the servide in the mysql database and delete everything that I found related to "Omnichannel GTD". After that I tryed to restart nagios service but the service didn't stop so I had to kill the process itself. So I restarted nagios, ndo2db and npcd services, and after that the problem was fixed and at the moment of apply configuration, it return no errors.
Thanks for the help. You can close this topic.