Observium is a Network Monitoring system that uses SNMP to discover details about each host and display graphs about memory, CPU and other details. Find more information at http://www.observium.org.
This Docker image is multi architecture. Supported archtictures include:
- amd64 ("normal PC)
- arm64 (Raspberry Pi 4 or newer running "real" OS like Ubuntu)
Further architectures on request.
- Source Code https://github.com/dkrizic/docker-observium
- Docker images https://hub.docker.com/repository/docker/dkrizic/observium/
I am using the Docker image on a hybrid Kubernetes cluster so I prepared
- This Docker image
- A Helm chart
This allows the installation of Observium on Kubernetes and expose it using an Ingress Controller.
- A Kubernetes cluster with amd64 or arm64 nodes (or any combination of that)
- An installed Ingress Controller
I created a Helm Chart for deploying Observium into a Kubernetes cluster which can be found here https://github.com/dkrizic/charts/tree/main/charts/observium
Create namespace using
kubectl create namespace observium
Create a configuration file mariadb.yaml
userDatabase:
name: observium
user: observium
password: passw0rd
rootPassword: observium
storage:
requestedSize: 10Gi
nodeSelector:
kubernetes.io/arch: arm64
Change accordingly to you environment. The run
helm repo add groundhog2k https://groundhog2k.github.io/helm-charts/
helm repo update
helm -n observium upgrade --install observium-mariadb -f mariadb.yaml groundhog2k/mariadb
You should now have MariaDB up an running with is available as mysql://observium-mariadb:3306 inside the cluster which has a database observium preconfigured.
Create a configuration file observium.yaml
nodeSelector:
kubernetes.io/arch: arm64
ingress:
enabled: true
hosts:
- host: observium.krizic.net
paths:
- path: "/"
observium:
base_url: https://observium.example.com
server_name: observium.example.com
tz: "Europe/Berlin"
admin:
user: admin
password: verySecretPassword
db:
host: observium-mariadb
user: observium
password: passw0rd
name: observium
persistence:
rrd:
size: 20Gi
storageClassName: rook-ceph-block-csi
logs:
size: 20Gi
storageClassName: rook-ceph-block-csi
resources:
requests:
cpu: 1500m
limits:
cpu: 2800m
Note that the entries unter observium.db must match the entries from MariaDB in order to connect property. Also change the hostname to your own hostname. In this case observium should be available as https://observium.example.com. Now run
helm repo add dkrizic https://dkrizic.github.io/charts
helm repo update
helm -n observium upgrade --install observium -f observium.yaml dkrizic/observium
to install Observium. Enjoy.
- 2021-05-23: First version, contains Observium CE 10731
This repository was forked from https://github.com/somsakc/docker-observium by https://github.com/somsakc/.