Hi Rudy,
I don't know about "fileshipper only", but usually you also install the
Icingaweb2 module Director and create a sync rule (in addition to an
import source).
You then trigger the import and the sync rule before starting the config
check and deployment (both through Director).
Please note that you have to configure your sync rule in a way that the
object_type of your imported stuff is set to e.g. host, so Icinga2 and
Director know how to deal with those objects.
Best regards
Valentin
PS: There is a great talk from Thomas Gelf, the author of Director. Make
sure to check it out:
https://www.slideshare.net/icinga/icinga-camp-berlin-2017-icinga-director
On 20.03.2017 15:27, Rudy Gevaert wrote:
Hello,
How do I get items imported from CSV with fileshipper to be seen as
host objects?
As an old school Nagios user I'm having some issues adjusting to
Icinga2.
I set up the the fileshipper module and configured a new datasource. It
successfully reads the CSV. I also added a modifier to translate
'fqdn' to 'address' by DNS. The preview shows the correct data.
[root@icinga2 icinga2]# cat /var/cache/various_files/hosts.csv
"display_name","fqdn"
"myhost","myhost.be"
For some reasons I thought icinga would now start to monitor that host.
But it isn't doing that.
Clearly I forgot to do something! But what?
I'm using the vagrant box. I only installed the fileshipper module. I
also added a host manually and that one is being monitored.
This is my first go at icinga2 so please bare with me.
thanks for your time in advance,
Rudy
--
Valentin Höbel
Senior Consultant IT Infrastructure
mobil 0711-95337077
Linux Information Systems
LIS Stuttgart GmbH
Talstraße 41 70188 Stuttgart Germany
Geschäftsführer Tilo Mey
Amtsgericht Stuttgart, HRB 729287, Ust-IdNr DE264295269
Volksbank Stuttgart EG, BIC VOBADESS, IBAN DE75600901000340001003
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users