Am 05.10.2017 um 16:23 schrieb Rudy Gevaert:
The capitals are there because all hosts have that in de domain name.
And I had to add to add that to get my zone syncing working! As all the
certificates contain the domain name in the capitals.
(The first sync worked btw! The second didn't).
Doesn't matter whether you have upper-, lower- or mixed case names. The
only thing that will not work right now is changing case of the very
same object name. There are Import Property Modifiers that can help you
with weird data sources changing case all the time.
I'd strongly suggest to lowercase all host names anyways, just: all of
them will fail when you already imported them with mixed case. Shortest
way to fix this is to lowercase them directly in your DB, like this:
UPDATE icinga_host SET object_name = lower(object_name) where
object_type = 'object';
That's cheating a little bit, and some links in the global action log
might get confused - but afterwards everything should be clean. Then add
a "Lowercase" property modifier to your Import Source and you should be
all done.
Please take a DB dump first, just to be on the safe side. In case it
doesn't work: restore the dump and try again.
Cheers,
Thomas
--
Thomas Gelf
Principal Consultant
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | thomas.g...@netways.de
** OSMC 2017 - November - osmc.de **
** OSDC 2018 - Juni - osdc.de **
** Icinga as a Service - nws.netways.de **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users