Core Config Manager - fails to apply configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Hikingjoe
Posts: 1
Joined: Fri Mar 24, 2017 1:19 pm

Core Config Manager - fails to apply configuration

Post by Hikingjoe »

Tried adding Check_Swap test as an additional service for a host named "PBX_Clone"

Using Core Config Manager, add a new service
Entered all the necessary information for a "check_nrpe" check command and using the "Run Check Command", the test ran successfully. But, when we applied the configuration, the configuration failed.
The reason it fails to Apply Configuration is because it writes the configuration file as "PBX\ Clone.cfg" instead of PBX_Clone.cfg

NagiosXI will do the same thing if a space is in the host name. Core Config Manager creates a command file with a back slash in the file name instead of a space or an underscore

Easy fix is not to use a configuration name with a space or underscore in the name. However this is a BUG in NagiosXI
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Core Config Manager - fails to apply configuration

Post by lmiltchev »

I haven't been able to recreate the issue.

What is the Nagios XI version that you are currently running?

What is the "Host Name" that you enter in the CCM - Host Management (under the "Common Settings" tab) - "PBX_Clone" or "PBX Clone"?

I tried both, and both checks work fine. Applying configuration didn't fail for me and two different configuration files were created (one with space, and one with underscore):

Code: Select all

[root@main-nagios-xi ~]# ll /usr/local/nagios/etc/services/PBX*
-rw-rw-r-- 1 apache nagios 985 Mar 27 11:13 /usr/local/nagios/etc/services/PBX Clone.cfg
-rw-rw-r-- 1 apache nagios 997 Mar 27 11:19 /usr/local/nagios/etc/services/PBX_Clone.cfg
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked