miebach / op5-monitor-docker

ITRS OP5 Monitor in Docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ITRS OP5 Monitor v8, in Docker.

ITRS OP5 Monitor is a software product for server-, network monitoring and management based on the open source project naemon. This repository contains the ITRS OP5 Monitor software, in docker.

This image is not a ITRS official release and therefore does not adhere to your support agreement you may have with ITRS.

Features

Usage

Run docker container:

$ docker run --privileged -tid --cap-add SYS_ADMIN -p 443:443 fred921/itrs-op5-monitor

You can now access ITRS OP5 Monitor on:

https://<docker host>:443

Setting timezone

Image uses UTC time. To change timezone, use the TZ env-variable.

$ docker run --privileged -tid --cap-add SYS_ADMIN -p 443:443 -e TZ=Europe/Stockholm fred921/itrs-op5-monitor

Adding a license

If no license file is specified, ITRS OP5 Monitor defaults to the trial license. You can import your license file by placing it locally on your docker host and mount it as a volume at docker run.

$ docker run --privileged -tid --cap-add SYS_ADMIN -p 443:443 -v /tmp/op5license/:/etc/op5license/ fred921/itrs-op5-monitor

Building yourself

Clone this repo to your docker server and run the build script that comes with it:

$ git clone https://github.com/bobkjell/op5-monitor-docker.git
$ cd op5-monitor-docker
$ ./build.sh
$ docker run --privileged -tid --cap-add SYS_ADMIN -p 443:443 fred921/itrs-op5-monitor

Docker volumes and persistant storage

During the installation of ITRS OP5 Monitor, several systemd services needs to be running to complete a successful installation. Currently there seems to be issues with starting services in systemd during docker build. In order to install ITRS OP5 Monitor successfully, run a temporary container after the build with extended privileges. Mount your volumes to the temporary container and run the OP5 installer. Re-use the same volumes to keep your data.

Run the build.sh script with the -v argument to create volumes and install OP5 on those volumes. Start your container and mount those volumes.

$ git clone https://github.com/bobkjell/op5-monitor-docker.git
$ cd op5-monitor-docker
$ ./build.sh -v
$ docker run --privileged -tid --cap-add SYS_ADMIN -p 443:443 \
 -v /var/lib/docker/volumes/op5-etc/_data/:/etc/op5/ \
 -v /var/lib/docker/volumes/op5-license/_data/:/etc/op5license/ \
 -v /var/lib/docker/volumes/op5-monitor/_data/:/opt/monitor/ \
 -v /var/lib/docker/volumes/op5-logger/_data/:/opt/logger/ \
 -v /var/lib/docker/volumes/op5-trapper/_data/:/opt/trapper \
 -v /var/lib/docker/volumes/op5-synergy/_data/:/opt/synergy/ \
 -v /var/lib/docker/volumes/op5-mysql/_data/:/var/lib/mysql/ \
 -v /var/lib/docker/volumes/op5-pgsql/_data/:/var/lib/pgsql/data/ \
 -v /var/lib/docker/volumes/op5-snmp/_data/:/usr/share/snmp/ \
 fred921/itrs-op5-monitor

Contributors

  • Misiu Pajor
  • Oskar Rittsel

About

ITRS OP5 Monitor in Docker.


Languages

Language:Python 47.6%Language:Shell 35.9%Language:Dockerfile 16.4%