error in config files after first discovery

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
alfl
Posts: 3
Joined: Mon Oct 17, 2011 3:04 am

error in config files after first discovery

Post by alfl »

Hello Forum,

I am new using NagiosXI and downloaded the VMWare version.

All went while and i run an full discovery over my network to let the nagios system discover all network attached devices and servers.

I could place checkmarks on all servers and services it found and then tryed to make the final step. This went in error and the text file i could check gave on every server and device the following errors:
Running pre-flight check on configuration data...

Checking services...
Error: The description string for service 'TCP Port 8000 (irdmi)' on host '10.1.0.4' contains one or more illegal characters.
Error: The description string for service 'TCP Port 8100 (xprint-server)' on host '10.1.0.4' contains one or more illegal characters.
Error: The description string for service 'TCP Port 515 (printer)' on host 'dymo.gandalf.local' contains one or more illegal characters.
Error: The description string for service 'TCP Port 9101 (bacula-dir)' on host 'dymo.gandalf.local' contains one or more illegal characters.

etc.

I didn't do anything else.
I only used the web interface and don't know if i can change any config file as all files say that these will be overwritten by QL scripts.

I attached the complete logfile

How can i add a new device to the monitoring server ?
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: error in config files after first discovery

Post by lmiltchev »

Nagios cannot start or restart with configuration errors. You will have to remove the illegal characters from your service definitions through the Nagios Core Config Manager in order to be able to apply successfully the configuration. Please, read more about the illegal characters (under "Illegal Object Name Characters") here:

http://nagios.sourceforge.net/docs/nagi ... gmain.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
alfl
Posts: 3
Joined: Mon Oct 17, 2011 3:04 am

Re: error in config files after first discovery

Post by alfl »

I understand this, only i don't know how to change this in NagiosXI as i don't know where these files are generated. Also, the names are autogenerated bij NagiosXI and i couldn't make any adjustments to these namings.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: error in config files after first discovery

Post by nscott »

It appears there is a bug where it will let certain special characters through that it shouldn't. The fix for now is to remove the special characters in the CCM by hand, and when you run auto discovery jobs in the future, quickly scan the names for special characters, until an update is released.
Nicholas Scott
Former Nagios employee
Locked