This page assumes that you have decided to start UnPoller with Docker using the command line.
Make sure you have set up a user on your controller for UnPoller to poll. You must have a working (and supported) version of Grafana and at least one of InfluxDB or Prometheus. If you don't have them, follow these instructions for installing InfluxDB and Grafana.
First pull the image from Docker Hub using
Details of tags available are described in Docker - FAQ.
UnPoller's Docker container can be configured in two ways:
- Using environment variables.
- Using a configuration file.
There is a detailed description of the configuration parameters on the Application Configuration page. A decision should be made which method of configuration to use. Both are explained below.
When configuring make sure that you do not include
:8443 on the url of the controller
if you are using
unifios. Those are: UDM Pro, UDM, UXG, or CkoudKey with recent firmware.
If you are using the command line and have decided to use environment variables then start the container using the following command (and pass in other environment variables you wish to).
If you choose to use a configuration file:
- Copy this example config file
- Edit it as necessary (in particular ensure that the
passvariables are set)
- Save it as
unpoller.confin the local location you use for Docker storage.
Start the container by running:
Make sure that UnPoller is actively writing to the database before going any further.
In both cases, if all has worked, then you should start seeing lines like this:
If you don't see these lines then look for errors and double-check your work.
If you do then you can stop the container, and then start it again in daemon mode by adding the