Librenms Deploy Librenms With Docker Container

How to deploy librenms monitoring system with docker container

Librenms is a very light and easy handle moniting software. It is suitable for us to monitoring server,networdevice, printer etc via snmp.

At now, docker is easy for software deployment. After deploy librenms in ubuntu vm, I have a try to deploy librenms with docker-compose.

Install librenms with docker-compose

1
2
3
4
5
6
7
mkdir -p librenms-docker-compose
cd ./librenms-docker-compose
wget https://raw.githubusercontent.com/librenms/docker/master/examples/compose/.env
wget https://raw.githubusercontent.com/librenms/docker/master/examples/compose/docker-compose.yml
wget https://raw.githubusercontent.com/librenms/docker/master/examples/compose/librenms.env
touch acme.json
chmod 600 acme.json

Change docker-compose.yml

vi docker-compose.yml

  • change services | traefik | command section.
1
	   - "--docker.domain=mydomain.net"
  • Change services |
KEYVALUE
hostnamemylibrenms
domainnamemydomain.net
  • Chang syslog-ng section
KEYVALUE
hostnamemylibrenms
domainnamemydomain.net
1
2
docker-compose up -d
docker-compose logs -f
Built with Hugo
Theme Stack designed by Jimmy