Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Collection] - Could not open dir /etc/pandora/collections/.emp
#1
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:

Code:
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
Code:
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


Code:
/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
[email protected]:/volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
3814a1195fc922692911549/usr/share/pandora_agent# cd collections
[email protected]:/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
 Reply
#2
(11-08-2018, 08:46 AM)michael47 Wrote: 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:

Code:
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
Code:
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


Code:
/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
[email protected]:/volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
3814a1195fc922692911549/usr/share/pandora_agent# cd collections
[email protected]:/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
 Reply
#3
(11-08-2018, 10:14 AM)alberto.sanchez Wrote:
(11-08-2018, 08:46 AM)michael47 Wrote: 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:

Code:
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
Code:
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


Code:
/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
[email protected]:/volume1/@docker/aufs/mnt/04d133ffaadf024e96e08e0590c772afc85d5be22
3814a1195fc922692911549/usr/share/pandora_agent# cd collections
[email protected]:/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
 Reply
#4
Hi
update to the latested 181 112 nothing change. Some news for me ???
Merci
Michael
 Reply
#5
(11-12-2018, 01:13 PM)michael47 Wrote: 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
 Reply
#6
(11-13-2018, 08:20 AM)alberto.sanchez Wrote:
(11-12-2018, 01:13 PM)michael47 Wrote: 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
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes