Pandora FMS Community

[Collection] - Could not open dir /etc/pandora/collections/.emp

michael47 · 8 nov 2018, 12:46 · 6 mensajes · 59 visitas

  1. Inicio del debate

    Hi I'm a new user (Synology Docker Pandora v7.0NG.720 build PC180322) . I try to use the android_tablet agent. First problem was tabelet can't connect, i've fixed it with a static local port number in the docker config. Next is:

    2018/11/08 08:22:30 - [Collection] - Could not open dir /etc/pandora/collections/.empty
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541665353.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541370332.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541403332.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541045446.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    

    when i look in my folder I see

    volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
    3814a1195fc922692911549/etc/pandora# ls -l
    total 28
    lrwxrwxrwx 1 root root    36 Mar 22  2018 collections -> /usr/share/pandora_agent/collections
    -rw------- 1 root root  8155 Oct 31 09:47 pandora_agent.conf
    -rwxrwx--- 1 root root 19803 Mar 22  2018 pandora_server.conf
    lrwxrwxrwx 1 root root    32 Mar 22  2018 plugins -> /usr/share/pandora_agent/plugins
    

    when I look in usr/share...   I see

    /usr/share/pandora_agent# ls -l
    total 8
    drwx------ 2 root root 4096 Mar 22  2018 collections
    drwx------ 2 root root 4096 Mar 22  2018 plugins
    root@HDreseau4:/volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
    3814a1195fc922692911549/usr/share/pandora_agent# cd collections
    root@HDreseau4:/volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
    3814a1195fc922692911549/usr/share/pandora_agent/collections# ls -l
    total 0
    

    No files . When I understand right pandora look for pan...agent.conf in usr/share, but my pan... agent.conf is in etc/pandora. What can I do Merci Michael

  2. Hi I'm a new user (Synology Docker Pandora v7.0NG.720 build PC180322) . I try to use the android_tablet agent. First problem was tabelet can't connect, i've fixed it with a static local port number in the docker config. Next is:

    2018/11/08 08:22:30 - [Collection] - Could not open dir /etc/pandora/collections/.empty
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541665353.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541370332.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541403332.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541045446.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    

    when i look in my folder I see

    volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
    3814a1195fc922692911549/etc/pandora# ls -l
    total 28
    lrwxrwxrwx 1 root root    36 Mar 22  2018 collections -> /usr/share/pandora_agent/collections
    -rw------- 1 root root  8155 Oct 31 09:47 pandora_agent.conf
    -rwxrwx--- 1 root root 19803 Mar 22  2018 pandora_server.conf
    lrwxrwxrwx 1 root root    32 Mar 22  2018 plugins -> /usr/share/pandora_agent/plugins
    

    when I look in usr/share...   I see

    /usr/share/pandora_agent# ls -l
    total 8
    drwx------ 2 root root 4096 Mar 22  2018 collections
    drwx------ 2 root root 4096 Mar 22  2018 plugins
    root@HDreseau4:/volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
    3814a1195fc922692911549/usr/share/pandora_agent# cd collections
    root@HDreseau4:/volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
    3814a1195fc922692911549/usr/share/pandora_agent/collections# ls -l
    total 0
    

    No files . When I understand right pandora look for pan...agent.conf in usr/share, but my pan... agent.conf is in etc/pandora. What can I do Merci Michael

    Good morning michael47, It can be 3 possible problems. First, do you have tentacle activated? Secondly, could it be a firewall problem that doesn´t allow the conection via 41121? Lastly, the android_agent is being improved because it has plenty of errors, please try the first two possibilities and tell us the result. Alberto

  3. Hi I'm a new user (Synology Docker Pandora v7.0NG.720 build PC180322) . I try to use the android_tablet agent. First problem was tabelet can't connect, i've fixed it with a static local port number in the docker config. Next is:

    2018/11/08 08:22:30 - [Collection] - Could not open dir /etc/pandora/collections/.empty
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541665353.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541370332.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541403332.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    
    2018/11/08 08:22:33 - [error] - Error sending file '/tmp/ab5f92bddffbfeaf1d3420797fafd10b256cc3241e68e27cfa2977ff994f720a.1541045446.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121:$
    

    when i look in my folder I see

    volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
    3814a1195fc922692911549/etc/pandora# ls -l
    total 28
    lrwxrwxrwx 1 root root    36 Mar 22  2018 collections -> /usr/share/pandora_agent/collections
    -rw------- 1 root root  8155 Oct 31 09:47 pandora_agent.conf
    -rwxrwx--- 1 root root 19803 Mar 22  2018 pandora_server.conf
    lrwxrwxrwx 1 root root    32 Mar 22  2018 plugins -> /usr/share/pandora_agent/plugins
    

    when I look in usr/share...   I see

    /usr/share/pandora_agent# ls -l
    total 8
    drwx------ 2 root root 4096 Mar 22  2018 collections
    drwx------ 2 root root 4096 Mar 22  2018 plugins
    root@HDreseau4:/volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
    3814a1195fc922692911549/usr/share/pandora_agent# cd collections
    root@HDreseau4:/volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
    3814a1195fc922692911549/usr/share/pandora_agent/collections# ls -l
    total 0
    

    No files . When I understand right pandora look for pan...agent.conf in usr/share, but my pan... agent.conf is in etc/pandora. What can I do Merci Michael

    Good morning michael47, It can be 3 possible problems. First, do you have tentacle activated? Secondly, could it be a firewall problem that doesn´t allow the conection via 41121? Lastly, the android_agent is being improved because it has plenty of errors, please try the first two possibilities and tell us the result. Alberto

    Hi Alberto I think it's the first. Tentacle don't run in the synology NAS. What must I do, install docker/container  with Tentacle, or can I do something inside the pandora docker ?? It's perhaps teh same problem, pandora don't found also traceroute. Merci Michael

  4. Hi update to the latested 181 112 nothing change. Some news for me ??? Merci Michael

  5. Hi update to the latested 181 112 nothing change. Some news for me ??? Merci Michael

    Good morning michael47, After looking and replicating your error, will try to solve it with the next version, 729, of Pandora FMS. It will come out during the next week. Alberto

  6. Hi update to the latested 181 112 nothing change. Some news for me ??? Merci Michael

    Good morning michael47, After looking and replicating your error, will try to solve it with the next version, 729, of Pandora FMS. It will come out during the next week. Alberto

    Hi Alberto Thanks for your work(s). I can wait... Michael

Entra en tu cuenta para publicar.