Fileshipper - BaseDir is empty

My Problem is: my BaseDir is empty.

[root@icinga2-master fileshipper]# pwd
/etc/icingaweb2/modules/fileshipper

[root@icinga2-master fileshipper]# ls -la
insgesamt 4
drwxrws—. 2 apache icingaweb2 25 7. Apr 19:53 .
drwxrws—. 7 root icingaweb2 91 7. Apr 19:52 …
-rw-rw----. 1 apache icingaweb2 42 7. Apr 19:53 imports.ini

[root@icinga2-master fileshipper]# cat imports.ini
[test-verzeichnis]
basedir = “/opt/import-icinga”

OS: CentOS 7
Icinga Web 2 Version 2.7.3
PHP 7.1.30
director 1.7.2
fileshipper 1.1.0
SELINUX=disable

Hi,

could you pls tell us a little bit more about your configuration. Why do you think there should be more files than the “import.iini” in /etc/icingaweb2/modules/fileshipper/?
You configured "/opt/import-icinga"as directory where the module should look for files to import. What is the content of this directory? How do you get/create your files to import?

2 Likes

Hi,
I did the configuration of fileshipper according to the instructions. But it doesn’t work: I cannot select a directory.
There is a issues, but not by me: https://github.com/Icinga/icingaweb2-module-fileshipper/issues/23
The directory /opt/import-icinga/ has only my “host-import.csv”. I create this file with Excel.

Sorry for my poor English.

Hi,

if there is a file. Maybe the file permission is wrong. It should be:
User: icingaweb2
Group: apache

The problem is not file permissions.
The problem can be seen on the picture:


I can’t choose the directory.