Pandora FMS Community

Pandorafms7 on docker does not receives agent's

dandumit · 20 abr 2019, 9:23 · 7 mensajes · 70 visitas

  1. Inicio del debate

    Hello All, I have installed PandoraFMS7 on docker over an xpnology. Agents are not logging there.  in fi/var/log/pandora/pandora_agent.log there is full of errors like : 2019/04/20 04:09:52 - [error] - Error sending file '/tmp/a1a65c078934f7068e9b1ee48241be481529eb6d6c5bfbe89990be7f472f5e3e.1555592391.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121: Connection refused. I have tried to run initially  netstat -an | grep 41121  but nothing revealed.  I have started it like : /etc/init.d/tentacle_serverd start Shouldn't it start automatically ? How I could I add it to startup ?  And now on netstat I get : Proto Recv-Q Send-Q Local Address               Foreign Address             State                                                       tcp        0      0 0.0.0.0:41121               0.0.0.0:*                   LISTEN  IT looks that it started listening on 41121 but it's not mapped outside of docker container .  At docker level says that container port 41121 it's mapped to local port 32768. now on pandora_agent.log I have several lines with : 2019/04/20 04:54:49 - [Collection] - Could not open dir /etc/pandora/collections/.empty Any guideline / documentation for running on Docker ? Thank you, Daniel

  2. Hello All, I have installed PandoraFMS7 on docker over an xpnology. Agents are not logging there.  in fi/var/log/pandora/pandora_agent.log there is full of errors like : 2019/04/20 04:09:52 - [error] - Error sending file '/tmp/a1a65c078934f7068e9b1ee48241be481529eb6d6c5bfbe89990be7f472f5e3e.1555592391.data' to 'localhost:41121': [err] Cannot connect to localhost on port 41121: Connection refused. I have tried to run initially  netstat -an | grep 41121  but nothing revealed.  I have started it like : /etc/init.d/tentacle_serverd start Shouldn't it start automatically ? How I could I add it to startup ?  And now on netstat I get : Proto Recv-Q Send-Q Local Address               Foreign Address             State                                                       tcp        0      0 0.0.0.0:41121               0.0.0.0:*                   LISTEN  IT looks that it started listening on 41121 but it's not mapped outside of docker container .  At docker level says that container port 41121 it's mapped to local port 32768. now on pandora_agent.log I have several lines with : 2019/04/20 04:54:49 - [Collection] - Could not open dir /etc/pandora/collections/.empty Any guideline / documentation for running on Docker ? Thank you, Daniel

    Greetings, dandumit Please do try to follow the instructions given in the other thread you posted in.  Here you will find the documentation related to the docker: https://wiki.pandorafms.com/index.php?title=Pandora:Documentation\_en:Installing#Installation\_under\_Docker Also, please do make sure that the IP you're pointing to is the one of the docker.  Kind regards,  Eduardo.

  3. Thank you Eduardo for consistent help ! and sorry for cross posting. I have tried that but on Xpenology (Synology) docker gives me an error : [root@pandorafms7 /]# curl -sSL http://pandorafms.org/getpandora | sh sh: line 3: docker: command not found . I have tried to upgrade from console but didn't managed to get latest version. Could you please point me to a docker repository to contain latest stable ? Would be more easier to redeploy. Thank you, Daniel

  4. Thank you Eduardo for consistent help ! and sorry for cross posting. I have tried that but on Xpenology (Synology) docker gives me an error : [root@pandorafms7 /]# curl -sSL http://pandorafms.org/getpandora | sh                                                     sh: line 3: docker: command not found . I have tried to upgrade from console but didn't managed to get latest version. Could you please point me to a docker repository to contain latest stable ? Would be more easier to redeploy. Thank you, Daniel

    Good morning, dandumit Can you please run "ifconfig" command in your system and check that the IP you're pointing to is the one under docker section? About the update, our team is working to fix anything malfunctioning in: (Link not available anymore) Please do check in the next couple of days to get the latest version available of Pandora FMS for your docker.  Kind regards,  Eduardo.

  5. I am using (Link not available anymore) it's far more simplier and faster to deploy . IT says that has been updated 10 hours ago. However still an older version. DAniel


    Also you propose to deploy version 6 with 3 different repositories. And in above ling it's version 7 already. Thank you, Daniel

  6. I am using (Link not available anymore) it's far more simplier and faster to deploy . IT says that has been updated 10 hours ago. However still an older version. DAniel


    Also you propose to deploy version 6 with 3 different repositories. And in above ling it's version 7 already. Thank you, Daniel

    Good morning, dandumit Can you send us please a screenshot of the console footer to see which exact version and MR of Pandora FMS do you have installed? In the meantime we will work to see if there was any problem with the link update.  Kind regards,  Eduardo.

  7. Thank you Eduardo for fast answer. in footer says : Pandora FMS v7.0NG.720 - Build PC180322 - MR 13 Otherwise all install process on Synology (xpenology) was a child play. those two small snags : tentacle server does not start at boot time and some php parameters not set correctly and from here a lot of exclamation marks in console Print screen below : and a part of warnings from pandora console How should I proceed to get latest version of Pandora 7 from Docker ?

    [

    ](//pandorafms.com/community/media/forum/11217/28376=2800-Capture.PNG)

    [

    ](//pandorafms.com/community/media/forum/11217/28376=2801-Capture2.PNG)

Entra en tu cuenta para publicar.