I am having some trouble configuring our import sources correctly.
we are using the vspheredb module and the x509 (Certificate plugin) and the fileshipper module.
i created a CSV from the data in our old monitoring software (opsview) and have imported that without problems. currently i have 2 issue’s:
some of the objects that have been imported are also picked up by the vspheredb and x509 module. but have different capitalisation so they are reported as new objects. but when i try import them i get an error: “Trying to recreate icinga_host” so even if i choose ignore as update policy i cannot import them.
i tried to use the lowercase and uppercase modifier for the import job but they throw an error:
Uncaught Error: Call to undefined function mb_strtolower() in /usr/share/icingaweb2/modules/director/library/Director/PropertyModifier/PropertyModifierLowercase.php:11
another thing i cannot figure out is how to get the different import jobs to work together. some object are picked up by both jobs. and they overwrite each other if i try to merge them. for example if the vsphere import runs i want it to add the host to a ‘vm’ host group. when the X509 job picks up that host i want it to also append it to a ‘certificate’ host group but i the last job overwrites the host group and is not appending to it. i tried to add custom variables to the import and using them as a condition to a one or more groups but couldn’t get it working.
can somebody give me some clues how to configure this?
we are running director 1.7.2
the import from fileshipper was just a one time import the other 2 we would like to run on a schedule
any advice would be appreciated
thanks in advance