On Mon, 2017-03-20 at 15:30 +0100, Valentin Höbel wrote: > 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).
Ok. That was the missing link! I didn't set up the sync rule. (I did deploy, but without the sync it didn't change anything.) > > 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-dire > ctor > Thanks! I will look at it. Rudy > > > 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 > > > > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert e-mail: rudy.geva...@ugent.be Directie ICT, Afdeling Infrastructuur Groep Systemen tel: +32 9 264 4750 Universiteit Gent fax: +32 9 264 4994 Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users