Have you ever wanted to run PRTG Network Monitor in Docker? No? Well now you can!
This repository contains all the steps and components required to containerize (theoretically) any version of PRTG, including both the PRTG Core Server and PRTG Probe components. As of writing this project has successfully been used to create Docker images of all versions of PRTG from 14.4 to 19.4, and likely supports additional versions outside this range.
To simplify deployment, several cmdlets are provided to help validate your inputs and interface with the Docker CLI for you. For the brave of heart, instructions are also provided for those that wish to control the Docker build process manually.
The following illustrates how you can easily create an image containing the PRTG Core Server. For information on containerizing PRTG Probes as well as advanced configuration options, please see the wiki.
-
Create a Windows Server 2019 LTSC (1809, 17763.864) VM with at least 6gb RAM and apply the latest updates (very important)
-
Clone this repo to your server (
git clone https://github.com/lordmilko/PrtgDocker
) -
Place any installers you wish to containerize into the repo
-
Open
build.cmd
and run the following commandsNew-PrtgBuild New-PrtgContainer
-
Visit
http://<hostname>:8080
in your web browser!
-
Create a Windows Server 2019 LTSC (1809, 17763.864) VM with at least 6gb RAM and apply the latest updates (very important)
-
Clone this repo to your server (
git clone https://github.com/lordmilko/PrtgDocker
) -
Place a single installer you wish to containerize into the repo
-
Change the date on your server as required ;)
-
Run the following commands under the repo folder
docker build . -t prtg docker run -m 4G -it -p 8080:80 prtg
-
Visit
http://<hostname>:8080
in your web browser!
For more information on using PrtgDocker, including creating PRTG Probe containers and advanced configuration options, please see the wiki.