Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testing Pandora FMS
#1
Hello,
I'm trying to test Pandora for new monitoring solution, and it's great there's a docker image available to setup a quick environment.
However, it seems that whenever i restart/recreate the container, and previous configuration is lost. Is there any way to make the data persistent through server reboots etc?
I'm using the described procedure:
Code:
docker run --name pandorafms pandorafms/pandorafms:7

Although, reformatted for docker-compose instead.
 Reply
#2
(09-10-2018, 06:45 PM)maw Wrote: Hello,
I'm trying to test Pandora for new monitoring solution, and it's great there's a docker image available to setup a quick environment.
However, it seems that whenever i restart/recreate the container, and previous configuration is lost. Is there any way to make the data persistent through server reboots etc?
I'm using the described procedure:
Code:
docker run --name pandorafms pandorafms/pandorafms:7

Although, reformatted for docker-compose instead.

Good morning maw,

Its unusual that the previous configuration restarts when you restart the container, it could be a problem of the version you have. If you can try to do it with the version of today and test it it would be great. If the problem persists, can you send me the .conf of the server to see if something went wrong during the installation.

Alberto
 Reply
#3
(09-11-2018, 07:57 AM)alberto.sanchez Wrote:
(09-10-2018, 06:45 PM)maw Wrote: Hello,
I'm trying to test Pandora for new monitoring solution, and it's great there's a docker image available to setup a quick environment.
However, it seems that whenever i restart/recreate the container, and previous configuration is lost. Is there any way to make the data persistent through server reboots etc?
I'm using the described procedure:
Code:
docker run --name pandorafms pandorafms/pandorafms:7

Although, reformatted for docker-compose instead.

Good morning maw,

Its unusual that the previous configuration restarts when you restart the container, it could be a problem of the version you have. If you can try to do it with the version of today and test it it would be great. If the problem persists, can you send me the .conf of the server to see if something went wrong during the installation.

Alberto


I just re-tested.
The configuration is intact when I restart the container. The dataloss occurs when I recreate the container, if I add another published port, add hostname etc.

I'm fairly new to the docker environment, so I'm not sure if this is the expected behaviour. But I have other docker containers running other miscellaneous stuff that retains their data just fine on recreation.
I attached the server conf in this post.


Attached Files


.txt   pandoraserver.txt (Size: 19.34 KB / Downloads: 2)
 Reply
#4
(09-12-2018, 08:03 PM)maw Wrote:
(09-11-2018, 07:57 AM)alberto.sanchez Wrote:
(09-10-2018, 06:45 PM)maw Wrote: Hello,
I'm trying to test Pandora for new monitoring solution, and it's great there's a docker image available to setup a quick environment.
However, it seems that whenever i restart/recreate the container, and previous configuration is lost. Is there any way to make the data persistent through server reboots etc?
I'm using the described procedure:
Code:
docker run --name pandorafms pandorafms/pandorafms:7

Although, reformatted for docker-compose instead.

Good morning maw,

Its unusual that the previous configuration restarts when you restart the container, it could be a problem of the version you have. If you can try to do it with the version of today and test it it would be great. If the problem persists, can you send me the .conf of the server to see if something went wrong during the installation.

Alberto


I just re-tested.
The configuration is intact when I restart the container. The dataloss occurs when I recreate the container, if I add another published port, add hostname etc.

I'm fairly new to the docker environment, so I'm not sure if this is the expected behaviour. But I have other docker containers running other miscellaneous stuff that retains their data just fine on recreation.
I attached the server conf in this post.

Good morning maw,

The normal way of function of docker with pandora is that if you recreate the container, the container will be destroyed and created again, so its normal that all the data is lost.

If you want to work with it you must:
1- Or only use stop, start and restart to use the pandora image in docker.
2- Or make an external installation of pandora, put it then on the docker container, and then you can recreate or do whatever you want because pandora will be stored externally.

Hope this helps you,

Alberto
 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