Git Product home page Git Product logo

docker's Introduction

Latest Version Build Status Docker Stars Docker Pulls
Become a sponsor Donate Paypal

About

Docker image for LibreNMS, a fully featured network monitoring system that provides a wealth of features and device support.

Tip

Want to be notified of new releases? Check out 🔔 Diun (Docker Image Update Notifier) project!


Features

Demo

Try in PWD

Build locally

$ git clone https://github.com/librenms/docker.git docker-librenms
$ cd docker-librenms

# Build image and output to docker (default)
$ docker buildx bake

# Build multi-platform image
$ docker buildx bake image-all

Image

Following platforms for this image are available:

$ docker run --rm mplatform/mquery librenms/librenms:latest
Image: librenms/librenms:latest
 * Manifest List: Yes
 * Supported platforms:
   - linux/amd64
   - linux/arm/v7
   - linux/arm64
   - linux/386
   - linux/ppc64le
   - linux/s390x

Environment variables

General

  • TZ: The timezone assigned to the container (default UTC)
  • PUID: LibreNMS user id (default 1000)
  • PGID: LibreNMS group id (default 1000)
  • MEMORY_LIMIT: PHP memory limit (default 256M)
  • MAX_INPUT_VARS: PHP max input vars (default 1000)
  • UPLOAD_MAX_SIZE: Upload max size (default 16M)
  • CLEAR_ENV: Clear environment in FPM workers (default yes)
  • FPM_PM_MAX_CHILDREN: FPM max Children (default: 15)
  • FPM_PM_START_SERVERS: FPM start servers (default: 2)
  • FPM_PM_MIN_SPARE_SERVERS: FPM min spare servers (default: 1)
  • FPM_PM_MAX_SPARE_SERVERS: FPM max spare servers (default: 6)
  • OPCACHE_MEM_SIZE: PHP OpCache memory consumption (default 128)
  • LISTEN_IPV6: Enable IPv6 for Nginx (default true)
  • REAL_IP_FROM: Trusted addresses that are known to send correct replacement addresses (default 0.0.0.0/32)
  • REAL_IP_HEADER: Request header field whose value will be used to replace the client address (default X-Forwarded-For)
  • LOG_IP_VAR: Use another variable to retrieve the remote IP address for access log_format on Nginx. (default remote_addr)
  • SESSION_DRIVER: Driver to use for session storage (default file)
  • CACHE_DRIVER: Driver to use for cache and locks (default database)

Redis

Note

Redis variables should be set on all containers and are required when running more than one dispatcher.

  • REDIS_HOST: Redis host for poller synchronization
  • REDIS_SENTINEL: Redis Sentinel host for high availability Redis cluster
  • REDIS_SENTINEL_SERVICE: Redis Sentinel service name (default librenms)
  • REDIS_SCHEME: Redis scheme (default tcp)
  • REDIS_PORT: Redis port (default 6379)
  • REDIS_PASSWORD: Redis password
  • REDIS_DB: Redis database (default 0)
  • REDIS_CACHE_DB: Redis cache database (default 1)

Dispatcher service

Warning

Only used if you enable and run a sidecar dispatcher container.

  • SIDECAR_DISPATCHER: Set to 1 to enable sidecar dispatcher mode for this container (default 0)
  • DISPATCHER_NODE_ID: Unique node ID for your dispatcher service
  • DISPATCHER_ARGS: Additional args to pass to the dispatcher service

Syslog-ng

Warning

Only used if you enable and run a sidecar syslog-ng container.

  • SIDECAR_SYSLOGNG: Set to 1 to enable sidecar syslog-ng mode for this container (default 0)

Snmptrapd

Warning

Only used if you enable and run a sidecar snmptrapd container.

  • SIDECAR_SNMPTRAPD: Set to 1 to enable sidecar snmptrapd mode for this container (default 0)
  • SNMP_PROCESSING_TYPE: Sets which type of processing (log, execute, and/or net) to use with the SNMP trap (default log,execute,net)
  • SNMP_USER: Defines what username to authenticate with (default librenms_user)
  • SNMP_AUTH: Defines what password to authenticate with (default auth_pass should not be used, but will work)
  • SNMP_PRIV: Defines what password to encrypt packages with (default priv_pass should not be used, but will work)
  • SNMP_AUTH_PROTO: Sets what protocol (MD5|SHA) to use for authentication (default SHA)
  • SNMP_PRIV_PROTO: Sets what protocol (DES|AES) to use for encryption of packages (default AES)
  • SNMP_SECURITY_LEVEL: Sets what security level (noauth|priv) to use (default priv)
  • SNMP_ENGINEID: Defines what SNMP EngineID to use (default 1234567890)
  • SNMP_DISABLE_AUTHORIZATION: Will disable the above access control checks, and revert to the previous behaviour of accepting all incoming notifications. (default yes)
  • SNMP_EXTRA_MIB_DIRS: Additional directories where MIB files are for SNMP Traps (example /opt/librenms/mibs/veeam)

Database

  • DB_HOST: MySQL database hostname / IP address
  • DB_PORT: MySQL database port (default 3306)
  • DB_NAME: MySQL database name (default librenms)
  • DB_USER: MySQL user (default librenms)
  • DB_PASSWORD: MySQL password (default librenms)
  • DB_TIMEOUT: Time in seconds after which we stop trying to reach the MySQL server (useful for clusters, default 60)

Misc

  • LIBRENMS_BASE_URL: URL of your LibreNMS instance (default /)
  • LIBRENMS_SNMP_COMMUNITY: This container's SNMP v2c community string (default librenmsdocker)
  • LIBRENMS_WEATHERMAP: Enable LibreNMS Weathermap plugin (default false)
  • LIBRENMS_WEATHERMAP_SCHEDULE: CRON expression format (default */5 * * * *)
  • MEMCACHED_HOST: Hostname / IP address of a Memcached server
  • MEMCACHED_PORT: Port of the Memcached server (default 11211)
  • RRDCACHED_SERVER: RRDcached server (eg. rrdcached:42217)

Volumes

  • /data: Contains configuration, plugins, rrd database, logs, additional Monitoring plugins, additional syslog-ng config files

Warning

Note that the volume should be owned by the user/group with the specified PUID and PGID. If you don't give the volume correct permissions, the container may not start.

Ports

Usage

Docker Compose

Docker compose is the recommended way to run this image. Copy the content of folder examples/compose in /var/librenms/ on your host for example. Edit the compose and env files with your preferences and run the following commands:

$ docker compose up -d
$ docker compose logs -f

Command line

You can also use the following minimal command:

$ docker run -d -p 8000:8000 --name librenms \
  -v $(pwd)/data:/data \
  -e "DB_HOST=db" \
  librenms/librenms:latest

Warning

db must be a running MySQL instance.

First launch

When you first access the webui, you will be prompted to create an admin user.

Note

If you lose access, you can create another one using the lnms command.

Upgrade

To upgrade to the latest version of LibreNMS, pull the newer image and launch the container. LibreNMS will upgrade automatically:

$ docker compose down
$ docker compose pull
$ docker compose up -d

Configuration Management

Initial Configuration

You can set the initial configuration of LibreNMS by placing *.yaml files inside /data/config folder. Let's say you want to edit the WebUI config. Create a file called for example /data/config/webui.yaml with this content :

page_refresh: 300
webui.default_dashboard_id: 0

This configuration will be seeded into the LibreNMS database when it is first deployed and will override the default values.

Live Configuration

You can edit the running configuration via the LibreNMS web UI or lnms config:set

docker compose exec librenms lnms config:set page_refresh 300

Re-Apply YAML Config

Set REAPPLY_YAML_CONFIG=1 to overwrite any settings that are set during initial config or via user config back to their initial values every time the container is deployed.

Live Config

Using this config method, configuration changes will be reflected live on the containers, BUT you will be unable to edit the configured settings from within the LibreNMS web UI or lnms config:set.

The same example using PHP /data/config/webui.php

<?php
$config['page_refresh'] = "300";
$config['webui']['default_dashboard_id'] = 0;

Notes

LNMS command

If you want to use the lnms command to perform common server operations like manage users, database migration, and more, type:

$ docker compose exec librenms lnms

Validate

If you want to validate your installation from the CLI, type the following command:

$ docker compose exec --user librenms librenms php validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 1.64
DB Schema | 2020_04_19_010532_eventlog_sensor_reference_cleanup (165)
PHP       | 7.3.18
Python    | 3.8.2
MySQL     | 10.4.13-MariaDB-1:10.4.13+maria~bionic
RRDTool   | 1.7.2
SNMP      | NET-SNMP 5.8
====================================

[OK]    Installed from the official Docker image; no Composer required
[OK]    Database connection successful
[OK]    Database schema correct
[WARN]  IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN]  Updates are managed through the official Docker image

Dispatcher service container

If you want to enable the new Dispatcher service, you have to run a "sidecar" container (see dispatcher service in compose.yml example) or run a simple container like this:

$ docker run -d --name librenms_dispatcher \
  --env-file $(pwd)/librenms.env \
  -e SIDECAR_DISPATCHER=1 \
  -e DISPATCHER_NODE_ID=dispatcher1 \
  -v librenms:/data \
  librenms/librenms:latest

Warning

librenms must be a valid volume already attached to a LibreNMS container.

Syslog-ng container

If you want to enable syslog-ng, you have to run a "sidecar" container (see syslog-ng service in compose.yml example) or run a simple container like this:

$ docker run -d --name librenms_syslog \
  --env-file $(pwd)/librenms.env \
  -e SIDECAR_SYSLOGNG=1 \
  -p 514 -p 514/udp \
  -v librenms:/data \
  librenms/librenms:latest

Warning

librenms must be a valid volume already attached to a LibreNMS container.

You have to create a configuration file to enable syslog in LibreNMS too. Create a file called for example /data/config/syslog.yaml with this content :

enable_syslog: true

Snmptrapd container

If you want to enable snmptrapd, you have to run a "sidecar" container (see snmptrapd service in compose.yml example) or run a simple container like this:

$ docker run -d --name librenms_snmptrapd \
  --env-file $(pwd)/librenms.env \
  -e SIDECAR_SNMPTRAPD=1 \
  -p 162 -p 162/udp \
  -v librenms:/data \
  librenms/librenms:latest

Warning

librenms must be a valid volume already attached to a LibreNMS container.

Add a LibreNMS plugin

You can add plugins for LibreNMS in /data/plugins/. If you add a plugin that already exists in LibreNMS, it will be removed and yours will be used (except for Weathermap).

Warning

Container has to be restarted to propagate changes.

Additional Monitoring plugins

You can add a custom Monitoring plugin in /data/monitoring-plugins/.

Some plugins can be found in the Monitoring Plugins repo, or in the unofficial fork for Nagios.

Warning

Container has to be restarted to propagate changes.

Custom alert templates

You can add Laravel alert templates in /data/alert-templates/.

Warning

Container has to be restarted to propagate changes.

Contributing

Want to contribute? Awesome! The most basic way to show your support is to star the project, or to raise issues. You can also support this project by becoming a sponsor on GitHub or by making a PayPal donation to ensure this journey continues indefinitely!

Thanks again for your support, it is much appreciated! 🙏

License

MIT. See LICENSE for more details.

docker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker's Issues

404 error after fresh install

Hi there, I see there was an issue raised for the same thing) but couldn't find the resolution in there.

I understand that I need to change the traefik front end rule ("traefik.frontend.rule=Host:) but what do I need to put in there? If I change to a different domain, I'm unable to access the libreNMS gui.

The same happens when trying to access through http(s)://librenms.example.com I created a static host entry on my PC for that URL but still get the 404 error.

What I'm trying to understand here is what exactly needs changing from the example folder in order to be able to access the GUI.

Many thanks in advance,

Ismael.

MEMORY_LIMIT not used by poller

My poller crashes with

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /opt/librenms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 158

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 73728 bytes) in /opt/librenms/vendor/composer/ClassLoader.php on line 444

My MEMORY_LIMIT is set to 1024M, but the poller uses 128M for some reason.

Cause: The env var MEMORY_LIMIT is only written into /etc/php7/php-fpm.d/www.conf but not into /etc/php7/php.ini (which is used by the poller).

/opt/librenms/snmp-scan.py does not work when running in Docker container

Looks like #7 is not fixed after all.

I get this error when setting up a fresh LibreNMS stack using Docker.
Something is missing in the container.

goran@sm1:/opt/docker/container/librenms$ docker exec -it librenms bash
bash-4.4# /opt/librenms/snmp-scan.php -r 192.168.1.0/24
bash: /opt/librenms/snmp-scan.php: No such file or directory
bash-4.4# /opt/librenms/snmp-scan.py -r 192.168.1.0/24
Could not import ipaddress module.  Please install python-ipaddress or use python3 to run this script
Debian/Ubuntu: apt install python-ipaddress
RHEL/CentOS: yum install python-ipaddress
bash-4.4# 

Installed python versions in the container:

bash-4.4# python --version
Python 2.7.15
bash-4.4# python3 --version
Python 3.6.8
bash-4.4#

My docker-compose is pretty much straight from the Github example:

  librenms:
    image: librenms/librenms:latest
    container_name: librenms
    domainname: ptarmiganlabs.net
    hostname: librenms
    depends_on:
      - db
      - memcached
      - rrdcached
    volumes:
      - "./librenms:/data"
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=30"
    env_file:
      - "./librenms.env"
    restart: always

RRD graph images are randomly failing

Behaviour

Some specific graphs are randomly showing red. This only affect some type of graphs, I saw it on those ones :

  • Mini graphs at the top right of the device profile page /device/device=1/
  • Billing quick graphs (Don't show red but as broken/invalid images) /bill/bill_id=2/
  • Poller performance page on the Total Poller Time Per Module graphs (randomly showing blank graphs) /pollers/tab=performance

( I never had this issue on non dockerized deployments in the past )

Steps to reproduce this issue

  1. Deploy LibreNMS on docker
  2. Show a device page multiple times
  3. Checks the mini graphs are the top right (Memory, CPU, Traffic)

Expected behaviour

All the graphs working fine

Actual behaviour

Graphs are randomly failing (showing red, blank or invalid images)

Configuration

  • Docker version (type docker --version) : Docker version 19.03.5, build 633a0ea838
  • Docker compose version if applicable (type docker-compose --version) : docker-compose version 1.25.0, build 0a186604
  • Platform (Debian 9, Ubuntu 18.04, ...) : Debian 9
  • Include all necessary configuration files : docker-compose.yml, .env
version: "3.5"

services:
  nginx:
    image: nginx:latest
    container_name: nginx
    depends_on:
      - librenms
    volumes:
      - "./nginx:/etc/nginx:Z"
    restart: always
    ports:
      - "80:80"
      - "443:443"
  db:
    image: mariadb:10.4
    container_name: librenms_db
    command:
      - "mysqld"
      - "--sql-mode="
      - "--innodb-file-per-table=1"
      - "--lower-case-table-names=0"
      - "--character-set-server=utf8"
      - "--collation-server=utf8_unicode_ci"
    env_file:
      - "./librenms.env"
    volumes:
      - "/var/lib/mysql:/var/lib/mysql:Z"
    environment:
      - "MYSQL_ALLOW_EMPTY_PASSWORD=no"
    restart: always

  memcached:
    image: memcached:alpine
    container_name: librenms_memcached
    restart: always

  rrdcached:
    image: crazymax/rrdcached
    container_name: librenms_rrdcached
    volumes:
      - "/var/lib/librenms/db:/data/db:Z"
      - "/var/lib/librenms/journal:/data/journal:Z"
    environment:
      - "LOG_LEVEL=LOG_DEBUG"
      - "WRITE_TIMEOUT=1800"
      - "WRITE_JITTER=1800"
      - "WRITE_THREADS=4"
      - "FLUSH_DEAD_DATA_INTERVAL=3600"
      - "DB_HOST=db"
      - "DB_TIMEOUT=60"
    restart: always

  librenms:
    image: librenms/librenms:1.58.1
    container_name: librenms
    depends_on:
      - db
      - memcached
      - rrdcached
    volumes:
      - "/var/lib/librenms:/data:Z"
      - "./ssl:/etc/ssl/:Z"
      - "./custom:/opt/librenms/includes/custom:Z"
    environment:
      - "DB_HOST=db"
      - "DB_TIMEOUT=60"
    env_file:
      - "./librenms.env"
    restart: always
    ports:
      - "8000:8000"

  cron:
    image: librenms/librenms:1.58.1
    container_name: librenms_cron
    hostname: librenms
    depends_on:
      - librenms
    volumes:
      - "/var/lib/librenms:/data:Z"
      - "./custom:/opt/librenms/includes/custom:Z"
    environment:
      - "DB_HOST=db"
      - "DB_TIMEOUT=60"
      - "SIDECAR_CRON=1"
    env_file:
      - "./librenms.env"
    restart: always

  syslog-ng:
    image: librenms/librenms:1.58.1
    container_name: librenms_syslog
    hostname: librenms
    depends_on:
      - librenms
    ports:
      - target: 514
        published: 514
        protocol: tcp
      - target: 514
        published: 514
        protocol: udp
    volumes:
      - "/var/lib/librenms:/data:Z"
      - "./custom:/opt/librenms/includes/custom:Z"
    environment:
      - "DB_HOST=db"
      - "DB_TIMEOUT=60"
      - "SIDECAR_SYSLOGNG=1"
    env_file:
      - "./librenms.env"
    restart: always
APP_DEBUG=true

TZ=UTC
MEMORY_LIMIT=256M
UPLOAD_MAX_SIZE=16M
OPCACHE_MEM_SIZE=128
REAL_IP_FROM=0.0.0.0/32
REAL_IP_HEADER=X-Forwarded-For
LOG_IP_VAR=http_x_forwarded_for

LIBRENMS_POLLER_THREADS=16
LIBRENMS_POLLER_INTERVAL=5

LIBRENMS_CRON_DISCOVERY_ENABLE=true
LIBRENMS_CRON_DAILY_ENABLE=true
LIBRENMS_CRON_ALERTS_ENABLE=true
LIBRENMS_CRON_BILLING_ENABLE=true
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE=true
LIBRENMS_CRON_CHECK_SERVICES_ENABLE=true
LIBRENMS_CRON_POLLER_ENABLE=true

LIBRENMS_SNMP_COMMUNITY=librenmsdocker
MEMCACHED_HOST=memcached
MEMCACHED_PORT=11211
RRDCACHED_HOST=rrdcached
RRDCACHED_PORT=42217

MYSQL_USER=librenms
MYSQL_PASSWORD=xxx
MYSQL_DATABASE=librenms
MYSQL_ROOT_PASSWORD=xxx


DB_USER=librenms
DB_PASSWORD=xxx
DB_NAME=librenms
<?php
$config['force_ip_to_sysname'] = true;
$config['force_hostname_to_sysname'] = true;
$config['enable_sla'] = 1;
$config['autodiscovery.bgp'] = false;
$config['autodiscovery.ospf'] = false;
$config['autodiscovery.xdp'] = false;

Docker info

Client:
 Debug Mode: false

Server:
 Containers: 7
  Running: 7
  Paused: 0
  Stopped: 0
 Images: 8
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.19.0-6-cloud-amd64
 Operating System: Debian GNU/Linux 10 (buster)
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 6.648GiB
 Name: xxx
 ID: XJV4:XVAQ:TBLK:J6QN:4MM2:YW4C:4YHW:LFLX:2A5V:BMSZ:ZAHY:6Q5N
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support

Logs

Good image: librenms     | xxx- - [05/Dec/2019:09:37:25 +0000] "GET /graph.php?height=45&width=150&to=1575538200&device=1&type=device_mempool&from=1575451800&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.0" 200 317 "https://librenms.xxx.xxx/device/device=1/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:71.0) Gecko/20100101 Firefox/71.0"
Bad image: librenms     | xxx - - [05/Dec/2019:09:38:05 +0000] "GET /graph.php?height=45&width=150&to=1575538200&device=1&type=device_mempool&from=1575451800&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.0" 200 110 "https://librenms.xxx.xxx/device/device=1/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:71.0) Gecko/20100101 Firefox/71.0"

No outputs from rrdcached, looks like it's ignoring LOG_LEVEL ?

Debug outputs

Good image (mempool)

Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-1.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-2.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-3.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-5.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-6.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-7.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-8.rrd --daemon rrdcached:42217]

graph /tmp/0PNTAodORJ83dg2e -g --alt-autoscale-max --rigid -E --start 1575451800 --end 1575538200 --width 150 --height 45 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 -c CANVAS#FFFFFF00 --only-graph --font LEGEND:7:DejaVuSansMono --font AXIS:6:DejaVuSansMono --font-render-mode normal -u 100 -l 0 -E -b 1024 COMMENT:' Min Cur Max\n' DEF:mempoolfree1=10.23.45.67/mempool-hrstorage-1.rrd:free:AVERAGE DEF:mempoolused1=10.23.45.67/mempool-hrstorage-1.rrd:used:AVERAGE CDEF:mempooltotal1=mempoolused1,mempoolused1,mempoolfree1,+,/,100,* AREA:mempooltotal1#CC000010 DEF:mempoolfree2=10.23.45.67/mempool-hrstorage-2.rrd:free:AVERAGE DEF:mempoolused2=10.23.45.67/mempool-hrstorage-2.rrd:used:AVERAGE CDEF:mempooltotal2=mempoolused2,mempoolused2,mempoolfree2,+,/,100,* AREA:mempooltotal2#008C0010 DEF:mempoolfree3=10.23.45.67/mempool-hrstorage-3.rrd:free:AVERAGE DEF:mempoolused3=10.23.45.67/mempool-hrstorage-3.rrd:used:AVERAGE CDEF:mempooltotal3=mempoolused3,mempoolused3,mempoolfree3,+,/,100,* AREA:mempooltotal3#4096EE10 DEF:mempoolfree4=10.23.45.67/mempool-hrstorage-5.rrd:free:AVERAGE DEF:mempoolused4=10.23.45.67/mempool-hrstorage-5.rrd:used:AVERAGE CDEF:mempooltotal4=mempoolused4,mempoolused4,mempoolfree4,+,/,100,* AREA:mempooltotal4#73880A10 DEF:mempoolfree5=10.23.45.67/mempool-hrstorage-6.rrd:free:AVERAGE DEF:mempoolused5=10.23.45.67/mempool-hrstorage-6.rrd:used:AVERAGE CDEF:mempooltotal5=mempoolused5,mempoolused5,mempoolfree5,+,/,100,* AREA:mempooltotal5#D01F3C10 DEF:mempoolfree6=10.23.45.67/mempool-hrstorage-7.rrd:free:AVERAGE DEF:mempoolused6=10.23.45.67/mempool-hrstorage-7.rrd:used:AVERAGE CDEF:mempooltotal6=mempoolused6,mempoolused6,mempoolfree6,+,/,100,* AREA:mempooltotal6#36393D10 DEF:mempoolfree7=10.23.45.67/mempool-hrstorage-8.rrd:free:AVERAGE DEF:mempoolused7=10.23.45.67/mempool-hrstorage-8.rrd:used:AVERAGE CDEF:mempooltotal7=mempoolused7,mempoolused7,mempoolfree7,+,/,100,* AREA:mempooltotal7#FF008410 LINE1:mempooltotal1#CC0000:'RAM ' GPRINT:mempooltotal1:MIN:%3.0lf%% GPRINT:mempooltotal1:LAST:%3.0lf%% GPRINT:mempooltotal1:MAX:%3.0lf%%\l LINE1:mempooltotal2#008C00:'RAM (Buffers) ' GPRINT:mempooltotal2:MIN:%3.0lf%% GPRINT:mempooltotal2:LAST:%3.0lf%% GPRINT:mempooltotal2:MAX:%3.0lf%%\l LINE1:mempooltotal3#4096EE:'RAM (Cache) ' GPRINT:mempooltotal3:MIN:%3.0lf%% GPRINT:mempooltotal3:LAST:%3.0lf%% GPRINT:mempooltotal3:MAX:%3.0lf%%\l LINE1:mempooltotal4#73880A:'Tmp ' GPRINT:mempooltotal4:MIN:%3.0lf%% GPRINT:mempooltotal4:LAST:%3.0lf%% GPRINT:mempooltotal4:MAX:%3.0lf%%\l LINE1:mempooltotal5#D01F3C:'Root ' GPRINT:mempooltotal5:MIN:%3.0lf%% GPRINT:mempooltotal5:LAST:%3.0lf%% GPRINT:mempooltotal5:MAX:%3.0lf%%\l LINE1:mempooltotal6#36393D:'Log ' GPRINT:mempooltotal6:MIN:%3.0lf%% GPRINT:mempooltotal6:LAST:%3.0lf%% GPRINT:mempooltotal6:MAX:%3.0lf%%\l LINE1:mempooltotal7#FF0084:'Core ' GPRINT:mempooltotal7:MIN:%3.0lf%% GPRINT:mempooltotal7:LAST:%3.0lf%% GPRINT:mempooltotal7:MAX:%3.0lf%%\l HRULE:0#999999 --daemon rrdcached:42217

command returned (150x45 OK u:0.01 s:0.01 r:0.03 )
-rw-r--r-- 1 librenms librenms 317 Dec 5 09:40 /tmp/0PNTAodORJ83dg2e graph
Runtime 0.103s
SNMP [0/0.00s]: Get[0/0.00s] Getnext[0/0.00s] Walk[0/0.00s] MySQL [3/0.00s]: Cell[1/0.00s] Row[-1/-0.00s] Rows[1/0.00s] Column[2/0.00s] Update[0/0.00s] Insert[0/0.00s] Delete[0/0.00s] RRD [7/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[7/0.00s] 

Bad image (mempool)


Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-1.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-2.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-3.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-5.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-6.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-7.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281
RRD[last 10.23.45.67/mempool-hrstorage-8.rrd --daemon rrdcached:42217]

graph /tmp/cJpJ1wToNVJ3cLwn -g --alt-autoscale-max --rigid -E --start 1575451800 --end 1575538200 --width 150 --height 45 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 -c CANVAS#FFFFFF00 --only-graph --font LEGEND:7:DejaVuSansMono --font AXIS:6:DejaVuSansMono --font-render-mode normal -u 100 -l 0 -E -b 1024 COMMENT:' Min Cur Max\n' DEF:mempoolfree1=10.23.45.67/mempool-hrstorage-1.rrd:free:AVERAGE DEF:mempoolused1=10.23.45.67/mempool-hrstorage-1.rrd:used:AVERAGE CDEF:mempooltotal1=mempoolused1,mempoolused1,mempoolfree1,+,/,100,* AREA:mempooltotal1#CC000010 DEF:mempoolfree2=10.23.45.67/mempool-hrstorage-2.rrd:free:AVERAGE DEF:mempoolused2=10.23.45.67/mempool-hrstorage-2.rrd:used:AVERAGE CDEF:mempooltotal2=mempoolused2,mempoolused2,mempoolfree2,+,/,100,* AREA:mempooltotal2#008C0010 DEF:mempoolfree3=10.23.45.67/mempool-hrstorage-3.rrd:free:AVERAGE DEF:mempoolused3=10.23.45.67/mempool-hrstorage-3.rrd:used:AVERAGE CDEF:mempooltotal3=mempoolused3,mempoolused3,mempoolfree3,+,/,100,* AREA:mempooltotal3#4096EE10 DEF:mempoolfree4=10.23.45.67/mempool-hrstorage-5.rrd:free:AVERAGE DEF:mempoolused4=10.23.45.67/mempool-hrstorage-5.rrd:used:AVERAGE CDEF:mempooltotal4=mempoolused4,mempoolused4,mempoolfree4,+,/,100,* AREA:mempooltotal4#73880A10 DEF:mempoolfree5=10.23.45.67/mempool-hrstorage-6.rrd:free:AVERAGE DEF:mempoolused5=10.23.45.67/mempool-hrstorage-6.rrd:used:AVERAGE CDEF:mempooltotal5=mempoolused5,mempoolused5,mempoolfree5,+,/,100,* AREA:mempooltotal5#D01F3C10 DEF:mempoolfree6=10.23.45.67/mempool-hrstorage-7.rrd:free:AVERAGE DEF:mempoolused6=10.23.45.67/mempool-hrstorage-7.rrd:used:AVERAGE CDEF:mempooltotal6=mempoolused6,mempoolused6,mempoolfree6,+,/,100,* AREA:mempooltotal6#36393D10 DEF:mempoolfree7=10.23.45.67/mempool-hrstorage-8.rrd:free:AVERAGE DEF:mempoolused7=10.23.45.67/mempool-hrstorage-8.rrd:used:AVERAGE CDEF:mempooltotal7=mempoolused7,mempoolused7,mempoolfree7,+,/,100,* AREA:mempooltotal7#FF008410 LINE1:mempooltotal1#CC0000:'RAM ' GPRINT:mempooltotal1:MIN:%3.0lf%% GPRINT:mempooltotal1:LAST:%3.0lf%% GPRINT:mempooltotal1:MAX:%3.0lf%%\l LINE1:mempooltotal2#008C00:'RAM (Buffers) ' GPRINT:mempooltotal2:MIN:%3.0lf%% GPRINT:mempooltotal2:LAST:%3.0lf%% GPRINT:mempooltotal2:MAX:%3.0lf%%\l LINE1:mempooltotal3#4096EE:'RAM (Cache) ' GPRINT:mempooltotal3:MIN:%3.0lf%% GPRINT:mempooltotal3:LAST:%3.0lf%% GPRINT:mempooltotal3:MAX:%3.0lf%%\l LINE1:mempooltotal4#73880A:'Tmp ' GPRINT:mempooltotal4:MIN:%3.0lf%% GPRINT:mempooltotal4:LAST:%3.0lf%% GPRINT:mempooltotal4:MAX:%3.0lf%%\l LINE1:mempooltotal5#D01F3C:'Root ' GPRINT:mempooltotal5:MIN:%3.0lf%% GPRINT:mempooltotal5:LAST:%3.0lf%% GPRINT:mempooltotal5:MAX:%3.0lf%%\l LINE1:mempooltotal6#36393D:'Log ' GPRINT:mempooltotal6:MIN:%3.0lf%% GPRINT:mempooltotal6:LAST:%3.0lf%% GPRINT:mempooltotal6:MAX:%3.0lf%%\l LINE1:mempooltotal7#FF0084:'Core ' GPRINT:mempooltotal7:MIN:%3.0lf%% GPRINT:mempooltotal7:LAST:%3.0lf%% GPRINT:mempooltotal7:MAX:%3.0lf%%\l HRULE:0#999999 --daemon rrdcached:42217

command returned (1575538500 OK u:0.01 s:0.00 r:0.00 )

graph /tmp/cJpJ1wToNVJ3cLwn -g --alt-autoscale-max --rigid -E --start 1575451800 --end 1575538200 --width 150 --height 45 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 -c CANVAS#FFFFFF00 --only-graph --font LEGEND:7:DejaVuSansMono --font AXIS:6:DejaVuSansMono --font-render-mode normal HRULE:0#555555 --title='Draw Error' --daemon rrdcached:42217

command returned (150x45 OK u:0.02 s:0.00 r:0.02 )
�PNG � IHDR�-��v���PLTE�FO&Z pHYs������+���IDAT(�c`���`�$�������IEND�B`�
Runtime 0.106s
SNMP [0/0.00s]: Get[0/0.00s] Getnext[0/0.00s] Walk[0/0.00s] MySQL [3/0.00s]: Cell[1/0.00s] Row[-1/-0.00s] Rows[1/0.00s] Column[2/0.00s] Update[0/0.00s] Insert[0/0.00s] Delete[0/0.00s] RRD [7/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[7/0.00s] 

Good image (billing)

RRD[last 10.23.45.67/port-id36.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281

Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281

graph /tmp/nXes7QxtauiI6xyy --alt-autoscale-max --rigid -E --start 1575452400 --end 1575538800 --width 1000 --height 200 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal COMMENT:'Bits/sec Current Average Maximum ' COMMENT:'\l' DEF:in0=10.21.169.17/port-id36.rrd:INOCTETS:AVERAGE DEF:out0=10.21.169.17/port-id36.rrd:OUTOCTETS:AVERAGE CDEF:inB0=in0,8,* CDEF:outB0=out0,8,* CDEF:outB0_neg=outB0,-1,* CDEF:octets0=inB0,outB0,+ AREA:inB0#B6D14B:'Eth36 In' GPRINT:inB0:LAST:%6.2lf%sbps GPRINT:inB0:AVERAGE:%6.2lf%sbps GPRINT:inB0:MAX:%6.2lf%sbps\l 'HRULE:0#A0A0E5: Out' GPRINT:outB0:LAST:%6.2lf%sbps GPRINT:outB0:AVERAGE:%6.2lf%sbps GPRINT:outB0:MAX:%6.2lf%sbps\l 'COMMENT:\l' COMMENT:'\r' HRULE:4859112256.43#cc0000:'95th %ile \: 4.86 Gbps (out) (CDR\: 5 Gbps)' HRULE:-4859112256.43#cc0000 'AREA:outB0_neg#A0A0E5:' HRULE:0#999999 --daemon rrdcached:42217

command returned (1081x311 OK u:0.05 s:0.02 r:0.07 )
-rw-r--r-- 1 librenms librenms 27046 Dec 5 09:48 /tmp/nXes7QxtauiI6xyy graph
Runtime 0.140s
SNMP [0/0.00s]: Get[0/0.00s] Getnext[0/0.00s] Walk[0/0.00s] MySQL [5/0.00s]: Cell[3/0.00s] Row[-1/0.00s] Rows[-1/-0.00s] Column[4/0.00s] Update[0/0.00s] Insert[0/0.00s] Delete[0/0.00s] RRD [1/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[1/0.00s] 

Bad image (billing)

RRD[last 10.23.45.67/port-id36.rrd --daemon rrdcached:42217]
Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281

Warning: substr_count(): Invalid length value in /opt/librenms/includes/rrdtool.inc.php on line 281

graph /tmp/EN6M8IQNPFAn5oki --alt-autoscale-max --rigid -E --start 1575452400 --end 1575538800 --width 1000 --height 200 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal COMMENT:'Bits/sec Current Average Maximum ' COMMENT:'\l' DEF:in0=10.23.45.67/port-id36.rrd:INOCTETS:AVERAGE DEF:out0=10.23.45.67/port-id36.rrd:OUTOCTETS:AVERAGE CDEF:inB0=in0,8,* CDEF:outB0=out0,8,* CDEF:outB0_neg=outB0,-1,* CDEF:octets0=inB0,outB0,+ AREA:inB0#B6D14B:'Eth36 In' GPRINT:inB0:LAST:%6.2lf%sbps GPRINT:inB0:AVERAGE:%6.2lf%sbps GPRINT:inB0:MAX:%6.2lf%sbps\l 'HRULE:0#A0A0E5: Out' GPRINT:outB0:LAST:%6.2lf%sbps GPRINT:outB0:AVERAGE:%6.2lf%sbps GPRINT:outB0:MAX:%6.2lf%sbps\l 'COMMENT:\l' COMMENT:'\r' HRULE:4859112256.43#cc0000:'95th %ile \: 4.86 Gbps (out) (CDR\: 5 Gbps)' HRULE:-4859112256.43#cc0000 'AREA:outB0_neg#A0A0E5:' HRULE:0#999999 --daemon rrdcached:42217

command returned (OK u:0.00 s:0.01 r:0.00 )

graph /tmp/EN6M8IQNPFAn5oki --alt-autoscale-max --rigid -E --start 1575452400 --end 1575538800 --width 1000 --height 200 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal HRULE:0#555555 --title='Error Drawing Graph' --daemon rrdcached:42217

command returned (1081x311 OK u:0.06 s:0.01 r:0.06 )

Runtime 0.159s
SNMP [0/0.00s]: Get[0/0.00s] Getnext[0/0.00s] Walk[0/0.00s] MySQL [5/0.00s]: Cell[3/0.00s] Row[-1/0.00s] Rows[-1/-0.00s] Column[4/0.00s] Update[0/0.00s] Insert[0/0.00s] Delete[0/0.00s] RRD [1/0.01s]: Update[0/0.00s] Create [0/0.00s] Other[1/0.01s] 

Enable weathermap plugin.

Hello !

I’m trying to install weathermap on docker.

First for all who want to try, you must add the packet php7-mysqli. Weathermap internal needs this dep.

I followed docs on a fresh install, it works.
But when trying in docker, the editor works but it can’t generate maps in output folder.

How to:

  • install properly plugin in docker image ?
  • run cron on side-car?

Thanks for all your work.
Sk4mi.

Cron: unable to launch a new process on Kubernetes

Behaviour

randomly error in sidecar cron container: Unable to launch a new process

Configuration

  • run librenms in kubernetes

Docker info

$ kubectl get nodes -o wide
NAME           STATUS   ROLES               AGE   VERSION   INTERNAL-IP    EXTERNAL-IP   OS-IMAGE           KERNEL-VERSION     CONTAINER-RUNTIME
10.35.20.201   Ready    worker              57m   v1.14.6   10.35.20.201   <none>        RancherOS v1.5.4   4.14.138-rancher   docker://18.6.1

Logs

[2020-01-16 10:50:43] production.ERROR: Unable to launch a new process. {"exception":"[object] (Symfony\\Component\\Process\\Exception\\RuntimeException(code: 0): Unable to launch a new process. at /opt/librenms/vendor/symfony/process/Process.php:340)
[stacktrace]
#0 /opt/librenms/vendor/symfony/process/Process.php(234): Symfony\\Component\\Process\\Process->start(NULL, Array)
#1 /opt/librenms/includes/snmp.inc.php(365): Symfony\\Component\\Process\\Process->run()
#2 /opt/librenms/includes/functions.php(634): snmp_check(Array)
#3 /opt/librenms/includes/functions.php(2225): isSNMPable(Array)
#4 /opt/librenms/includes/polling/functions.inc.php(278): device_is_up(Array, true)
#5 /opt/librenms/poller.php(174): poll_device(Array, false)
#6 {main}
"}
Error in mempools module. The process has been signaled with signal "9".
#0 /opt/librenms/vendor/symfony/process/Process.php(236): Symfony\Component\Process\Process->wait()
#1 /opt/librenms/includes/common.php(119): Symfony\Component\Process\Process->run()
#2 /opt/librenms/includes/snmp.inc.php(382): external_exec(Array)
#3 /opt/librenms/includes/snmp.inc.php(460): snmp_walk(Array, 'hpGlobal', '-OQUs', 'NETSWITCH-MIB', 'hp')
#4 /opt/librenms/includes/polling/mempools/hpGlobal.inc.php(11): snmpwalk_cache_oid(Array, 'hpGlobal', NULL, 'NETSWITCH-MIB', 'hp')
#5 /opt/librenms/includes/polling/mempools.inc.php(13): include('/opt/librenms/i...')
#6 /opt/librenms/includes/polling/functions.inc.php(306): include('/opt/librenms/i...')
#7 /opt/librenms/poller.php(174): poll_device(Array, false)
#8 {main}

Error in ports module. Command failed: /usr/bin/rrdtool -

Nginx error init in latest Librenms image

Behaviour

Steps to reproduce this issue

  1. Deploy librenms docker stack in swarm

Expected behaviour

Librenms work

Actual behaviour

Librenms stuck in nginx init

Configuration

  • Docker version (type docker --version) : Docker version 19.03.5, build 633a0ea
  • Docker compose version if applicable (type docker-compose --version) : docker-compose version 1.18.0, build 8dd22a9
  • Platform (Debian 9, Ubuntu 18.04, ...) : CentOS Linux release 7.7.1908 (Core)
  • Include all necessary configuration files : docker-compose.yml, .env, ...

Docker info

> $ docker info
Client:
 Debug Mode: false

Server:
 Containers: 30
  Running: 30
  Paused: 0
  Stopped: 0
 Images: 27
 Server Version: 19.03.5
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: active
  NodeID: 35bmnedggppgoe70k4nawsqbo
  Is Manager: true
  ClusterID: rbbrl5czopts3larqz5bstn7t
  Managers: 4
  Nodes: 10
  Default Address Pool: 10.0.0.0/8  
  SubnetSize: 24
  Data Path Port: 4789
  Orchestration:
   Task History Retention Limit: 5
  Raft:
   Snapshot Interval: 10000
   Number of Old Snapshots to Retain: 0
   Heartbeat Tick: 1
   Election Tick: 10
  Dispatcher:
   Heartbeat Period: 5 seconds
  CA Configuration:
   Expiry Duration: 3 months
   Force Rotate: 0
  Autolock Managers: false
  Root Rotation In Progress: false
  Node Address: 192.168.20.61
  Manager Addresses:
   192.168.20.200:2377
   192.168.20.201:2377
   192.168.20.202:2377
   192.168.20.61:2377
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.4.207-1.el7.elrepo.x86_64
 Operating System: CentOS Linux 7 (Core)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 31.33GiB
 Name: docker.example.com
 ID: ZNOC:6X2N:4ID7:F3C3:YN3P:FMKH:QU4Y:MH74:L547:37PB:QQRG:ERUB
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: true
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: bridge-nf-call-ip6tables is disabled

Logs

> [email protected]    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[email protected]    | [s6-init] ensuring user provided files have correct perms...exited 0.
[email protected]    | [fix-attrs.d] applying ownership & permissions fixes...
[email protected]    | [fix-attrs.d] done.
[email protected]    | [cont-init.d] executing container initialization scripts...
[email protected]    | [cont-init.d] 00-fix-logs.sh: executing... 
[email protected]    | [cont-init.d] 00-fix-logs.sh: exited 0.
[email protected]    | [cont-init.d] 01-fix-uidgid.sh: executing... 
[email protected]    | [cont-init.d] 01-fix-uidgid.sh: exited 0.
[email protected]    | [cont-init.d] 02-fix-perms.sh: executing... 
[email protected]    | Fixing perms...
[email protected]    | [cont-init.d] 02-fix-perms.sh: exited 0.
[email protected]    | [cont-init.d] 03-config.sh: executing... 
[email protected]    | Setting timezone to Europe/Paris...
[email protected]    | Setting PHP-FPM configuration...
[email protected]    | Setting PHP INI configuration...
[email protected]    | Setting OpCache configuration...
[email protected]    | Setting Nginx configuration...
[email protected]    | Updating SNMP community...
[email protected]    | Initializing LibreNMS files / folders...
[email protected]    | Setting LibreNMS configuration...
[email protected]    | Fixing perms...
[email protected]    | Checking additional Monitoring plugins...
[email protected]    | [cont-init.d] 03-config.sh: exited 0.
[email protected]    | [cont-init.d] 04-svc-main.sh: executing... 
[email protected]    | Waiting 60s for database to be ready...
[email protected]    | Database ready!
[email protected]    | Updating database schema...
[email protected]    | Nothing to migrate.
[email protected]    | [cont-init.d] 04-svc-main.sh: exited 0.
[email protected]    | [cont-init.d] 05-svc-cron.sh: executing... 
[email protected]    | [cont-init.d] 05-svc-cron.sh: exited 0.
[email protected]    | [cont-init.d] 06-svc-syslogng.sh: executing... 
[email protected]    | [cont-init.d] 06-svc-syslogng.sh: exited 0.
[email protected]    | [cont-init.d] done.
[email protected]    | [services.d] starting services
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)
[email protected]    | [services.d] done.
[email protected]    | [08-Jan-2020 08:09:25] NOTICE: fpm is running, pid 339
[email protected]    | [08-Jan-2020 08:09:25] NOTICE: ready to handle connections
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)
[email protected]    | nginx: [emerg] mkdir() "/var/tmp/nginx/client_body" failed (13: Permission denied)

Troubleshooting

  1. Log in actual running container : docker exec -ti b83706c85095 bash
  2. Check permissions of /var/tmp/nginx : librenms:users 700
  3. Nginx user is not able to write in this directory
  4. Trying to add nginx user to users group and give write permission in folder... no luck 👎
  5. Manually create :
    /var/tmp/nginx/client_body
    /var/tmp/nginx/proxy
    /var/tmp/nginx/fastcgi
    /var/tmp/nginx/uwsgi
    /var/tmp/nginx/scgi
  6. Change ownership to librenms:users recursively to previous folder
  7. nginx start 👍 and I can access to librenms
  8. nothing is created in previous directory, seems that they must exist for nginx to start...

Related issue linuxserver/docker-letsencrypt#67

They suggest to change tmp folder in nginx conf

not binding ipv6

if we could add 2nd listener to nginx [::]:80 to accept ipv6 connections, would be great.
any variant of this:
#27

thx

Whoops, looks like something went wrong. Check your librenms.log.

Hi!

Installing LibreNMS for the first time as a container, so likely something obvious I've missed.
I initially got the 404 error mentioned elsewhere, but fixed that.
Now I get a bit further and get the LibreNMS page stating that something went wrong.
I've checked librenms.log and there's nothing.

Here's the output from docker-compose logs -f while starting :

Attaching to librenms_db, librenms_smtp, traefik, librenms_rrdcached, librenms_memcached
traefik      | time="2019-06-12T06:25:37Z" level=info msg="Traefik version v1.7.12 built on 2019-05-29_07:35:02PM"
traefik      | time="2019-06-12T06:25:37Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/basics/#collected-data\n"
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:0xc0005ca180 Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc00065c080} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Preparing server https &{Address::443 TLS:0xc000478b40 Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc00065c180} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Starting server on :80"
rrdcached_1  | Setting timezone to America/Los_Angeles...
rrdcached_1  | Checking if rrdcached UID / GID has changed...
rrdcached_1  | Initializing LibreNMS files / folders...
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Fixing permissions...
rrdcached_1  | starting up
rrdcached_1  | setgid(1000) succeeded
rrdcached_1  | setuid(1000) succeeded
rrdcached_1  | checking for journal files
rrdcached_1  | journal processing complete
rrdcached_1  | listening for connections
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] mysqld (mysqld 10.2.24-MariaDB-1:10.2.24+maria~bionic) starting as process 1 ...
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] InnoDB: Uses event mutexes
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] InnoDB: Using Linux native AIO
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] InnoDB: Number of pools: 1
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] InnoDB: Using SSE2 crc32 instructions
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Starting server on :443"
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Starting provider *docker.Provider {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Trace\":false,\"TemplateVersion\":2,\"DebugLogGeneratedTemplate\":false,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"intranet.dassic.com\",\"TLS\":null,\"ExposedByDefault\":false,\"UseBindPortIP\":false,\"SwarmMode\":false,\"Network\":\"\",\"SwarmModeRefreshSeconds\":15}"
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Starting provider *acme.Provider {\"Email\":\"[email protected]\",\"ACMELogging\":true,\"CAServer\":\"https://acme-v02.api.letsencrypt.org/directory\",\"Storage\":\"acme.json\",\"EntryPoint\":\"https\",\"KeyType\":\"\",\"OnHostRule\":true,\"OnDemand\":false,\"DNSChallenge\":null,\"HTTPChallenge\":{\"EntryPoint\":\"http\"},\"TLSChallenge\":null,\"Domains\":null,\"Store\":{}}"
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Testing certificate renew..."
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] InnoDB: Completed initialization of buffer pool
db_1         | 2019-06-11 23:25:38 139764008281856 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1         | 2019-06-11 23:25:38 139764735935808 [Note] InnoDB: Highest supported file format is Barracuda.
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-06-12T06:25:38Z" level=info msg="Server configuration reloaded on :443"
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] InnoDB: 128 out of 128 rollback segments are active.
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] InnoDB: 5.7.26 started; log sequence number 4481943
db_1         | 2019-06-11 23:25:39 139763713558272 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] Plugin 'FEEDBACK' is disabled.
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] Server socket created on IP: '::'.
db_1         | 2019-06-11 23:25:39 139764735935808 [Warning] 'proxies_priv' entry '@% root@4c75ee35f5d9' ignored in --skip-name-resolve mode.
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] Reading of all Master_info entries succeded
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] Added new Master_info '' to hash table
db_1         | 2019-06-11 23:25:39 139764735935808 [Note] mysqld: ready for connections.
db_1         | Version: '10.2.24-MariaDB-1:10.2.24+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
traefik      | time="2019-06-12T06:25:39Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-06-12T06:25:39Z" level=info msg="Server configuration reloaded on :443"
librenms     | Setting timezone to America/Los_Angeles...
librenms     | Checking if librenms UID / GID has changed...
librenms     | Setting PHP-FPM configuration...
librenms     | Setting PHP INI configuration...
librenms     | Setting OpCache configuration...
librenms     | Setting Nginx configuration...
librenms     | Updating SNMP community...
librenms     | Initializing LibreNMS files / folders...
librenms     | Setting LibreNMS configuration...
librenms     | Fixing permissions...
librenms     | Checking additional Monitoring plugins...
librenms     | Waiting 30s for database to be ready...
librenms     | Database ready!
librenms     | Updating database schema...
librenms     | Nothing to migrate.
librenms     | 2019-06-11 23:25:40,984 INFO Included extra file "/etc/supervisord/nginx.conf" during parsing
librenms     | 2019-06-11 23:25:40,984 INFO Included extra file "/etc/supervisord/php.conf" during parsing
librenms     | 2019-06-11 23:25:40,984 INFO Included extra file "/etc/supervisord/snmpd.conf" during parsing
librenms     | 2019-06-11 23:25:40,984 INFO Set uid to user 0 succeeded
librenms     | 2019-06-11 23:25:40,998 INFO RPC interface 'supervisor' initialized
librenms     | 2019-06-11 23:25:40,999 CRIT Server 'unix_http_server' running without any HTTP authentication checking
librenms     | 2019-06-11 23:25:40,999 INFO supervisord started with pid 1
db_1         | 2019-06-11 23:25:41 139763713558272 [Note] InnoDB: Buffer pool(s) load completed at 190611 23:25:41
librenms_smtp exited with code 1
librenms     | 2019-06-11 23:25:42,002 INFO spawned: 'nginx' with pid 52
librenms     | 2019-06-11 23:25:42,004 INFO spawned: 'php' with pid 53
librenms     | 2019-06-11 23:25:42,006 INFO spawned: 'snmpd' with pid 54
librenms     | 2019/06/11 23:25:42 [notice] 52#52: using the "epoll" event method
librenms     | 2019/06/11 23:25:42 [notice] 52#52: nginx/1.14.2
librenms     | 2019/06/11 23:25:42 [notice] 52#52: OS: Linux 3.10.0-957.21.2.el7.x86_64
librenms     | 2019/06/11 23:25:42 [notice] 52#52: getrlimit(RLIMIT_NOFILE): 1048576:1048576
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker processes
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 55
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 56
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 57
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 58
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 59
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 60
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 61
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 63
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 72
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 88
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 104
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 130
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 152
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 174
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 187
librenms     | 2019/06/11 23:25:42 [notice] 52#52: start worker process 199
librenms     | [11-Jun-2019 23:25:42] NOTICE: fpm is running, pid 53
librenms     | [11-Jun-2019 23:25:42] NOTICE: ready to handle connections
librenms     | 2019-06-11 23:25:43,071 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
librenms     | 2019-06-11 23:25:43,072 INFO success: php entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
librenms     | 2019-06-11 23:25:43,072 INFO success: snmpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
librenms_syslog | Setting timezone to America/Los_Angeles...
librenms_syslog | Checking if librenms UID / GID has changed...
librenms_syslog | Setting PHP-FPM configuration...
librenms_syslog | Setting PHP INI configuration...
librenms_syslog | Setting OpCache configuration...
librenms_syslog | Setting Nginx configuration...
librenms_syslog | Updating SNMP community...
librenms_syslog | Initializing LibreNMS files / folders...
librenms_syslog | Setting LibreNMS configuration...
librenms_syslog | Fixing permissions...
librenms_syslog | Checking additional Monitoring plugins...
librenms_syslog | >>
librenms_syslog | >> Sidecar syslog-ng container detected
librenms_syslog | >>
cron_1       | Setting timezone to America/Los_Angeles...
cron_1       | Checking if librenms UID / GID has changed...
cron_1       | Setting PHP-FPM configuration...
cron_1       | Setting PHP INI configuration...
cron_1       | Setting OpCache configuration...
cron_1       | Setting Nginx configuration...
cron_1       | Updating SNMP community...
cron_1       | Initializing LibreNMS files / folders...
cron_1       | Setting LibreNMS configuration...
cron_1       | Fixing permissions...
librenms_syslog | 2019-06-11 23:25:43,424 INFO Included extra file "/etc/supervisord/syslog-ng.conf" during parsing
librenms_syslog | 2019-06-11 23:25:43,424 INFO Set uid to user 0 succeeded
librenms_syslog | 2019-06-11 23:25:43,433 INFO RPC interface 'supervisor' initialized
librenms_syslog | 2019-06-11 23:25:43,433 CRIT Server 'unix_http_server' running without any HTTP authentication checking
librenms_syslog | 2019-06-11 23:25:43,433 INFO supervisord started with pid 1
traefik      | time="2019-06-12T06:25:43Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-06-12T06:25:43Z" level=info msg="Server configuration reloaded on :443"
traefik      | time="2019-06-12T06:25:43Z" level=info msg="The key type is empty. Use default key type 4096."
cron_1       | Checking additional Monitoring plugins...
cron_1       | >>
cron_1       | >> Sidecar cron container detected
cron_1       | >>
cron_1       | Fixing crontab permissions...
cron_1       | 2019-06-11 23:25:43,815 INFO Included extra file "/etc/supervisord/cron.conf" during parsing
cron_1       | 2019-06-11 23:25:43,815 INFO Set uid to user 0 succeeded
cron_1       | 2019-06-11 23:25:43,824 INFO RPC interface 'supervisor' initialized
cron_1       | 2019-06-11 23:25:43,825 CRIT Server 'unix_http_server' running without any HTTP authentication checking
cron_1       | 2019-06-11 23:25:43,825 INFO supervisord started with pid 1
librenms_syslog | 2019-06-11 23:25:44,436 INFO spawned: 'syslog-ng' with pid 39
librenms_syslog | [2019-06-11T23:25:44.445635] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.19 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file.;
librenms_syslog | [2019-06-11T23:25:44.449226] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!;
librenms_smtp exited with code 1
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
traefik      | time="2019-06-12T06:25:44Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-06-12T06:25:44Z" level=info msg="Skipping same configuration for provider docker"
cron_1       | 2019-06-11 23:25:44,828 INFO spawned: 'cron' with pid 45
cron_1       | crond: crond (busybox 1.29.3) started, log level 8
traefik      | time="2019-06-12T06:25:45Z" level=info msg="Server configuration reloaded on :443"
traefik      | time="2019-06-12T06:25:45Z" level=info msg="Server configuration reloaded on :80"
librenms_syslog | 2019-06-11 23:25:45,449 INFO success: syslog-ng entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
cron_1       | 2019-06-11 23:25:45,836 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
librenms_smtp exited with code 1
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
traefik      | time="2019-06-12T06:25:47Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-06-12T06:25:47Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-06-12T06:25:48Z" level=info msg=Register...
traefik      | time="2019-06-12T06:25:48Z" level=info msg="legolog: [INFO] acme: Registering account for [email protected]"
traefik      | time="2019-06-12T06:25:48Z" level=error msg="Unable to obtain ACME certificate for domains \"dali.intranet.dassic.com\" detected thanks to rule \"Host:dali.intranet.dassic.com\" : cannot get ACME client acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-acct :: urn:ietf:params:acme:error:invalidEmail :: Error creating new account :: invalid contact domain. Contact emails @example.com are forbidden, url: "
traefik      | time="2019-06-12T06:25:50Z" level=info msg="Skipping same configuration for provider docker"
librenms_smtp exited with code 1
traefik      | time="2019-06-12T06:25:51Z" level=info msg="Skipping same configuration for provider docker"
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
traefik      | time="2019-06-12T06:25:57Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-06-12T06:25:57Z" level=info msg="Skipping same configuration for provider docker"
cron_1       | crond: USER librenms pid  46 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
traefik      | time="2019-06-12T06:26:11Z" level=info msg="Skipping same configuration for provider docker"
librenms_smtp exited with code 1
traefik      | time="2019-06-12T06:26:11Z" level=info msg="Skipping same configuration for provider docker"
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
traefik      | time="2019-06-12T06:26:38Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-06-12T06:26:38Z" level=info msg="Skipping same configuration for provider docker"
cron_1       | crond: USER librenms pid  47 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
librenms_smtp exited with code 1
traefik      | time="2019-06-12T06:27:30Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-06-12T06:27:30Z" level=info msg="Skipping same configuration for provider docker"
cron_1       | crond: USER librenms pid  48 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
librenms     | 10.0.0.41 - - [11/Jun/2019:23:28:41 -0700] "GET / HTTP/1.1" 500 5020 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
librenms     | - -  11/Jun/2019:23:28:41 -0700 "GET /index.php" 500
cron_1       | crond: USER librenms pid  49 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
smtp_1       | SMTP_PASSWORD is not set
traefik      | time="2019-06-12T06:29:13Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-06-12T06:29:13Z" level=info msg="Skipping same configuration for provider docker"

Some graphs, error drawing, but not all in Docker env.

Behaviour

I have two librenms servers, one setup is in docker, and sec on Ubuntu 18.04 LTS

In docker env, when I add DCN switch, I have no graphs:
And errors:

Two other switches works okey.

On Ubuntu 18.04 setup all tree switches graphs ok.

Configuration

docker-compose, .env and librenms.env are from examples/compose

only difference is PGID/UGID=6000 (but on 1000 not working as well)

Docker version 19.03.8, build afacb8b7f0

Docker info

Client:
Debug Mode: false

Server:
Containers: 7
Running: 7
Paused: 0
Stopped: 0
Images: 5
Server Version: 19.03.8
Storage Driver: overlay2
Backing Filesystem:
Supports d_type: true
Native Overlay Diff: true
Logging Driver: journald
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.15.0-91-generic
Operating System: Ubuntu 18.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.789GiB
Name: libre
ID: QA7J:PETE:EKWG:C7AY:KYGD:27JN:U3EG:NWUZ:P3DZ:2DAY:44W7:DLB5
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

Logs

librenms_rrdcached | rrdcreate request for /data/db/10.153.0.155/uptime.rrd
librenms_rrdcached | handle_request_update: stat (/data/db/10.153.0.155/uptime.rrd) failed.
librenms_rrdcached | rrdcreate request for /data/db/10.153.0.155/poller-perf-core.rrd
librenms_rrdcached | handle_request_update: stat (/data/db/10.153.0.155/poller-perf-core.rrd) failed.
librenms_rrdcached | rrdcreate request for /data/db/10.153.0.155/poller-perf-os.rrd
librenms_rrdcached | handle_request_update: stat (/data/db/10.153.0.155/poller-perf-os.rrd) failed.
librenms_rrdcached | rrdcreate request for /data/db/10.153.0.155/poller-perf-ipmi.rrd
librenms_rrdcached | handle_request_update: stat (/data/db/10.153.0.155/poller-perf-ipmi.rrd) failed.
librenms_rrdcached | rrdcreate request for /data/db/10.153.0.155/poller-perf-sensors.rrd
librenms_rrdcached | handle_request_update: stat (/data/db/10.153.0.155/poller-perf-sensors.rrd) failed.
librenms_rrdcached | rrdcreate request for /data/db/10.153.0.155/processor-dcn-software-0.rrd
librenms_rrdcached | handle_request_update: stat (/data/db/10.153.0.155/processor-dcn-software-0.rrd) failed.
librenms_rrdcached | rrdcreate request for /data/db/10.153.0.155/poller-perf-processors.rrd
librenms_rrdcached | handle_request_update: stat (/data/db/10.153.0.155/poller-perf-processors.rrd) failed.
rrdtool graph /tmp/Wo7whAJ1sc6MFCmH  -g --alt-autoscale-max --rigid -E --start 1585145100 --end 1585231500 --width 1656 --height 553 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal COMMENT:'                        Now       Avg      Max' COMMENT:'     Total' COMMENT:' 	    P Avg    P Max' COMMENT:'   P Total' COMMENT:'\n' CDEF:inBX= CDEF:outBX= CDEF:octetsX=inBX,outBX,+ CDEF:doutBX=outBX,-1,* CDEF:inbitsX=inBX,8,* CDEF:outbitsX=outBX,8,* CDEF:bitsX=inbitsX,outbitsX,+ CDEF:doutbitsX=doutBX,8,* VDEF:percentile_inX=inbitsX,95,PERCENT VDEF:percentile_outX=outbitsX,95,PERCENT CDEF:dpercentile_outXn=doutbitsX,-1,* VDEF:dpercentile_outXperc=dpercentile_outXn,95,PERCENT CDEF:dpercentile_outXnd=doutbitsX,doutbitsX,-,dpercentile_outXperc,-1,*,+ VDEF:dpercentile_outXpercn=dpercentile_outXnd,FIRST VDEF:totinX=inBX,TOTAL VDEF:aveinX=inbitsX,AVERAGE VDEF:totoutX=outBX,TOTAL VDEF:aveoutX=outbitsX,AVERAGE VDEF:totX=octetsX,TOTAL AREA:inbitsX#99999999: LINE1.25:inbitsX#666666: CDEF:inB= CDEF:outB= CDEF:octets=inB,outB,+ CDEF:doutB=outB,-1,* CDEF:inbits=inB,8,* CDEF:outbits=outB,8,* CDEF:bits=inbits,outbits,+ CDEF:doutbits=doutB,8,* VDEF:percentile_in=inbits,95,PERCENT VDEF:percentile_out=outbits,95,PERCENT CDEF:dpercentile_outn=doutbits,-1,* VDEF:dpercentile_outnp=dpercentile_outn,95,PERCENT CDEF:dpercentile_outnpn=doutbits,doutbits,-,dpercentile_outnp,-1,*,+ VDEF:dpercentile_out=dpercentile_outnpn,FIRST VDEF:totin=inB,TOTAL VDEF:avein=inbits,AVERAGE VDEF:totout=outB,TOTAL VDEF:aveout=outbits,AVERAGE VDEF:tot=octets,TOTAL COMMENT:' \n' HRULE:999999999999999#FFFFFF:'Total          In ' GPRINT:inbits:LAST:%6.2lf%s GPRINT:inbits:AVERAGE:%6.2lf%s GPRINT:inbits:MAX:%6.2lf%s GPRINT:totin:%6.2lf%sB COMMENT:'\n' HRULE:999999999999990#FFFFFF:'               Out' GPRINT:outbits:LAST:%6.2lf%s GPRINT:outbits:AVERAGE:%6.2lf%s GPRINT:outbits:MAX:%6.2lf%s GPRINT:totout:%6.2lf%sB COMMENT:'\n' HRULE:999999999999990#FFFFFF:'               Agg' GPRINT:bits:LAST:%6.2lf%s GPRINT:bits:AVERAGE:%6.2lf%s GPRINT:bits:MAX:%6.2lf%s GPRINT:tot:%6.2lf%sB COMMENT:'\n' COMMENT:' \n' COMMENT:' 						' HRULE:999999999999999#FFFFFF:'Perv Total     In '		 GPRINT:inbitsX:AVERAGE:%6.2lf%s GPRINT:inbitsX:MAX:%6.2lf%s GPRINT:totinX:%6.2lf%sB COMMENT:'\n' COMMENT:' 						' HRULE:999999999999990#FFFFFF:'               Out'		 GPRINT:outbitsX:AVERAGE:%6.2lf%s GPRINT:outbitsX:MAX:%6.2lf%s GPRINT:totoutX:%6.2lf%sB COMMENT:'\n' COMMENT:' 						' HRULE:999999999999990#FFFFFF:'               Agg'		 GPRINT:bitsX:AVERAGE:%6.2lf%s GPRINT:bitsX:MAX:%6.2lf%s GPRINT:totX:%6.2lf%sB COMMENT:'\n' AREA:doutbitsX#99999999: LINE1.25:doutbitsX#666666: HRULE:0#999999 --daemon rrdcached:42217
RRDTool Output

ERROR: can not parse an empty rpn expression

/tmp/Wo7whAJ1sc6MFCmH not exists.

====================================
Component | Version
--------- | -------
LibreNMS  | 1.61
DB Schema | 2020_02_10_223323_create_alert_location_map_table (159)
PHP       | 7.3.14
MySQL     | 10.2.31-MariaDB-1:10.2.31+maria~bionic
RRDTool   | 1.7.2
SNMP      | NET-SNMP 5.8
====================================

[OK]    Installed from the official Docker image; no Composer required
[OK]    Database connection successful
[OK]    Database schema correct
[WARN]  IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN]  Updates are managed through the official Docker image

Missing memcache python module

When running a distributed poller setup, pollers are not distributing as they should due to missing the memcache python module:

ERROR: missing memcache python module:
On deb systems: apt-get install python-memcache
On other systems: easy_install python-memcached
Disabling distributed poller.

external ip required but not documented

Behaviour

It is not documented that you need an externally resolvable DNS name for ACME to work correctly and in addition to this, the IP that resolves must be reachable from the outside in

If this can be changed in some way, easily, please let me know and I will submit a pull request

Steps to reproduce this issue

  1. Follow instructions
  2. Set some random hostname for hostname settings
  3. Make sure domain matches what you set in #2 (for continuity)
  4. docker-compose up -d
  5. Navigate to your hostname
  6. 404 error

First error was NXDOMAIN even though I could resolve it while on the container. Realized then it was ACME web service spitting out the NXDOMAIN

Second was adding the domain name to be resolvable outside but then ACME didnt like that I was using an internal IP

Third was opening firewall rules and creating a NAT just for this

An internal IP should at least be reasonable. It shouldnt involve this many separate external units to get working additionally no documentation to support. I needed to make updates to firewall, NAT's, and DNS to make this work

Expected behaviour

Tell me what should happen

Librenms should load, regardless if ACME was able to generate a cert or not

Actual behaviour

Tell me what happens instead

404 page not found with ACME errors in traefik logs

Configuration

  • Docker version (type docker --version) :
  • Docker compose version if applicable (type docker-compose --version) :
  • Platform (Debian 9, Ubuntu 18.04, ...) :
  • Include all necessary configuration files : docker-compose.yml, .env, ...

Docker info

> Output of command `docker info`

Logs

> time="2019-08-13T22:50:11Z" level=info msg="legolog: [INFO] Unable to deactivate the authorization: https://acme-v02.api.letsencrypt.org/acme/authz/VucPmcgT3SNA9aaeFtt6b3c-P72sDmaDnX68qyokl8Q"
time="2019-08-13T22:50:11Z" level=error msg="Unable to obtain ACME certificate for domains \"nms01.mydomain.com\" detected thanks to rule \"Host:nms01.mydomain.com\" : unable to generate a certificate for the domains [nms01.mydomain.com]: acme: Error -> One or more domains had a problem:\n[nms01.mydomain.com] acme: error: 400 :: urn:ietf:params:acme:error:connection :: Fetching http://nms01.mydomain.com/.well-known/acme-challenge/9TDG1jFz_LqkBQa33d9Rg12k5aLZiUjl0T-on5vb6SA: Timeout during connect (likely firewall problem), url: \n"
time="2019-08-13T22:50:22Z" level=info msg="Skipping same configuration for provider d

and

time="2019-08-13T22:46:20Z" level=error msg="Unable to obtain ACME certificate for domains \"nms01.mydomain.com\" detected thanks to rule \"Host:nms01.mydomain.com\" : unable to generate a certificate for the domains [nms01.mydomain.com]: acme: Error -> One or more domains had a problem:\n[nms01.mydomain.com] acme: error: 400 :: urn:ietf:params:acme:error:connection :: unknownHost :: No valid IP addresses found for nms01.mydomain.com, url: \n"

and

time="2019-08-13T22:36:43Z" level=info msg="legolog: [INFO] Unable to deactivate the authorization: https://acme-v02.api.letsencrypt.org/acme/authz/IbJNFPoMMUIB2PeLgOvBYUaw0hlSKrJB3bLeL3U2Tp8"
time="2019-08-13T22:36:43Z" level=error msg="Unable to obtain ACME certificate for domains \"nms01.mydomain.com\" detected thanks to rule \"Host:nms01.mydomain.com\" : unable to generate a certificate for the domains [nms01.mydomain.com]: acme: Error -> One or more domains had a problem:\n[nms01.mydomain.com] acme: error: 400 :: urn:ietf:params:acme:error:connection :: dns :: DNS problem: NXDOMAIN looking up A for nms01.mydomain.com, url: \n"


Give example cluster (swarm/k8s) deployment

By @jsenecal

It would be nice if you added an example docker-compose.yml suitable for docker in swarm mode.

This should also provide separate web and poller using rrdcache and memcache for rrd storage and poller state exchange (already available, though I cannot figure how you are configuring them in the "app" service).

I'm currently running something like this docker-compose.yml file with most of the librenms stuff from the other available image

librenms docker-compose.yml doesn't work on Windows (10)

The default docker-compose.yml in the examples folder does NOT work on Windows (10). When running docker-compose up it errors out for every volume specification in the docker-compose.yml file with Cannot create container for service ${SERVICE_NAME}: invalid volume specification
Here's just one of the errors, it happens with all of the "volume" configs in the docker-compose.yml file:

ERROR: for librenms_rrdcached  Cannot create container for service rrdcached: invalid volume specification: 'H:\devel\librenms-docker\examples\compose\rrd-journal:/data/journal:rw'

Looks like we have to set this in our ~/Documents/WindowsPowershell/Microsoft.PowerShell_profile.ps1
...
$Env:COMPOSE_CONVERT_WINDOWS_PATHS=1
...

  1. Follow the above instruction to set the environment variable COMPOSE_CONVERT_WINDOWS_PATHS=1 in the specified Microsoft.Powershell_profile.ps1 script
  2. Modify the default docker-compose.yml in the librenms-docker examples folder, the following worked perfectly for me (note: I added the ports section to each service container so I could easily modify the published (windows host) port, it had no adverse affect by leaving the port specifications there. Ultimately, it's just more verbose):
version: "3.5"

services:
  db:
    image: mariadb:10.2
    container_name: librenms_db
    command:
      - "mysqld"
      - "--sql-mode="
      - "--innodb-file-per-table=1"
      - "--lower-case-table-names=0"
      - "--character-set-server=utf8"
      - "--collation-server=utf8_unicode_ci"
    ports:
      - target: 3306
        published: 3306
        protocol: tcp
    volumes:
      ## ORIGINAL
      #- "./db:/var/lib/mysql"
      ##
      - db-mysql-volume:/var/lib/mysql:Z
    environment:
      - "TZ=${TZ}"
      - "MYSQL_ALLOW_EMPTY_PASSWORD=yes"
      - "MYSQL_DATABASE=${MYSQL_DATABASE}"
      - "MYSQL_USER=${MYSQL_USER}"
      - "MYSQL_PASSWORD=${MYSQL_PASSWORD}"
    restart: always

  memcached:
    image: memcached:alpine
    container_name: librenms_memcached
    ports:
      - target: 11211
        published: 11211
        protocol: tcp
    environment:
      - "TZ=${TZ}"
    restart: always

  rrdcached:
    image: crazymax/rrdcached
    container_name: librenms_rrdcached
    ports:
      - target: 42217
        published: 42217
        protocol: tcp
    volumes:
      ## ORIGINAL
      #- "./librenms/rrd:/data/db"
      #- "./rrd-journal:/data/journal"
      ##
      - rrd-librenms-volume:/data/db:Z
      - rrd-journal-volume:/data/journal:Z
    environment:
      - "TZ=${TZ}"
      - "LOG_LEVEL=LOG_INFO"
      - "WRITE_TIMEOUT=1800"
      - "WRITE_JITTER=1800"
      - "WRITE_THREADS=4"
      - "FLUSH_DEAD_DATA_INTERVAL=3600"
    restart: always

  smtp:
    image: juanluisbaptiste/postfix
    container_name: librenms_smtp
    #volumes:
      ## ORIGINAL
      #- "/etc/localtime:/etc/localtime:ro"
      ## *NEITHER WORKED*
      #- smtp-localtime-volume:/etc/localtime:ro
      #- smtp-etc-localtime-volume:/etc/localtime:Z
      ## *ALWAYS GETTING ERROR*
      # ERROR: for smtp  Cannot create container for service smtp: source is not directory
      ## I believe it's because this folder doesn't even exist, it's a RO share ultimately
      ## since on Windows /etc/localtime doesn't exist, hence the error.
      ## By taking the volume out entirely, it works!
      ##
    environment:
      - "SERVER_HOSTNAME=librenms.example.com"
      - "SMTP_SERVER=${SMTP_SERVER}"
      - "SMTP_USERNAME=${SMTP_USERNAME}"
      - "SMTP_PASSWORD=${SMTP_PASSWORD}"
    restart: always

  librenms:
    image: librenms/librenms:latest
    container_name: librenms
    domainname: example.com
    hostname: librenms
    ports:
      - target: 80
        published: 80
        protocol: tcp
    depends_on:
      - db
      - memcached
      - rrdcached
      - smtp
    volumes:
      ## ORIGINAL
      #- "./librenms:/data"
      ##
      - lnms-data-volume:/data:Z
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=30"
    env_file:
      - "./librenms.env"
    restart: always

  cron:
    image: librenms/librenms:latest
    container_name: librenms_cron
    domainname: example.com
    hostname: librenms
    depends_on:
      - librenms
    volumes:
      ## ORIGINAL
      #- "./librenms:/data"
      ##
      - lnms-data-volume:/data:Z
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=30"
      - "SIDECAR_CRON=1"
    env_file:
      - "./librenms.env"
    restart: always

  syslog-ng:
    image: librenms/librenms:latest
    container_name: librenms_syslog
    domainname: example.com
    hostname: librenms
    depends_on:
      - librenms
    ports:
      - target: 514
        published: 514
        protocol: tcp
      - target: 514
        published: 514
        protocol: udp
    volumes:
      ## ORIGINAL
      #- "./librenms:/data"
      ##
      - lnms-data-volume:/data:Z
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=30"
      - "SIDECAR_SYSLOGNG=1"
    env_file:
      - "./librenms.env"
    restart: always

volumes:
  db-mysql-volume:
    external: false
  rrd-librenms-volume:
    external: false
  rrd-journal-volume:
    external: false
  lnms-data-volume:
    external: false

SNMP and ping checks running from different containers

In our network infrastructure we have got a dedicated network for running monitoring software. However we consider that adding an interface (and so IP) in this network on the Docker host is a security risk, so we always use macvlan network on containers.

This is what we've done with LibreNMS and we have assigned an IP to the "librenms" container in the stack. We then created the SNMP rules on our network devices. After that we could add devices successfully. However after that the ping and SNMP checks are still failing.

I eventually found that the ongoing checks are actually running from the "librenms_cron" container.

It doesn't feel right that we need to add two IPs to all SNMP rule.

Is there any reason why these two containers need to be separate?

Anonymous volume created by rrdcached

Behaviour

Anonymous volume is created by rrdcached container.

Steps to reproduce this issue

Using the librenms docker-compose.yml file.

  1. docker-compose up -d
  2. docker volume ls
  3. anonymous volume has been created by rrdcached
  4. docker-compose down
  5. remove anonymous volume
  6. remove rrdcached from docker-compose.yml
  7. docker-compose up -d
  8. docker volume ls
  9. no anonymous volumes are created.

Expected behaviour

No anonymous volumes should be created.

Actual behaviour

Anonymous volume is created by rrdcached container.

Configuration

  • Docker version (type docker --version) : Docker version 19.03.2, build 6a30dfc
  • Docker compose version if applicable (type docker-compose --version) : docker-compose version 1.24.1, build 4667896b
  • Platform (Debian 9, Ubuntu 18.04, ...) : Debian 10

Docker info

Client:
 Debug Mode: false

Server:
 Containers: 7
  Running: 6
  Paused: 0
  Stopped: 1
 Images: 7
 Server Version: 19.03.2
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
 runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.19.0-5-amd64
 Operating System: Debian GNU/Linux 10 (buster)
 OSType: linux
 Architecture: x86_64
 CPUs: 1
 Total Memory: 3.832GiB
 Name: 
 ID: ESKN:QCAL:Y224:7N3F:5V6R:77UY:IPGK:WBBQ:34GE:NV5T:M7LZ:VBE5
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Environment variables

Hopefully a quick question.

Most of the Environment variables listed in the docs say "(default true)". Does this mean we don't have to specify the variable in the docker run command?

How to know if distributed pollers work ?

Hello !

I'm trying to install/deploy librenms with distributed pollers on docker.

my docker-compose.yml:

note that i work offline, so i'd need to pull yours images and push them into internal artifact.
I also delete traefik service, smtp and db who is install somewhere else.
the original docker-compose.yml from example works nice.

docker stats:

CONTAINER ID        NAME                 CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
3a43fd9b417d        librenms-poller-1    0.12%               36.14MiB / 15.51GiB   0.23%               9.53kB / 4.89kB     0B / 98.3kB         270
f1d9815f8096        librenms_syslog      0.00%               9.488MiB / 15.51GiB   0.06%               9.58kB / 3.07kB     0B / 98.3kB         2
85769044c815        librenms_cron        0.00%               52KiB / 15.51GiB      0.00%               282MB / 203MB       0B / 164kB          1
000e45ddd26b        librenms             0.04%               64.01MiB / 15.51GiB   0.40%               7.54GB / 68.5MB     0B / 11.3MB         274
f706dacde751        librenms_memcached   0.02%               4.371MiB / 15.51GiB   0.03%               873kB / 625kB       0B / 0B             10
26b57f01dc44        librenms_rrdcached   0.00%               11.09MiB / 15.51GiB   0.07%               59.8MB / 7.42GB     0B / 0B             7

docker ps:

CONTAINER ID        IMAGE                                                                                   COMMAND                  CREATED             STATUS              PORTS                                                  NAMES
3a43fd9b417d        docker-interne.artifactory.example.com/internal/librenms:librenms-1.47-internal   "/entrypoint.sh /usr…"   2 hours ago         Up 2 hours          80/tcp, 514/tcp, 514/udp                               librenms-poller-1
f1d9815f8096        docker-interne.artifactory.example.com/internal/librenms:librenms-1.47-internal   "/entrypoint.sh /usr…"   2 hours ago         Up 2 hours          80/tcp, 0.0.0.0:514->514/tcp, 0.0.0.0:514->514/udp   librenms_syslog
85769044c815        docker-interne.artifactory.example.com/internal/librenms:librenms-1.47-internal   "/entrypoint.sh /usr…"   2 hours ago         Up 2 hours          80/tcp, 514/tcp, 514/udp                               librenms_cron
000e45ddd26b        docker-interne.artifactory.example.com/internal/librenms:librenms-1.47-internal   "/entrypoint.sh /usr…"   2 hours ago         Up 2 hours          514/tcp, 514/udp, 0.0.0.0:8080->80/tcp                 librenms
f706dacde751        docker-interne.artifactory.example.com/external/memcached:1.5.12-alpine           "docker-entrypoint.s…"   2 hours ago         Up 2 hours          11211/tcp                                              librenms_memcached
26b57f01dc44        docker-interne.artifactory.example.com/external/rrdcached:1.7.0                   "/entrypoint.sh /usr…"   2 hours ago         Up 2 hours          42217/tcp                                              librenms_rrdcached

librenms.env:

MEMORY_LIMIT=256M
UPLOAD_MAX_SIZE=16M
OPCACHE_MEM_SIZE=128

TZ=Europe/Paris
PUID=1000
GUID=1000

LIBRENMS_POLLER_THREADS=16
LIBRENMS_POLLER_INTERVAL=5

LIBRENMS_DISTRIBUTED_POLLER_ENABLE=true

LIBRENMS_CRON_DISCOVERY_ENABLE=false
LIBRENMS_CRON_DAILY_ENABLE=false
LIBRENMS_CRON_ALERTS_ENABLE=true
LIBRENMS_CRON_BILLING_ENABLE=false
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE=false
LIBRENMS_CRON_CHECK_SERVICES_ENABLE=true
LIBRENMS_CRON_POLLER_ENABLE=true

LIBRENMS_SNMP_COMMUNITY=librenmsdocker
MEMCACHED_HOST=memcached
MEMCACHED_PORT=11211
RRDCACHED_HOST=rrdcached
RRDCACHED_PORT=42217

Validate:

[root@ntest-librenms librenms]# /usr/local/bin/docker-compose exec --user librenms librenms php validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 1.47
DB Schema | 275
PHP       | 7.2.13
MySQL     | 5.5.44-MariaDB-log
RRDTool   | 1.7.0
SNMP      | NET-SNMP 5.7.3
====================================

[OK]    Composer Version: 1.8.0
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct
[WARN]  IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN]  Your install is over 24 hours out of date, last update: Sun, 30 Dec 2018 14:29:16 +0000
	[FIX]:
	Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN]  Your local git branch is not master, this will prevent automatic updates.
	[FIX]:
	You can switch back to master with git checkout master

We can see all is up and working, but when i check on web gui i just see one poller (cron container).
On stats, librenms container have some high net i/o but not the other poller.

How can i check if its broken somewhere ?

Document configuration necessary for basic setup

Describing the minimum necessary configuration to run a "vanilla" LibreNMS would improve the usability of this repo, and make it more accessible to newcomers.

Docker Compose is recommended under the Use this image section of the README, and the section mentions editing the example compose and env files. However it doesn't specify what needs to be changed and what is safe to leave as default.

For someone like myself who is brand new to LibreNMS but has some experience with Docker and Docker Compose, what's the quickest way to get up and running?

RRD graphs don't render

Behaviour

RRD graphs don't render There isn't any errors in the logs.

-rrd files in the data/ directory
-"rrdcreate request for /data/db/.." messages in the log
-rrdtool commands appears to be working correctly

RRDTool Command

rrdtool graph /tmp/6XY4ielePMrjPMMW  --alt-autoscale-max --rigid -E --start 1558297500 --end 1558383900 --width 1152 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal -c FONT#000000 --font LEGEND:8:DejaVuSansMono --font AXIS:7:DejaVuSansMono --font-render-mode normal -u 100 -l 0 -E -b 1024  COMMENT:'                           Min   Cur    Max\n' HRULE:0#999999 --daemon rrdcached:42217
RRDTool Output

1233x355
OK u:0.05 s:0.01 r:0.06

Steps to reproduce this issue

  1. docker-compose up -d

Expected behaviour

RRD Graphics in UI

Actual behaviour

Broken RRD Graphics

Configuration

root@lnms01-iad3:/opt/docker.librenms# docker logs librenms_rrdcached | tail
starting up
setgid(8002) succeeded
setuid(8002) succeeded
checking for journal files
journal processing complete
listening for connections
rrdcreate request for /data/db/cr1-iad3.example.com/uptime.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-core.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-os.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-ipmi.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-sensors.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-processors.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-mempools.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-storage.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/netstats-icmp.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/netstats-ip_forward.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/netstats-snmp.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-netstats.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/hr_processes.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/hr_users.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-hr-mib.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-ucd-mib.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-ipSystemStats.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id1.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id2.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id3.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id4.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id5.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id6.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id7.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id8.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id9.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id10.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id11.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id12.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id13.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id14.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id15.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id16.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id17.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id18.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id19.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id20.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id21.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id22.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id23.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id24.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id25.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id26.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id27.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id28.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id29.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id30.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id31.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id32.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id33.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id34.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id35.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id36.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id37.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id38.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id39.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id40.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id41.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id42.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id43.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id44.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id45.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id46.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id47.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id48.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id49.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id50.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id51.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id52.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id53.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id54.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id55.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id56.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id57.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id58.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id59.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id60.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id61.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id62.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id63.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id64.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id65.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id66.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id67.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id68.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id69.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id70.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id71.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id72.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id73.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id74.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id75.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id76.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id77.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id78.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id79.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id80.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id81.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id82.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id83.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id84.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id85.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id86.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id87.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id88.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id89.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id90.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id91.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id92.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id93.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id94.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id95.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id96.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id97.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id98.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id99.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id100.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id101.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id102.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id103.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id104.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id105.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id106.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id107.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id108.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id109.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id110.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id111.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id112.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id113.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id114.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id115.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id116.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id117.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id118.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id119.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id120.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id121.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id122.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id123.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id124.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id125.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id126.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id127.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id128.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id129.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id130.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id131.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id132.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id133.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id134.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id135.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id136.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id137.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id138.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id139.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id140.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id141.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id142.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id143.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id144.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id145.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id146.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id147.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id148.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id149.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id150.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id151.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id152.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id153.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-ports.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-bgp-peers.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-ucd-diskio.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-wireless.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/ospf-statistics.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-ospf.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-entity-physical.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-applications.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-stp.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf-ntp.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/ping-perf.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/poller-perf.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/uptime.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-core.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-os.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-ipmi.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-sensors.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-processors.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-mempools.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-storage.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/storage-hrstorage-dev_gpt_junos__root_file_system,mounted_on_.mount.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/netstats-icmp.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/storage-hrstorage-tmpfs,mounted_on__.mount_tmp.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/storage-hrstorage-tmpfs,mounted_on__.mount_mfs.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/storage-hrstorage-dev_gpt_config,mounted_on_.mount_config.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/storage-hrstorage-dev_gpt_var,mounted_on_.mount_var.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/netstats-ip_forward.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/netstats-snmp.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-netstats.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/hr_processes.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/hr_users.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-hr-mib.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-ucd-mib.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-ipSystemStats.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id154.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id155.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id156.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id157.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id158.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id159.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id160.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id161.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id162.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id163.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id164.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id165.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id166.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id167.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id168.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id169.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id170.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-62.115.11.30.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-104.241.207.193.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-104.241.207.197.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id171.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-104.241.207.201.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-104.241.207.209.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-104.241.207.213.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id172.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-104.241.207.227.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-104.241.207.229.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-104.241.207.243.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id173.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-169.254.60.145.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-169.254.241.209.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.2.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.3.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id174.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.6.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.7.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.8.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id175.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.9.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.12.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.13.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id176.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.15.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.16.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.17.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id177.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.18.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.19.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.249.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id178.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.128.253.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.73.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.77.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id179.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.115.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.117.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.123.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id180.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.125.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.131.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.133.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id181.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.139.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.141.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.163.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id182.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.165.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.178.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-185.69.129.182.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id183.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/bgp-208.76.14.223.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id184.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id185.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id186.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id187.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id188.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id189.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id190.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id191.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id192.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id193.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id194.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id195.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id196.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id197.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id198.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id199.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id200.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id201.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id202.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id203.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id204.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id205.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id206.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id207.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id208.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id209.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id210.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id211.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id212.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id213.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id214.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id215.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id216.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id217.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id218.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id219.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id220.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id221.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id222.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id223.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id224.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id225.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id226.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id227.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id228.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id229.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id230.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id231.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id232.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id233.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id234.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id235.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id236.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id237.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id238.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id239.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id240.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id241.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id242.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id243.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id244.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id245.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id246.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id247.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id248.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id249.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id250.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id251.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id252.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id253.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id254.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id255.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id256.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id257.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id258.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id259.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id260.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id261.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id262.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id263.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id264.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id265.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id266.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id267.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id268.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id269.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id270.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id271.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id272.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id273.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id274.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id275.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id276.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id277.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id278.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id279.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id280.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id281.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id282.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id283.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id284.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id285.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id286.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id287.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id288.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id289.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id290.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id291.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id292.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id293.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id294.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id295.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id296.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id297.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id298.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id299.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/port-id300.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-ports.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-104.241.192.233.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-104.241.199.115.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-104.241.207.133.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-104.241.207.195.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-bgp-peers.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-ucd-diskio.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-wireless.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/ospf-statistics.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-ospf.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-entity-physical.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-applications.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-stp.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf-ntp.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/ping-perf.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/poller-perf.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/storage-hrstorage-dev_gpt_junos__root_file_system,mounted_on_.mount.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/storage-hrstorage-tmpfs,mounted_on__.mount_tmp.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/storage-hrstorage-dev_gpt_config,mounted_on_.mount_config.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/storage-hrstorage-dev_gpt_var,mounted_on_.mount_var.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/storage-hrstorage-tmpfs,mounted_on__.mount_mfs.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-104.241.207.199.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-104.241.207.203.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-104.241.207.211.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-104.241.207.231.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-104.241.207.233.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-129.250.193.17.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-169.254.60.97.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-169.254.163.25.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.2.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.3.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.6.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.7.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.8.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.9.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.12.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.13.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.14.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.16.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.17.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.18.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.19.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.251.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.128.255.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.75.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.79.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.119.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.121.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.127.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.129.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.135.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.137.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.143.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.145.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.167.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.169.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.180.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-185.69.129.184.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-208.76.14.223.rrd
rrdcreate request for /data/db/cr2-iad3.example.com/bgp-209.51.172.209.rrd
rrdcreate request for /data/db/cr1-iad3.example.com/port-id301.rrd
Setting timezone to America/Los_Angeles...
Checking if rrdcached UID / GID has changed...
Initializing LibreNMS files / folders...
Creating RRDcached configuration...
Fixing permissions...

root@lnms01-iad3:/opt/docker.librenms# docker-compose config
services:
cron:
command:
- /usr/local/bin/cron
container_name: librenms_cron
depends_on:
- librenms
domainname: example.com
environment:
DB_HOST: db
DB_NAME: librenms
DB_PASSWORD: librenms
DB_TIMEOUT: '30'
DB_USER: librenms
LIBRENMS_CRON_ALERTS_ENABLE: "true"
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE: "true"
LIBRENMS_CRON_BILLING_ENABLE: "true"
LIBRENMS_CRON_CHECK_SERVICES_ENABLE: "true"
LIBRENMS_CRON_DAILY_ENABLE: "true"
LIBRENMS_CRON_DISCOVERY_ENABLE: "true"
LIBRENMS_CRON_POLLER_ENABLE: "true"
LIBRENMS_POLLER_INTERVAL: '5'
LIBRENMS_POLLER_THREADS: '16'
LIBRENMS_SNMP_COMMUNITY: RS4hv9Aj6
LOG_IP_VAR: http_x_forwarded_for
MEMCACHED_HOST: memcached
MEMCACHED_PORT: '11211'
MEMORY_LIMIT: 256M
OPCACHE_MEM_SIZE: '128'
PGID: '8002'
PUID: '8002'
REAL_IP_FROM: 0.0.0.0/32
REAL_IP_HEADER: X-Forwarded-For
RRDCACHED_HOST: rrdcached
RRDCACHED_PORT: '42217'
SIDECAR_CRON: '1'
TZ: America/Los_Angeles
UPLOAD_MAX_SIZE: 16M
hostname: lnms01-iad3
image: librenms/librenms:latest
restart: always
volumes:
- /opt/docker.librenms/librenms:/data:rw
db:
command:
- mysqld
- --sql-mode=
- --innodb-file-per-table=1
- --lower-case-table-names=0
- --character-set-server=utf8
- --collation-server=utf8_unicode_ci
container_name: librenms_db
environment:
LIBRENMS_CRON_ALERTS_ENABLE: "true"
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE: "true"
LIBRENMS_CRON_BILLING_ENABLE: "true"
LIBRENMS_CRON_CHECK_SERVICES_ENABLE: "true"
LIBRENMS_CRON_DAILY_ENABLE: "true"
LIBRENMS_CRON_DISCOVERY_ENABLE: "true"
LIBRENMS_CRON_POLLER_ENABLE: "true"
LIBRENMS_POLLER_INTERVAL: '5'
LIBRENMS_POLLER_THREADS: '16'
LIBRENMS_SNMP_COMMUNITY: RS4hv9Aj6
LOG_IP_VAR: http_x_forwarded_for
MEMCACHED_HOST: memcached
MEMCACHED_PORT: '11211'
MEMORY_LIMIT: 256M
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_DATABASE: librenms
MYSQL_PASSWORD: librenms
MYSQL_USER: librenms
OPCACHE_MEM_SIZE: '128'
REAL_IP_FROM: 0.0.0.0/32
REAL_IP_HEADER: X-Forwarded-For
RRDCACHED_HOST: rrdcached
RRDCACHED_PORT: '42217'
TZ: America/Los_Angeles
UPLOAD_MAX_SIZE: 16M
image: mariadb:10.2
ports:
- published: 3306
target: 3306
restart: always
volumes:
- /opt/docker.librenms/db:/var/lib/mysql:rw
librenms:
container_name: librenms
depends_on:
- db
- memcached
- rrdcached
domainname: example.com
environment:
DB_HOST: db
DB_NAME: librenms
DB_PASSWORD: librenms
DB_TIMEOUT: '30'
DB_USER: librenms
LIBRENMS_CRON_ALERTS_ENABLE: "true"
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE: "true"
LIBRENMS_CRON_BILLING_ENABLE: "true"
LIBRENMS_CRON_CHECK_SERVICES_ENABLE: "true"
LIBRENMS_CRON_DAILY_ENABLE: "true"
LIBRENMS_CRON_DISCOVERY_ENABLE: "true"
LIBRENMS_CRON_POLLER_ENABLE: "true"
LIBRENMS_POLLER_INTERVAL: '5'
LIBRENMS_POLLER_THREADS: '16'
LIBRENMS_SNMP_COMMUNITY: RS4hv9Aj6
LOG_IP_VAR: http_x_forwarded_for
MEMCACHED_HOST: memcached
MEMCACHED_PORT: '11211'
MEMORY_LIMIT: 256M
OPCACHE_MEM_SIZE: '128'
PGID: '8002'
PUID: '8002'
REAL_IP_FROM: 0.0.0.0/32
REAL_IP_HEADER: X-Forwarded-For
RRDCACHED_HOST: rrdcached
RRDCACHED_PORT: '42217'
TZ: America/Los_Angeles
UPLOAD_MAX_SIZE: 16M
hostname: lnms01-iad3
image: librenms/librenms:latest
labels:
traefik.backend: librenms
traefik.enable: "true"
traefik.frontend.priority: '1'
traefik.frontend.rule: HostRegexp:example.com,{catchall:.*}
traefik.port: '80'
restart: always
volumes:
- /opt/docker.librenms/librenms:/data:rw
memcached:
container_name: librenms_memcached
environment:
TZ: America/Los_Angeles
image: memcached:alpine
restart: always
rrdcached:
container_name: librenms_rrdcached
environment:
FLUSH_DEAD_DATA_INTERVAL: '3600'
LIBRENMS_CRON_ALERTS_ENABLE: "true"
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE: "true"
LIBRENMS_CRON_BILLING_ENABLE: "true"
LIBRENMS_CRON_CHECK_SERVICES_ENABLE: "true"
LIBRENMS_CRON_DAILY_ENABLE: "true"
LIBRENMS_CRON_DISCOVERY_ENABLE: "true"
LIBRENMS_CRON_POLLER_ENABLE: "true"
LIBRENMS_POLLER_INTERVAL: '5'
LIBRENMS_POLLER_THREADS: '16'
LIBRENMS_SNMP_COMMUNITY: RS4hv9Aj6
LOG_IP_VAR: http_x_forwarded_for
LOG_LEVEL: LOG_INFO
MEMCACHED_HOST: memcached
MEMCACHED_PORT: '11211'
MEMORY_LIMIT: 256M
OPCACHE_MEM_SIZE: '128'
PGID: '8002'
PUID: '8002'
REAL_IP_FROM: 0.0.0.0/32
REAL_IP_HEADER: X-Forwarded-For
RRDCACHED_HOST: rrdcached
RRDCACHED_PORT: '42217'
TZ: America/Los_Angeles
UPLOAD_MAX_SIZE: 16M
WRITE_JITTER: '1800'
WRITE_THREADS: '4'
WRITE_TIMEOUT: '1800'
image: crazymax/rrdcached
restart: always
volumes:
- /opt/docker.librenms/rrd:/data/db:rw
- /opt/docker.librenms/rrd-journal:/data/journal:rw
syslog-ng:
command:
- /usr/sbin/syslog-ng
- -F
container_name: librenms_syslog
depends_on:
- librenms
domainname: example.com
environment:
DB_HOST: db
DB_NAME: librenms
DB_PASSWORD: librenms
DB_TIMEOUT: '30'
DB_USER: librenms
LIBRENMS_CRON_ALERTS_ENABLE: "true"
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE: "true"
LIBRENMS_CRON_BILLING_ENABLE: "true"
LIBRENMS_CRON_CHECK_SERVICES_ENABLE: "true"
LIBRENMS_CRON_DAILY_ENABLE: "true"
LIBRENMS_CRON_DISCOVERY_ENABLE: "true"
LIBRENMS_CRON_POLLER_ENABLE: "true"
LIBRENMS_POLLER_INTERVAL: '5'
LIBRENMS_POLLER_THREADS: '16'
LIBRENMS_SNMP_COMMUNITY: RS4hv9Aj6
LOG_IP_VAR: http_x_forwarded_for
MEMCACHED_HOST: memcached
MEMCACHED_PORT: '11211'
MEMORY_LIMIT: 256M
OPCACHE_MEM_SIZE: '128'
PGID: '8002'
PUID: '8002'
REAL_IP_FROM: 0.0.0.0/32
REAL_IP_HEADER: X-Forwarded-For
RRDCACHED_HOST: rrdcached
RRDCACHED_PORT: '42217'
SIDECAR_SYSLOGNG: '1'
TZ: America/Los_Angeles
UPLOAD_MAX_SIZE: 16M
hostname: lnms01-iad3
image: librenms/librenms:latest
ports:
- protocol: tcp
published: 514
target: 514
- protocol: udp
published: 514
target: 514
restart: always
volumes:
- /opt/docker.librenms/librenms:/data:rw
traefik:
command:
- --logLevel=INFO
- --defaultentrypoints=http,https
- --entryPoints=Name:http Address::80 Redirect.EntryPoint:https
- --entryPoints=Name:https Address::443 TLS
- --docker
- --docker.exposedbydefault=false
- --docker.domain=example.com
- --acme=true
- --acme.acmelogging=true
- --acme.email=[email protected]
- --acme.storage=acme.json
- --acme.entryPoint=https
- --acme.onhostrule=true
- --acme.httpchallenge=true
- --acme.httpchallenge.entrypoint=http
container_name: traefik
image: traefik:1.7-alpine
ports:
- mode: host
protocol: tcp
published: 80
target: 80
- mode: host
protocol: tcp
published: 443
target: 443
restart: always
volumes:
- /opt/docker.librenms/acme.json:/acme.json:rw
- /var/run/docker.sock:/var/run/docker.sock:rw
version: '3.5'

root@lnms01-iad3:/opt/docker.librenms# cat .env

This file is managed by Ansible - edit at your own risk.

DOMAINNAME=example.com
HOSTNAME=lnms01-iad3
MYSQL_DATABASE=librenms
MYSQL_USER=librenms
MYSQL_PASSWORD=librenms
SMTP_SERVER=smtp.example.com
TZ=America/Los_Angeles
PUID=8002
PGID=8002
root@lnms01-iad3:/opt/docker.librenms# cat librenms.env

This file is managed by Ansible - edit at your own risk.

MEMORY_LIMIT=256M
UPLOAD_MAX_SIZE=16M
OPCACHE_MEM_SIZE=128
REAL_IP_FROM=0.0.0.0/32
REAL_IP_HEADER=X-Forwarded-For
LOG_IP_VAR=http_x_forwarded_for

LIBRENMS_POLLER_THREADS=16
LIBRENMS_POLLER_INTERVAL=5

LIBRENMS_CRON_DISCOVERY_ENABLE=true
LIBRENMS_CRON_DAILY_ENABLE=true
LIBRENMS_CRON_ALERTS_ENABLE=true
LIBRENMS_CRON_BILLING_ENABLE=true
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE=true
LIBRENMS_CRON_CHECK_SERVICES_ENABLE=true
LIBRENMS_CRON_POLLER_ENABLE=true

LIBRENMS_SNMP_COMMUNITY=public
MEMCACHED_HOST=memcached
MEMCACHED_PORT=11211
RRDCACHED_HOST=rrdcached
RRDCACHED_PORT=42217

### Docker info

Output of command docker info


### Logs

Container logs (set LOG_LEVEL to debug if applicable)

Validate fails with permission issue for librenms.log stream.

Behaviour

Can't get access to GUI on default setup showing error defined below.
Then after manual create file and permissions fix, inside container, I can get access to web GUI but can't login using default login librenms:librenms
Database appears empty.

Steps to reproduce this issue

  1. Remove db entry from example docker-compose and configure for remote db
  2. Test remote access for db for given dbuser:pass
  3. Change ./librenms dir to ./config dir in docker-compose.yml

Expected behaviour

Fully functioning install

Actual behaviour

Container can't load.
Web UI gives:

Whoops, the web server could not write required files to the filesystem.
Running the following commands will fix the issue most of the time:
Cannot write to log file: "/data/logs/librenms.log"
Make sure it exists and is writable, or change your LOG_DIR setting.

If using SELinux you may also need:
semanage fcontext -a -t httpd_sys_rw_content_t '/data/logs/librenms.log(/.*)?'

restorecon -RFv /data/logs/librenms.log

Using:

docker exec -it --user librenms librenms php validate.php

Gets:

PHP Warning:  curl_setopt(): supplied argument is not a valid File-Handle resource in /opt/librenms/scripts/composer_wrapper.php on line 111
PHP Warning:  fclose() expects parameter 1 to be resource, bool given in /opt/librenms/scripts/composer_wrapper.php on line 128
PHP Warning:  fopen(composer-setup.php): failed to open stream: Permission denied in /opt/librenms/scripts/composer_wrapper.php on line 110
PHP Warning:  curl_setopt(): supplied argument is not a valid File-Handle resource in /opt/librenms/scripts/composer_wrapper.php on line 111
PHP Warning:  fclose() expects parameter 1 to be resource, bool given in /opt/librenms/scripts/composer_wrapper.php on line 128
PHP Warning:  fopen(composer-setup.php): failed to open stream: Permission denied in /opt/librenms/scripts/composer_wrapper.php on line 110
PHP Warning:  curl_setopt(): supplied argument is not a valid File-Handle resource in /opt/librenms/scripts/composer_wrapper.php on line 111
PHP Warning:  fclose() expects parameter 1 to be resource, bool given in /opt/librenms/scripts/composer_wrapper.php on line 128

and

The stream or file "/opt/librenms/logs/librenms.log" could not be opened: failed to open stream: Permission denied

I assume this is some sort of internal symlink because all my volumes point to ./config

Configuration

Docker version 18.06.3-ce, build d7080c1
docker-compose version 1.24.1, build 4667896b
CoreOs
NAME="Container Linux by CoreOS"
ID=coreos
VERSION=2247.6.0
VERSION_ID=2247.6.0
BUILD_ID=2019-11-06-2138
PRETTY_NAME="Container Linux by CoreOS 2247.6.0 (Rhyolite)"
ANSI_COLOR="38;5;75"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://issues.coreos.com"
COREOS_BOARD="amd64-usr"

.env:

MYSQL_DATABASE=librenms
MYSQL_USER=librenms
MYSQL_PASSWORD=mysqlpass
MYSQL_HOST=myserver.home.local

SMTP_SERVER=smtp.example.com
[email protected]
SMTP_PASSWORD=

TZ=Europe/London
PUID=500
PGID=500

.librenms:

MEMORY_LIMIT=256M
UPLOAD_MAX_SIZE=16M
OPCACHE_MEM_SIZE=128
REAL_IP_FROM=172.16.10.0/24
REAL_IP_HEADER=X-Forwarded-For
LOG_IP_VAR=http_x_forwarded_for

LIBRENMS_POLLER_THREADS=16
LIBRENMS_POLLER_INTERVAL=5

LIBRENMS_CRON_DISCOVERY_ENABLE=true
LIBRENMS_CRON_DAILY_ENABLE=true
LIBRENMS_CRON_ALERTS_ENABLE=true
LIBRENMS_CRON_BILLING_ENABLE=true
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE=true
LIBRENMS_CRON_CHECK_SERVICES_ENABLE=true
LIBRENMS_CRON_POLLER_ENABLE=true

LIBRENMS_SNMP_COMMUNITY=public
MEMCACHED_HOST=memcached
MEMCACHED_PORT=11211
RRDCACHED_HOST=rrdcached
RRDCACHED_PORT=42217

docker-compose.yml:

version: "3.5"

services:
  memcached:
    image: memcached:alpine
    container_name: librenms_memcached
    environment:
      - "TZ=${TZ}"
    restart: always

  rrdcached:
    image: crazymax/rrdcached
    container_name: librenms_rrdcached
    volumes:
      - "./config/rrd:/data/db"
      - "./rrd-journal:/data/journal"
    environment:
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "TZ=${TZ}"
      - "LOG_LEVEL=LOG_INFO"
      - "WRITE_TIMEOUT=1800"
      - "WRITE_JITTER=1800"
      - "WRITE_THREADS=4"
      - "FLUSH_DEAD_DATA_INTERVAL=3600"
    restart: always

  smtp:
    image: juanluisbaptiste/postfix
    container_name: librenms_smtp
    volumes:
      - "/etc/localtime:/etc/localtime:ro"
    environment:
      - "SERVER_HOSTNAME=nms.home.local"
      - "SMTP_SERVER=${SMTP_SERVER}"
      - "SMTP_USERNAME=${SMTP_USERNAME}"
      - "SMTP_PASSWORD=${SMTP_PASSWORD}"
    restart: always

  librenms:
    image: librenms/librenms:latest
    container_name: librenms
    domainname: home.local
    hostname: nms
    ports:
      - target: 80
        published: 80
        protocol: tcp
    depends_on:
      - memcached
      - rrdcached
      - smtp
    volumes:
      - "./config:/data"
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=${MYSQL_HOST}"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=30"
    env_file:
      - "./librenms.env"
    restart: always

  cron:
    image: librenms/librenms:latest
    container_name: librenms_cron
    domainname: home.local
    hostname: nms
    depends_on:
      - librenms
    volumes:
      - "./config:/data"
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=${MYSQL_HOST}"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=30"
      - "SIDECAR_CRON=1"
    env_file:
      - "./librenms.env"
    restart: always

  syslog-ng:
    image: librenms/librenms:latest
    container_name: librenms_syslog
    domainname: home.local
    hostname: nms
    depends_on:
      - librenms
    ports:
      - target: 514
        published: 514
        protocol: tcp
      - target: 514
        published: 514
        protocol: udp
    volumes:
      - "./config:/data"
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=${MYSQL_HOST}"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=30"
      - "SIDECAR_SYSLOGNG=1"
    env_file:
      - "./librenms.env"
    restart: always

Docker info

Containers: 14
 Running: 10
 Paused: 0
 Stopped: 4
Images: 10
Server Version: 18.06.3-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: a592beb5bc4c4092b1b1bac971afed27687340c5
init version: fec3683b971d9c3ef73f284f176672c44b448662
Security Options:
 seccomp
  Profile: default
 selinux
Kernel Version: 4.19.78-coreos
Operating System: Container Linux by CoreOS 2247.6.0 (Rhyolite)
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 3.823GiB
Name: mylibrenmshost
ID: R5HU:ZURT:36MM:OU7D:G2S5:NBWN:YVBF:532X:B2CK:VEZQ:PDOQ:2WJD
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

docker logs librenms:

Setting timezone to Europe/London...
Checking if librenms UID / GID has changed...
Setting PHP-FPM configuration...
Setting PHP INI configuration...
Setting OpCache configuration...
Setting Nginx configuration...
Updating SNMP community...
Initializing LibreNMS files / folders...
Setting LibreNMS configuration...
Fixing permissions...
Checking additional Monitoring plugins...
Waiting 30s for database to be ready...
Database ready!
Updating database schema...

In StreamHandler.php line 107:

  The stream or file "/opt/librenms/logs/librenms.log" could not be opened: f
  ailed to open stream: Permission denied


Creating admin user...

In StreamHandler.php line 107:

  The stream or file "/opt/librenms/logs/librenms.log" could not be opened: f
  ailed to open stream: Permission denied


2019-11-17 18:32:31,858 INFO Included extra file "/etc/supervisord/nginx.conf" during parsing
2019-11-17 18:32:31,858 INFO Included extra file "/etc/supervisord/php.conf" during parsing
2019-11-17 18:32:31,858 INFO Included extra file "/etc/supervisord/snmpd.conf" during parsing
2019-11-17 18:32:31,858 INFO Set uid to user 0 succeeded
2019-11-17 18:32:31,867 INFO RPC interface 'supervisor' initialized
2019-11-17 18:32:31,867 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2019-11-17 18:32:31,867 INFO supervisord started with pid 1
2019-11-17 18:32:32,869 INFO spawned: 'nginx' with pid 66
2019-11-17 18:32:32,871 INFO spawned: 'php' with pid 67
2019-11-17 18:32:32,873 INFO spawned: 'snmpd' with pid 68
2019/11/17 18:32:32 [notice] 66#66: using the "epoll" event method
2019/11/17 18:32:32 [notice] 66#66: nginx/1.16.1
2019/11/17 18:32:32 [notice] 66#66: OS: Linux 4.19.78-coreos
2019/11/17 18:32:32 [notice] 66#66: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2019/11/17 18:32:32 [notice] 66#66: start worker processes
2019/11/17 18:32:32 [notice] 66#66: start worker process 69
2019/11/17 18:32:32 [notice] 66#66: start worker process 70
2019/11/17 18:32:32 [notice] 66#66: start worker process 71
2019/11/17 18:32:32 [notice] 66#66: start worker process 72
2019/11/17 18:32:32 [notice] 66#66: start worker process 73
2019/11/17 18:32:32 [notice] 66#66: start worker process 74
2019/11/17 18:32:32 [notice] 66#66: start worker process 77
2019/11/17 18:32:32 [notice] 66#66: start worker process 85
[17-Nov-2019 18:32:32] NOTICE: fpm is running, pid 67
[17-Nov-2019 18:32:32] NOTICE: ready to handle connections
2019-11-17 18:32:33,925 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-11-17 18:32:33,929 INFO success: php entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-11-17 18:32:33,929 INFO success: snmpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
- - - [17/Nov/2019:18:35:49 +0000] "GET / HTTP/1.1" 200 2289 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- -  17/Nov/2019:18:35:48 +0000 "GET /index.php" 200
- - - [17/Nov/2019:18:35:50 +0000] "GET /favicon.ico HTTP/1.1" 200 3669 "http://mylibrenmshost/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
2019/11/17 18:36:07 [info] 69#69: *2 client closed connection while waiting for request, client: 172.16.10.30, server: 0.0.0.0:80
- - - [17/Nov/2019:18:44:16 +0000] "GET / HTTP/1.1" 302 344 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- -  17/Nov/2019:18:44:15 +0000 "GET /index.php" 302
- - - [17/Nov/2019:18:44:16 +0000] "GET /login HTTP/1.1" 200 1960 "-" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- -  17/Nov/2019:18:44:16 +0000 "GET /index.php" 200
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/bootstrap.min.css HTTP/1.1" 200 25348 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/toastr.min.css HTTP/1.1" 200 2711 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/jquery-ui.min.css HTTP/1.1" 200 3719 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/jquery.bootgrid.min.css HTTP/1.1" 200 968 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/bootstrap-switch.min.css HTTP/1.1" 200 1552 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/bootstrap-datetimepicker.min.css HTTP/1.1" 200 1489 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/mktree.css HTTP/1.1" 200 591 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/tagmanager.css HTTP/1.1" 200 310 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/leaflet.css HTTP/1.1" 200 3874 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/vis.min.css HTTP/1.1" 200 5241 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/jquery.gridster.min.css HTTP/1.1" 200 1316 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/font-awesome.min.css HTTP/1.1" 200 7962 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/MarkerCluster.css HTTP/1.1" 200 274 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/MarkerCluster.Default.css HTTP/1.1" 200 429 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/L.Control.Locate.min.css HTTP/1.1" 200 263 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/leaflet.awesome-markers.css HTTP/1.1" 200 647 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:16 +0000] "GET /css/select2.min.css HTTP/1.1" 200 2532 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /css/select2-bootstrap.min.css HTTP/1.1" 200 2811 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /css/query-builder.default.min.css HTTP/1.1" 200 1178 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /css/styles.css?ver=20190912 HTTP/1.1" 200 11587 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/polyfill.min.js HTTP/1.1" 200 1272 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /css/light.css?ver=632417642 HTTP/1.1" 200 642 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/jquery.min.js HTTP/1.1" 200 38158 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/bootstrap.min.js HTTP/1.1" 200 11792 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/bootstrap-hover-dropdown.min.js HTTP/1.1" 200 690 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/bootstrap-switch.min.js HTTP/1.1" 200 3920 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/hogan-2.0.0.js HTTP/1.1" 200 5069 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/jquery.cycle2.min.js HTTP/1.1" 200 7967 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/moment.min.js HTTP/1.1" 200 19207 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/bootstrap-datetimepicker.min.js HTTP/1.1" 200 11045 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/typeahead.bundle.min.js HTTP/1.1" 200 16806 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/jquery-ui.min.js HTTP/1.1" 200 12371 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/tagmanager.js HTTP/1.1" 200 1945 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/mktree.js HTTP/1.1" 200 2069 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/jquery.bootgrid.min.js HTTP/1.1" 200 8488 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/handlebars.min.js HTTP/1.1" 200 23108 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/pace.min.js HTTP/1.1" 200 4862 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/jquery.lazyload.min.js HTTP/1.1" 200 1368 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/qrcode.min.js HTTP/1.1" 200 7900 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/lazyload.js HTTP/1.1" 200 680 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/select2.min.js HTTP/1.1" 200 22681 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/librenms.js?ver=20191025 HTTP/1.1" 200 4440 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/overlib_mini.js HTTP/1.1" 200 12066 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/toastr.min.js HTTP/1.1" 200 1515 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /js/boot.js HTTP/1.1" 200 635 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /images/librenms_logo_light.svg HTTP/1.1" 200 1968 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160 "http://mylibrenmshost/css/font-awesome.min.css" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:44:17 +0000] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- - - [17/Nov/2019:18:45:25 +0000] "POST /login HTTP/1.1" 500 5020 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- -  17/Nov/2019:18:45:25 +0000 "POST /index.php" 500
- - - [17/Nov/2019:18:45:33 +0000] "POST /login HTTP/1.1" 500 5020 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- -  17/Nov/2019:18:45:33 +0000 "POST /index.php" 500
2019/11/17 18:45:36 [info] 69#69: *14 client closed connection while waiting for request, client: 172.16.10.30, server: 0.0.0.0:80
- - - [17/Nov/2019:18:45:38 +0000] "POST /login HTTP/1.1" 302 344 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- -  17/Nov/2019:18:45:38 +0000 "POST /index.php" 302
- - - [17/Nov/2019:18:45:38 +0000] "GET /login HTTP/1.1" 200 2037 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- -  17/Nov/2019:18:45:38 +0000 "GET /index.php" 200
2019/11/17 18:45:47 [info] 69#69: *16 client closed connection while waiting for request, client: 172.16.10.30, server: 0.0.0.0:80
- - - [17/Nov/2019:18:45:47 +0000] "POST /login HTTP/1.1" 500 5020 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- -  17/Nov/2019:18:45:47 +0000 "POST /index.php" 500
2019/11/17 18:46:07 [info] 69#69: *19 client closed connection while waiting for request, client: 172.16.10.30, server: 0.0.0.0:80
- - - [17/Nov/2019:18:46:09 +0000] "POST /login HTTP/1.1" 500 5020 "http://mylibrenmshost/login" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
- -  17/Nov/2019:18:46:09 +0000 "POST /index.php" 500
2019/11/17 18:46:23 [info] 69#69: *22 client closed connection while waiting for request, client: 172.16.10.30, server: 0.0.0.0:80

Fresh install gives broken login page - "Cannot write to log file".

Behaviour

After a fresh install using docker-compose Librenms comes up broken with the error

Running the following commands will fix the issue most of the time:
Cannot write to log file: "/data/logs/librenms.log"
Make sure it exists and is writable, or change your LOG_DIR setting.

If using SELinux you may also need:
semanage fcontext -a -t httpd_sys_rw_content_t '/data/logs/librenms.log(/.*)?'

restorecon -RFv /data/logs/librenms.log

When running the validate.php script, it complains that the database needs to be migrated

root@librenms:/opt/librenms/logs# docker exec -it librenms ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 1.62.2
DB Schema | No Schema (0)
PHP       | 7.3.14
MySQL     | 10.2.31-MariaDB-1:10.2.31+maria~bionic
RRDTool   | 1.7.2
SNMP      | NET-SNMP 5.8
====================================

[OK]    Installed from the official Docker image; no Composer required
[OK]    Database connection successful
[FAIL]  Your database is out of date!
	[FIX]:
	./lnms migrate
[WARN]  IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN]  Updates are managed through the official Docker image

Log file permission before running ./lnms migrate

root@librenms:/opt/librenms/logs# ls -alh
total 108K
drwxrwxr-x 2 librenms librenms 4.0K Apr 12 09:59 .
drwxr-xr-x 9 librenms librenms 4.0K Apr 12 09:59 ..
-rw-r--r-- 1 root     root      99K Apr 12 10:01 librenms.log

Log file permissions and validate output after running ./lnms migrate

root@librenms:/opt/librenms/logs# ls -alh
total 264K
drwxrwxr-x 2 librenms librenms 4.0K Apr 12 09:59 .
drwxr-xr-x 9 librenms librenms 4.0K Apr 12 09:59 ..
-rw-r--r-- 1 root     root     255K Apr 12 10:03 librenms.log


root@librenms:/opt/librenms/logs# docker exec -it librenms ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 1.62.2
DB Schema | 2020_03_24_0844_add_primary_key_to_device_graphs (160)
PHP       | 7.3.14
MySQL     | 10.2.31-MariaDB-1:10.2.31+maria~bionic
RRDTool   | 1.7.2
SNMP      | NET-SNMP 5.8
====================================

[OK]    Installed from the official Docker image; no Composer required
[OK]    Database connection successful
[OK]    Database schema correct
[WARN]  IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN]  Updates are managed through the official Docker image

The login screen works after running the migration command.

Steps to reproduce this issue

  1. Fresh install using provided docker-compose file in repo

Expected behaviour

After install navigate to a working login screeen

Actual behaviour

Get a webpage reporting Cannot write to log file: "/data/logs/librenms.log"

Configuration

  • Docker version: Docker version 19.03.8, build afacb8b7f0
  • Docker compose version: docker-compose version 1.17.1, build unknown
  • Platform : Ubuntu 18.04
  • System info: Linux librenms 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • Include all necessary configuration files : docker-compose.yml, .env, ...

librenms.env

MEMORY_LIMIT=256M
UPLOAD_MAX_SIZE=16M
OPCACHE_MEM_SIZE=128
REAL_IP_FROM=0.0.0.0/32
REAL_IP_HEADER=X-Forwarded-For
LOG_IP_VAR=remote_addr

LIBRENMS_POLLER_THREADS=2
LIBRENMS_POLLER_INTERVAL=5

LIBRENMS_CRON_DISCOVERY_ENABLE=true
LIBRENMS_CRON_DAILY_ENABLE=true
LIBRENMS_CRON_ALERTS_ENABLE=true
LIBRENMS_CRON_BILLING_ENABLE=true
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE=true
LIBRENMS_CRON_CHECK_SERVICES_ENABLE=true
LIBRENMS_CRON_POLLER_ENABLE=true
LIBRENMS_CRON_SNMPSCAN_ENABLE=true
LIBRENMS_CRON_SNMPSCAN_NETS=10.1.0.0/16,10.2.0.0/16
LIBRENMS_CRON_SNMPSCAN_LOGFILE=/data/logs/snmp-scan.log

LIBRENMS_SNMP_COMMUNITY=*****
MEMCACHED_HOST=memcached
MEMCACHED_PORT=11211
RRDCACHED_HOST=rrdcached
RRDCACHED_PORT=42217

docker-compose.yml

version: "3.5"

services:
  db:
    image: mariadb:10.2
    container_name: librenms_db
    command:
      - "mysqld"
      - "--sql-mode="
      - "--innodb-file-per-table=1"
      - "--lower-case-table-names=0"
      - "--character-set-server=utf8"
      - "--collation-server=utf8_unicode_ci"
    volumes:
      - "/opt/librenms/db:/var/lib/mysql"
    environment:
      - "TZ=America/Los_Angeles"
      - "MYSQL_ALLOW_EMPTY_PASSWORD=yes"
      - "MYSQL_DATABASE=librenms"
      - "MYSQL_USER=librenms"
      - "MYSQL_PASSWORD=*****"
    restart: always

  memcached:
    image: memcached:alpine
    container_name: librenms_memcached
    environment:
      - "TZ=America/Los_Angeles"
    restart: always

  rrdcached:
    image: crazymax/rrdcached
    container_name: librenms_rrdcached
    volumes:
      - "/opt/librenms/rrd:/data/db"
      - "/opt/librenms/rrd-journal:/data/journal"
    environment:
      - "TZ=America/Los_Angeles"
      - "PUID=1337"
      - "PGID=1337"
      - "LOG_LEVEL=LOG_INFO"
      - "WRITE_TIMEOUT=1800"
      - "WRITE_JITTER=1800"
      - "WRITE_THREADS=4"
      - "FLUSH_DEAD_DATA_INTERVAL=3600"
    restart: always

  smtp:
    image: juanluisbaptiste/postfix
    container_name: librenms_smtp
    environment:
      - "SERVER_HOSTNAME=librenms.example.com"
      - "SMTP_SERVER=*****"
      - "SMTP_USERNAME=*****"
      - "SMTP_PASSWORD=*****"
    restart: always

  librenms:
    image: librenms/librenms:latest
    container_name: librenms
    domainname: example.com
    hostname: librenms
    ports:
      - target: 8000
        published: 80
        protocol: tcp
    depends_on:
      - db
      - memcached
      - rrdcached
      - smtp
    volumes:
      - "/opt/librenms:/data"
    environment:
      - "TZ=America/Los_Angeles"
      - "PUID=1337"
      - "PGID=1337"
      - "DB_HOST=db"
      - "DB_NAME=librenms"
      - "DB_USER=librenms"
      - "DB_PASSWORD=*****"
      - "DB_TIMEOUT=60"
    env_file:
      - "./librenms.env"
    restart: always

  cron:
    image: librenms/librenms:latest
    container_name: librenms_cron
    domainname: example.com
    hostname: librenms
    depends_on:
      - librenms
    volumes:
      - "/opt/librenms:/data"
    environment:
      - "TZ=America/Los_Angeles"
      - "PUID=1337"
      - "PGID=1337"
      - "DB_HOST=db"
      - "DB_NAME=librenms"
      - "DB_USER=librenms"
      - "DB_PASSWORD=*****"
      - "DB_TIMEOUT=60"
      - "SIDECAR_CRON=1"
    env_file:
      - "./librenms.env"
    restart: always

  syslog-ng:
    image: librenms/librenms:latest
    container_name: librenms_syslog
    domainname: example.com
    hostname: librenms
    depends_on:
      - librenms
    ports:
      - target: 514
        published: 514
        protocol: tcp
      - target: 514
        published: 514
        protocol: udp
    volumes:
      - "/opt/librenms:/data"
    environment:
      - "TZ=America/Los_Angeles"
      - "PUID=1337"
      - "PGID=1337"
      - "DB_HOST=db"
      - "DB_NAME=librenms"
      - "DB_USER=librenms"
      - "DB_PASSWORD=*****"
      - "DB_TIMEOUT=60"
      - "SIDECAR_SYSLOGNG=1"
    env_file:
      - "./librenms.env"
    restart: always

Docker info

Client:
 Debug Mode: false

Server:
 Containers: 8
  Running: 8
  Paused: 0
  Stopped: 0
 Images: 6
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-96-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 3.853GiB
 Name: librenms
 ID: DTSS:WIXD:TGOQ:NSIT:VLEE:4QN5:5RLB:I365:OHNF:ETIY:P7FH:IBZB
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support

CVE-2019-11043 ?

Hi LibreNMS Team,

yesterday there was a critical remote exploit nginx <--> php-fpm combination found.

May i ask if your image is affected?

I found the alpine image to run php 7.3.9 with php-fpm, therefore to my knowledge it should be vulnerable.

Thanks!

unable to docker-compose up -d

Behaviour

Steps to reproduce this issue

  1. copy the 3 example files from to /var/librenms as per the docker guide
  2. setup smtp & mysql db password, also change docker-compose.yml version to 2.0
  3. run docker-compose up-d

Expected behaviour

Docker to compose and have a running container

Actual behaviour

ERROR: The Compose file './docker-compose.yml' is invalid because:
services.traefik.ports is invalid: Invalid port "{'protocol': 'tcp', 'target': 443, 'published': 443}", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.traefik.ports contains an invalid type, it should be a string, or a number
services.syslog-ng.ports is invalid: Invalid port "{'protocol': 'tcp', 'target': 514, 'published': 514}", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.syslog-ng.ports contains an invalid type, it should be a string, or a number
services.traefik.ports is invalid: Invalid port "{'protocol': 'tcp', 'target': 80, 'published': 80}", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.traefik.ports contains an invalid type, it should be a string, or a number
services.syslog-ng.ports is invalid: Invalid port "{'protocol': 'udp', 'target': 514, 'published': 514}", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.syslog-ng.ports contains an invalid type, it should be a string, or a number

Configuration

  • Docker version (type docker --version) : Docker version 18.09.2, build 6247962
  • Docker compose version if applicable (type docker-compose --version) : docker-compose version 1.8.0, build unknown
  • Platform (Debian 9, Ubuntu 18.04, ...) : Ubuntu 16.04 LTS
  • Include all necessary configuration files : docker-compose.yml, .env, ...

TZ isn't used

The TZ Environment variable isn't used as far as I can tell; it probably should be used to configure the php timezone.

LibreNMS config validation says:

Fail: Time between this server and the mysql database is off Mysql time 2019-11-29 08:39:53 PHP time 2019-11-29 07:39:53

The Mysql server uses Europe/Berlin (run in a "standard" debian environment, not docker), and I configured TZ=Europe/Berlin for LibreNMS, but it obviously uses UTC.

Multiple discovery threads ?

Hello.

I think it would be interesting to support multiple discovery threads (as it's currently hardcoded to 1 in the crontab file) like the multiple pollers thread.

I see data randomly disapearing from the devices (like the IPs), I think it's because the whole discovery process take too long with a single thread. (running manually the discovery on just the ipv4 and ipv6 modules make them appear back typically)

Also I think it could be interesting to have an easy way to add custom lines in the cron file

Thanks.

ipmitool location does not exist

Behaviour

IPMI does not work out of the box with Docker versions of LibreNMS

Steps to reproduce this issue

  1. Fresh Docker container
  2. docker exec -it librenms /bin/bash
  3. Configure a host in LibreNMS with appropriate IPMI hostname and credentials
  4. ./poller.php -h yourhost -m ipmi

Expected behaviour

ipmitool is found and used

Actual behaviour

Logs will scroll past, and briefly it will complain about being unable to locate /usr/sbin/ipmitool. No IPMI data will be discovered

Configuration

  • Docker version (type docker --version) : 18.09.6, build 481bc77
  • Docker compose version if applicable (type docker-compose --version) : 1.24.0, build 0aa59064
  • Platform (Debian 9, Ubuntu 18.04, ...) : Ubuntu 18.04.2 LTS

It would appear that the default is to use /usr/bin/ipmitool, yet the binary exists in /usr/sbin/ipmitool. The install can be tweaked by including

<?php
$config['ipmitool'] = "/usr/sbin/ipmitool";

in data/config/ipmitool.php, but it might be nice to include this by default somehow.

usermod takes too long

Hi,

We have been running librenms on docker for about a year.

Now we're having a problem when try to start a new instance of Web UI.

Every time a container with this image starts, there is a usermod command to change the UID of librenms user so it can match rrd files owner on the filesystem. It takes for ever. We have about 200G of rrd data for about 3k devices. We can't set healthcheck correctly because it has to wait too much.

How can this be fixed?

usermod -u ${PUID} librenms

X-Forwarded-* traefik forwardedHeaders

1st thanks for all the work.

I was looking on the Docker-composer logs -f and found the IP of the overlay for the host traefik
172.xx.0.4 /proxy/

know the real ip may be usefull...

reading documentation traefik already had this option
https://docs.traefik.io/configuration/entrypoints/#forwarded-header

[entryPoints]
  [entryPoints.http]
    address = ":80"

    # Enable Forwarded Headers
    [entryPoints.http.forwardedHeaders]
      # List of trusted IPs
      #
      # Required
      # Default: []
      #
      trustedIPs = ["127.0.0.1/32", "192.168.1.7"]

also the ngnix may need a tweek
docker/assets/tpls/etc/nginx/nginx.conf

log_format main '$http_x_forwarded_for - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent "$http_referer" '
'"$http_user_agent"' ;
    access_log /proc/1/fd/1 main;

openvas detects missing cookie atribute

Hi librenms team!

yesterday i ran a scan using openvas and it detected an missing cookie atribute:

The cookies:

Set-Cookie: XSRF-TOKEN=longcookieid; expires=Wed, 27-Nov-2019 17:18:06 GMT; Max-Age=***replaced***; path=/ 

are missing the "httpOnly" attribute.
The flaw is due to a cookie is not using the 'httpOnly' attribute. This allows a cookie to be accessed by JavaScript which could lead to session hijacking attacks.

is this something to be concerned about?

thanks!
regards

Sudo Not Installed

Fresh install of librenms and trying to ensure results of validate are satisfied.

Running ./daily.sh by hand results in this...
/opt/librenms # ./daily.sh Re-running /opt/librenms/daily.sh as librenms user ./daily.sh: line 166: sudo: command not found /opt/librenms #

How should I proceed in fixing this?

can not connect to librenms gui - 404 page not found

I am trying to test the setup with the docker-compose file provided in example.
However when all containers start, I can not connect to the GUI. The page says 404 page not found.

Doing a docker-compose log -f shows following:

app_1        | Setting timezone to Americas/Toronto...
app_1        | Checking if librenms UID / GID has changed...
app_1        | Setting PHP-FPM configuration...
app_1        | Setting OpCache configuration...
app_1        | Setting Nginx configuration...
app_1        | Updating SNMP community...
app_1        | Initializing LibreNMS files / folders...
app_1        | Setting LibreNMS configuration...
app_1        | Fixing permissions...
app_1        | Checking additional Monitoring plugins...
app_1        | Waiting 30s for database to be ready...
app_1        | ERROR: Failed to connect to database on db
traefik_1    | time="2018-10-23T17:42:59Z" level=warning msg="Unable to find the IP address for the container \"/librenms_app_1\": the server is ignored."

Any help is appreciated.

MacOS not supported?

Behaviour

Steps to reproduce this issue

  1. Run docker-compose up -d on MacOS 10.15 using default env and compose file.

Expected behaviour

Runs successfully and brings container up.

Actual behaviour

Creating librenms_smtp      ... error

ERROR: for librenms_smtp  Cannot start service smtp: Mounts denied:
The path /etc/localtime
Creating librenms_db        ... done
Creating librenms_memcached ... done
Creating librenms_rrdcached ... done
.

ERROR: for smtp  Cannot start service smtp: Mounts denied:
The path /etc/localtime
is not shared from OS X and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.
.
ERROR: Encountered errors while bringing up the project.

Configuration

  • Docker version (type docker --version) : Docker version 19.03.8, build afacb8b
  • Docker compose version if applicable (type docker-compose --version) : docker-compose version 1.25.4, build 8d51620a
  • Platform (Debian 9, Ubuntu 18.04, ...) : macOS 10.15.4 (19E266)
  • System info (type uname -a) : Darwin Jordans-MBP.attlocal.net 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
  • Include all necessary configuration files : docker-compose.yml, .env,: Defaults from repo

Docker info

Client:
 Debug Mode: false

Server:
 Containers: 11
  Running: 5
  Paused: 0
  Stopped: 6
 Images: 37
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.76-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 1.943GiB
 Name: docker-desktop
 ID: PGS6:AFKN:BTQB:2644:NMB7:NIUT:AP33:RIGI:4BQD:3WHS:ZT4M:LTLB
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 89
  Goroutines: 96
  System Time: 2020-04-05T22:29:28.085081508Z
  EventsListeners: 4
 HTTP Proxy: gateway.docker.internal:3128
 HTTPS Proxy: gateway.docker.internal:3129
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

Logs

> Container logs (set LOG_LEVEL to debug if applicable)

compose file hostname and domainname

in .env file there are hostname end domainname variables.
i expected that it takes them for app "traefik.frontend.rule="

but, it takes baremetal host's hostname and domainname.
I tried to run it in my local docker and atomic.
because of the name issue it returns 404 not found.
I solved it by changing "traefik.frontend.rule=${HOSTNAME}.${DOMAINNAME}" into "traefik.frontend.rule=mynms.example.com" and defined it in my dns

Custom configuration not applied

Hi there!

I've been using LibreNMS for a while, and recently moved to a docker deployment. I used custom configuration options in my previous installation, but they don't seem to work in the Docker version.

As per the README.md, I created the following file in data/config/locationmapping.php:

<?php
$config['location_map']['Home'] = "Stationsplein 33, 7511 JD Enschede";

When I visit https://[librenms]/settings/, I can see it has been picked up:
config page

However, if I then check https://[librenms]/devices, I see the following. If I'm not mistaken, "Home" should have been replaced with my configuration setting.
devices page

Am I missing something? Or is there something broken?

Thanks in advance!

exited with code 1

Behaviour

Steps to reproduce this issue

  1. docker-composer up -d

Expected behaviour

excute # docker-composer up -d

no error messages.

Actual behaviour

excute # docker-composer up -d
logs show exited with coded as below

librenms exited with code 1
librenms_cron exited with code 1
librenms_syslog exited with code 1

Configuration

  • Docker version (type docker --version) :Docker version 1.13.1, build b2f74b2/1.13.1

  • Docker compose version if applicable (type docker-compose --version) : docker-compose version 1.25.4, build 8d51620a

  • Platform (Debian 9, Ubuntu 18.04, ...) : CentOS 7

  • System info (type uname -a) : Linux docker01.m1.am 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

  • Include all necessary configuration files : docker-compose.yml, .env, ...

Docker info

> Output of command `docker info`
Containers: 7
 Running: 4
 Paused: 0
 Stopped: 3
Images: 9
Server Version: 1.13.1
Storage Driver: overlay2
 Backing Filesystem: xfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: docker-runc runc
Default Runtime: docker-runc
Init Binary: /usr/libexec/docker/docker-init-current
containerd version:  (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)
runc version: 9c3c5f853ebf0ffac0d087e94daef462133b69c7 (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)
init version: fec3683b971d9c3ef73f284f176672c44b448662 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
 seccomp
  WARNING: You're not using the default seccomp profile
  Profile: /etc/docker/seccomp.json
 selinux
Kernel Version: 3.10.0-957.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 3
CPUs: 1
Total Memory: 1.795 GiB
Name: docker01.m1.am
ID: LSQ5:U6AM:4UWT:SAW2:5EAG:3X4L:5C2W:MD3Y:A24X:UOO6:C477:NCHW
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Registries: docker.io (secure)


### Logs

Container logs (set LOG_LEVEL to debug if applicable)

cron_1       | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
cron_1       | [s6-init] ensuring user provided files have correct perms...exited 0.
cron_1       | [fix-attrs.d] applying ownership & permissions fixes...
cron_1       | [fix-attrs.d] done.
cron_1       | [cont-init.d] executing container initialization scripts...
cron_1       | [cont-init.d] 00-fix-logs.sh: executing...
cron_1       | [cont-init.d] 00-fix-logs.sh: exited 0.
cron_1       | [cont-init.d] 01-fix-uidgid.sh: executing...
cron_1       | [cont-init.d] 01-fix-uidgid.sh: exited 0.
cron_1       | [cont-init.d] 02-fix-perms.sh: executing...
cron_1       | Fixing perms...
cron_1       | chown: cannot access '/var/run/nginx': No such file or directory
cron_1       | chown: cannot access '/var/run/php-fpm': No such file or directory
cron_1       | [cont-init.d] 02-fix-perms.sh: exited 1.
cron_1       | [cont-finish.d] executing container finish scripts...
cron_1       | [cont-finish.d] done.
cron_1       | [s6-finish] waiting for services.
cron_1       | [s6-finish] sending all processes the TERM signal.
cron_1       | [s6-finish] sending all processes the KILL signal and exiting.
librenms     | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
librenms     | [s6-init] ensuring user provided files have correct perms...exited 0.
librenms     | [fix-attrs.d] applying ownership & permissions fixes...
librenms     | [fix-attrs.d] done.
librenms     | [cont-init.d] executing container initialization scripts...
librenms     | [cont-init.d] 00-fix-logs.sh: executing...
librenms     | [cont-init.d] 00-fix-logs.sh: exited 0.
librenms     | [cont-init.d] 01-fix-uidgid.sh: executing...
librenms     | [cont-init.d] 01-fix-uidgid.sh: exited 0.
librenms     | [cont-init.d] 02-fix-perms.sh: executing...
librenms     | Fixing perms...
librenms     | [cont-init.d] 02-fix-perms.sh: exited 1.
librenms     | chown: cannot access '/var/run/nginx': No such file or directory
librenms     | chown: cannot access '/var/run/php-fpm': No such file or directory
librenms     | [cont-finish.d] executing container finish scripts...
librenms     | [cont-finish.d] done.
librenms     | [s6-finish] waiting for services.
librenms     | [s6-finish] sending all processes the TERM signal.
librenms     | [s6-finish] sending all processes the KILL signal and exiting.
rrdcached_1  | Creating configuration...
rrdcached_1  | Fixing perms...
rrdcached_1  | starting up
rrdcached_1  | checking for journal files
rrdcached_1  | replaying from journal: /data/journal/rrd.journal.1584355556.102128
rrdcached_1  | Replayed 0 entries (0 failures)
rrdcached_1  | replaying from journal: /data/journal/rrd.journal.1584355721.072680
rrdcached_1  | Replayed 0 entries (0 failures)
rrdcached_1  | journal processing complete
rrdcached_1  | listening for connections
smtp_1       | Setting configuration option myhostname with value: librenms.example.com
smtp_1       | Setting configuration option mydomain with value: example.com
smtp_1       | Setting configuration option mydestination with value: $myhostname
smtp_1       | Setting configuration option myorigin with value: $mydomain
smtp_1       | Setting configuration option relayhost with value: [smtp.example.com]:587
smtp_1       | Setting configuration option smtp_use_tls with value: yes
smtp_1       | Setting configuration option smtp_sasl_auth_enable with value: yes
smtp_1       | Setting configuration option smtp_sasl_password_maps with value: hash:/etc/postfix/sasl_passwd
smtp_1       | Setting configuration option smtp_sasl_security_options with value: noanonymous
smtp_1       | Adding SASL authentication configuration
smtp_1       | Setting configuration option mynetworks with value: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
smtp_1       | /usr/lib/python2.7/site-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
smtp_1       |   'Supervisord is running as root and it is searching '
smtp_1       | 2020-03-16 07:00:21,953 CRIT Supervisor running as root (no user in config file)
smtp_1       | 2020-03-16 07:00:21,953 WARN Included extra file "/etc/supervisord.d/postfix.ini" during parsing
smtp_1       | 2020-03-16 07:00:21,953 WARN Included extra file "/etc/supervisord.d/readlog.ini" during parsing
smtp_1       | 2020-03-16 07:00:21,953 WARN Included extra file "/etc/supervisord.d/rsyslog.ini" during parsing
smtp_1       | 2020-03-16 07:00:21,975 INFO RPC interface 'supervisor' initialized
smtp_1       | 2020-03-16 07:00:21,975 CRIT Server 'unix_http_server' running without any HTTP authentication checking
smtp_1       | 2020-03-16 07:00:21,975 INFO supervisord started with pid 1
smtp_1       | 2020-03-16 07:00:22,977 INFO spawned: 'master' with pid 25
smtp_1       | 2020-03-16 07:00:22,983 INFO spawned: 'readlog' with pid 26
smtp_1       | 2020-03-16 07:00:22,985 INFO spawned: 'rsyslog' with pid 27
smtp_1       | 2020-03-16 07:00:23,405 INFO success: master entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
smtp_1       | 2020-03-16 07:00:23,405 INFO exited: master (exit status 0; expected)
smtp_1       | 2020-03-16 07:00:24,406 INFO success: readlog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
smtp_1       | 2020-03-16 07:00:24,406 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
librenms_syslog | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
librenms_syslog | [s6-init] ensuring user provided files have correct perms...exited 0.
librenms_syslog | [fix-attrs.d] applying ownership & permissions fixes...
librenms_syslog | [fix-attrs.d] done.
librenms_syslog | [cont-init.d] executing container initialization scripts...
librenms_syslog | [cont-init.d] 00-fix-logs.sh: executing...
librenms_syslog | [cont-init.d] 00-fix-logs.sh: exited 0.
librenms_syslog | [cont-init.d] 01-fix-uidgid.sh: executing...
librenms_syslog | [cont-init.d] 01-fix-uidgid.sh: exited 0.
librenms_syslog | [cont-init.d] 02-fix-perms.sh: executing...
librenms_syslog | Fixing perms...
librenms_syslog | chown: cannot access '/var/run/nginx': No such file or directory
librenms_syslog | chown: cannot access '/var/run/php-fpm': No such file or directory
librenms_syslog | [cont-init.d] 02-fix-perms.sh: exited 1.
librenms_syslog | [cont-finish.d] executing container finish scripts...
librenms_syslog | [cont-finish.d] done.
librenms_syslog | [s6-finish] waiting for services.
librenms_syslog | [s6-finish] sending all processes the TERM signal.
librenms_syslog | [s6-finish] sending all processes the KILL signal and exiting.

#  docker logs librenms
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-fix-logs.sh: executing...
[cont-init.d] 00-fix-logs.sh: exited 0.
[cont-init.d] 01-fix-uidgid.sh: executing...
[cont-init.d] 01-fix-uidgid.sh: exited 0.
[cont-init.d] 02-fix-perms.sh: executing...
Fixing perms...
[cont-init.d] 02-fix-perms.sh: exited 1.
chown: cannot access '/var/run/nginx': No such file or directory
chown: cannot access '/var/run/php-fpm': No such file or directory
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Changing default values in .env breaks docker-compose

Has anyone tried changing a value from the default in the .env or librenms.env then ran docker-compose up ? it seems your environment variables are hardcoded into the librenms image.

db_1 | 2019-01-16 17:32:09 140260204840704 [Warning] Access denied for user 'librenms'@'172.19.0.8' (using password: YES) db_1 | 2019-01-16 17:32:09 140260204840704 [Warning] Access denied for user 'librenms'@'172.19.0.8' (using password: YES) db_1 | 2019-01-16 17:32:09 140260204840704 [Warning] Access denied for user 'librenms'@'172.19.0.8' (using password: YES)

Unable to start after upgrade

I have a working installation however when I do a docker-compose pull and up -d I can't connect anymore to the webinterface. I can see that it is listening on port 80 but I just get the unable to connect message in the browser.
However the logs seem to be okay.

docker-compose.yml

version: "3.5"

services:
  db:
    image: mariadb:10.2
    container_name: librenms_db
    command:
      - "mysqld"
      - "--sql-mode="
      - "--innodb-file-per-table=1"
      - "--lower-case-table-names=0"
      - "--character-set-server=utf8"
      - "--collation-server=utf8_unicode_ci"
    volumes:
      - "./db:/var/lib/mysql"
    environment:
      - "TZ=${TZ}"
      - "MYSQL_ALLOW_EMPTY_PASSWORD=yes"
      - "MYSQL_DATABASE=${MYSQL_DATABASE}"
      - "MYSQL_USER=${MYSQL_USER}"
      - "MYSQL_PASSWORD=${MYSQL_PASSWORD}"
    env_file:
      - "./librenms.env"
    restart: always

  memcached:
    image: memcached:alpine
    container_name: librenms_memcached
    environment:
      - "TZ=${TZ}"
    env_file:
      - "./librenms.env"
    restart: always

  rrdcached:
    image: crazymax/rrdcached
    container_name: librenms_rrdcached
    volumes:
      - "./librenms/rrd:/data/db"
      - "./rrd-journal:/data/journal"
    environment:
      - "TZ=${TZ}"
      - "LOG_LEVEL=LOG_INFO"
      - "WRITE_TIMEOUT=1800"
      - "WRITE_JITTER=1800"
      - "WRITE_THREADS=4"
      - "FLUSH_DEAD_DATA_INTERVAL=3600"
    env_file:
      - "./librenms.env"
    restart: always

  smtp:
    image: juanluisbaptiste/postfix
    container_name: librenms_smtp
    volumes:
      - "/etc/localtime:/etc/localtime:ro"
    environment:
      - "SERVER_HOSTNAME=librenms.example.com"
      - "SMTP_SERVER=${SMTP_SERVER}"
      - "SMTP_USERNAME=${SMTP_USERNAME}"
      - "SMTP_PASSWORD=${SMTP_PASSWORD}"
    env_file:
      - "./librenms.env"
    restart: always

  librenms:
    image: librenms/librenms
    container_name: librenms
    domainname: 2li.local
    hostname: librenms
    ports:
      - target: 80
        published: 80
        protocol: tcp
    depends_on:
      - db
      - memcached
      - rrdcached
      - smtp
    volumes:
      - "./librenms:/data"
   environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=30"
    env_file:
      - "./librenms.env"
    restart: always

  cron:
    image: librenms/librenms
    container_name: librenms_cron
    domainname: 2li.local
    hostname: librenms
    depends_on:
      - librenms
    volumes:
      - "./librenms:/data"
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=30"
      - "SIDECAR_CRON=1"
    env_file:
      - "./librenms.env"
    restart: always

  syslog-ng:
    image: librenms/librenms
    container_name: librenms_syslog
    domainname: 2li.local
    hostname: librenms
    depends_on:
      - librenms
    ports:
      - target: 514
        published: 514
        protocol: udp
    volumes:
      - "./librenms:/data"
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=60"
      - "SIDECAR_SYSLOGNG=1"
    env_file:
      - "./librenms.env"
    restart: always 

docker-compose logs

ron_1       | crond: crond (busybox 1.30.1) started, log level 8
cron_1       | [services.d] done.
db_1         | 2020-01-22  8:11:07 140434715780416 [Note] Plugin 'FEEDBACK' is disabled.
db_1         | 2020-01-22  8:11:07 140434715780416 [Note] Server socket created on IP: '::'.
db_1         | 2020-01-22  8:11:07 140434715780416 [Warning] 'proxies_priv' entry '@% root@21013d357906' ignored in --skip-name-resolve mode.
db_1         | 2020-01-22  8:11:07 140434715780416 [Note] Reading of all Master_info entries succeeded
db_1         | 2020-01-22  8:11:07 140434715780416 [Note] Added new Master_info '' to hash table
db_1         | 2020-01-22  8:11:07 140434715780416 [Note] mysqld: ready for connections.
db_1         | Version: '10.2.30-MariaDB-1:10.2.30+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
librenms     | Database ready!
librenms     | Updating database schema...
smtp_1       | Jan 22 08:11:06 57d14c66d525 postfix/postfix-script[96]: starting the Postfix mail system
smtp_1       | Jan 22 08:11:06 57d14c66d525 postfix/master[98]: daemon started -- version 2.10.1, configuration /etc/postfix
librenms     | Nothing to migrate.
librenms     | [cont-init.d] 04-svc-main.sh: exited 0.
librenms     | [cont-init.d] 05-svc-cron.sh: executing...
librenms     | [cont-init.d] 05-svc-cron.sh: exited 0.
librenms     | [cont-init.d] 06-svc-syslogng.sh: executing...
librenms     | [cont-init.d] 06-svc-syslogng.sh: exited 0.
librenms     | [cont-init.d] done.
librenms     | [services.d] starting services
librenms     | [services.d] done.
librenms     | 2020/01/22 08:11:08 [notice] 341#341: using the "epoll" event method
librenms     | 2020/01/22 08:11:08 [notice] 341#341: nginx/1.16.1
librenms     | 2020/01/22 08:11:08 [notice] 341#341: OS: Linux 4.9.0-11-amd64
librenms     | 2020/01/22 08:11:08 [notice] 341#341: getrlimit(RLIMIT_NOFILE): 1048576:1048576
librenms     | 2020/01/22 08:11:08 [notice] 341#341: start worker processes
librenms     | 2020/01/22 08:11:08 [notice] 341#341: start worker process 356
librenms     | 2020/01/22 08:11:08 [notice] 341#341: start worker process 357
librenms     | 2020/01/22 08:11:08 [notice] 341#341: start worker process 358
librenms     | 2020/01/22 08:11:08 [notice] 341#341: start worker process 368
librenms     | [22-Jan-2020 08:11:08] NOTICE: fpm is running, pid 342
librenms     | [22-Jan-2020 08:11:08] NOTICE: ready to handle connections
db_1         | 2020-01-22  8:11:11 140433418090240 [Note] InnoDB: Buffer pool(s) load completed at 200122  8:11:11
cron_1       | crond: USER librenms pid 325 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
cron_1       | crond: USER librenms pid 326 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
cron_1       | crond: USER librenms pid 327 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
cron_1       | crond: USER librenms pid 328 cmd /opt/librenms/discovery.php -h new >> /dev/null 2>&1
cron_1       | crond: USER librenms pid 329 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
cron_1       | crond: USER librenms pid 330 cmd /opt/librenms/poll-billing.php >> /dev/null 2>&1

Unable to get rrdcached working with example compose file

Behaviour

When running the docker compose file with own variables the created directories are not being created with the correct UID & GID. mariadb is taking 999:999 and the other ones are just using 0:0 even though I overruled them with 1000:1000.

rrdcached is then complaining it cannot write to that directory. So I'm unsure what is going wrong. I already tried to create the mysql user and group id's and assigning those in the .env but without solving the issue.

Steps to reproduce this issue

  1. Use the files from down below to start docker-compose. See the result in the logs.

Expected behaviour

rrdcached should be working

Actual behaviour

rrdcached is complainging about file permissions even though everything is set correctly.

Configuration

  • Docker version (type docker --version) : Docker version 19.03.4, build 9013bf583a
  • Docker compose version if applicable (type docker-compose --version) : docker-compose version 1.24.1, build 4667896b
  • Platform (Debian 9, Ubuntu 18.04, ...) : Debian 9.11
  • Include all necessary configuration files : docker-compose.yml, .env, ...

Docker info

$Client:
 Debug Mode: false

Server:
 Containers: 8
  Running: 7
  Paused: 0
  Stopped: 1
 Images: 6
 Server Version: 19.03.4
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.9.0-9-amd64
 Operating System: Debian GNU/Linux 9 (stretch)
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31.38GiB
 Name: thanos
 ID: MQQ4:SQAG:6T2K:NNJC:GX5K:J7HT:53UI:25F3:E3B7:2RHY:23YH:K6JU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support

Logs

librenms_syslog | Setting timezone to Europe/Paris...
librenms_syslog | Checking if librenms UID / GID has changed...
librenms_syslog | Setting PHP-FPM configuration...
librenms_syslog | Setting PHP INI configuration...
librenms_syslog | Setting OpCache configuration...
librenms_syslog | Setting Nginx configuration...
librenms_syslog | Updating SNMP community...
librenms_syslog | Initializing LibreNMS files / folders...
librenms_syslog | Setting LibreNMS configuration...
librenms_syslog | Fixing permissions...
librenms_syslog | Checking additional Monitoring plugins...
librenms_syslog | >>
librenms_syslog | >> Sidecar syslog-ng container detected
librenms_syslog | >>
librenms_syslog | 2019-10-20 17:27:38,448 INFO Included extra file "/etc/supervisord/syslog-ng.conf" during parsing
librenms_syslog | 2019-10-20 17:27:38,448 INFO Set uid to user 0 succeeded
librenms_syslog | 2019-10-20 17:27:38,454 INFO RPC interface 'supervisor' initialized
librenms_syslog | 2019-10-20 17:27:38,454 CRIT Server 'unix_http_server' running without any HTTP authentication checking
librenms_syslog | 2019-10-20 17:27:38,454 INFO supervisord started with pid 1
librenms_syslog | 2019-10-20 17:27:39,456 INFO spawned: 'syslog-ng' with pid 44
librenms_syslog | [2019-10-20T17:27:39.460875] WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.19 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file.;
librenms_syslog | [2019-10-20T17:27:39.462539] WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!;
librenms_syslog | 2019-10-20 17:27:40,463 INFO success: syslog-ng entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
librenms     | Setting timezone to Europe/Paris...
librenms     | Checking if librenms UID / GID has changed...
librenms     | Setting PHP-FPM configuration...
librenms     | Setting PHP INI configuration...
librenms     | Setting OpCache configuration...
librenms     | Setting Nginx configuration...
librenms     | Updating SNMP community...
librenms     | Initializing LibreNMS files / folders...
librenms     | Setting LibreNMS configuration...
librenms     | Fixing permissions...
librenms     | Checking additional Monitoring plugins...
librenms     | Waiting 30s for database to be ready...
librenms     | ERROR: Failed to connect to database on db
librenms     | Setting timezone to Europe/Paris...
librenms     | Checking if librenms UID / GID has changed...
librenms     | Setting PHP-FPM configuration...
librenms     | Setting PHP INI configuration...
librenms     | Setting OpCache configuration...
librenms     | Setting Nginx configuration...
librenms     | Updating SNMP community...
librenms     | Initializing LibreNMS files / folders...
librenms     | Setting LibreNMS configuration...
librenms     | Fixing permissions...
librenms     | Checking additional Monitoring plugins...
librenms     | rm: cannot remove '/etc/supervisord/cron.conf': No such file or directory
librenms     | rm: cannot remove '/etc/supervisord/syslog-ng.conf': No such file or directory
librenms     | Waiting 30s for database to be ready...
librenms     | ERROR: Failed to connect to database on db
librenms     | Setting timezone to Europe/Paris...
librenms     | Checking if librenms UID / GID has changed...
librenms     | Setting PHP-FPM configuration...
librenms     | Setting PHP INI configuration...
librenms     | Setting OpCache configuration...
librenms     | Setting Nginx configuration...
librenms     | Updating SNMP community...
librenms     | Initializing LibreNMS files / folders...
librenms     | Setting LibreNMS configuration...
librenms     | Fixing permissions...
librenms     | Checking additional Monitoring plugins...
librenms     | rm: cannot remove '/etc/supervisord/cron.conf': No such file or directory
librenms     | rm: cannot remove '/etc/supervisord/syslog-ng.conf': No such file or directory
librenms     | Waiting 30s for database to be ready...
librenms     | Database ready!
librenms     | Updating database schema...
librenms     | Failed to acquire lock schema
librenms     | Creating admin user...
librenms     | 
librenms     | In StreamHandler.php line 107:
librenms     |                                                                                
librenms     |   The stream or file "/opt/librenms/logs/librenms.log" could not be opened: f  
librenms     |   ailed to open stream: Permission denied                                      
librenms     |                                                                                
librenms     | 
librenms     | 2019-10-20 17:28:45,166 INFO Included extra file "/etc/supervisord/nginx.conf" during parsing
librenms     | 2019-10-20 17:28:45,166 INFO Included extra file "/etc/supervisord/php.conf" during parsing
librenms     | 2019-10-20 17:28:45,166 INFO Included extra file "/etc/supervisord/snmpd.conf" during parsing
librenms     | 2019-10-20 17:28:45,166 INFO Set uid to user 0 succeeded
librenms     | 2019-10-20 17:28:45,172 INFO RPC interface 'supervisor' initialized
librenms     | 2019-10-20 17:28:45,172 CRIT Server 'unix_http_server' running without any HTTP authentication checking
librenms     | 2019-10-20 17:28:45,172 INFO supervisord started with pid 1
librenms     | 2019-10-20 17:28:46,175 INFO spawned: 'nginx' with pid 70
librenms     | 2019-10-20 17:28:46,178 INFO spawned: 'php' with pid 71
librenms     | 2019-10-20 17:28:46,179 INFO spawned: 'snmpd' with pid 72
librenms     | 2019/10/20 17:28:46 [notice] 70#70: using the "epoll" event method
librenms     | 2019/10/20 17:28:46 [notice] 70#70: nginx/1.16.1
librenms     | 2019/10/20 17:28:46 [notice] 70#70: OS: Linux 4.9.0-9-amd64
librenms     | 2019/10/20 17:28:46 [notice] 70#70: getrlimit(RLIMIT_NOFILE): 1048576:1048576
librenms     | 2019/10/20 17:28:46 [notice] 70#70: start worker processes
librenms     | 2019/10/20 17:28:46 [notice] 70#70: start worker process 73
librenms     | 2019/10/20 17:28:46 [notice] 70#70: start worker process 74
librenms     | 2019/10/20 17:28:46 [notice] 70#70: start worker process 75
librenms     | 2019/10/20 17:28:46 [notice] 70#70: start worker process 76
librenms     | 2019/10/20 17:28:46 [notice] 70#70: start worker process 77
librenms     | 2019/10/20 17:28:46 [notice] 70#70: start worker process 78
librenms     | 2019/10/20 17:28:46 [notice] 70#70: start worker process 79
librenms     | 2019/10/20 17:28:46 [notice] 70#70: start worker process 83
librenms     | [20-Oct-2019 17:28:46] NOTICE: fpm is running, pid 71
librenms     | [20-Oct-2019 17:28:46] NOTICE: ready to handle connections
librenms     | 2019-10-20 17:28:47,209 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
librenms     | 2019-10-20 17:28:47,209 INFO success: php entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
librenms     | 2019-10-20 17:28:47,209 INFO success: snmpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
db_1         | Initializing database
db_1         | 
db_1         | 
db_1         | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
db_1         | To do so, start the server, then issue the following commands:
db_1         | 
db_1         | '/usr/bin/mysqladmin' -u root password 'new-password'
db_1         | '/usr/bin/mysqladmin' -u root -h  password 'new-password'
db_1         | 
db_1         | Alternatively you can run:
db_1         | '/usr/bin/mysql_secure_installation'
db_1         | 
db_1         | which will also give you the option of removing the test
db_1         | databases and anonymous user created by default.  This is
db_1         | strongly recommended for production servers.
db_1         | 
db_1         | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
db_1         | MySQL manual for more instructions.
db_1         | 
db_1         | Please report any problems at http://mariadb.org/jira
db_1         | 
db_1         | The latest information about MariaDB is available at http://mariadb.org/.
db_1         | You can find additional information about the MySQL part at:
db_1         | http://dev.mysql.com
db_1         | Consider joining MariaDB's strong and vibrant community:
db_1         | https://mariadb.org/get-involved/
db_1         | 
db_1         | Database initialized
db_1         | MySQL init process in progress...
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] mysqld (mysqld 10.2.27-MariaDB-1:10.2.27+maria~bionic) starting as process 108 ...
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Uses event mutexes
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Using Linux native AIO
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Number of pools: 1
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Using SSE2 crc32 instructions
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Completed initialization of buffer pool
db_1         | 2019-10-20 17:27:36 140307321644800 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Highest supported file format is Barracuda.
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: 128 out of 128 rollback segments are active.
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] InnoDB: 5.7.27 started; log sequence number 1619987
db_1         | 2019-10-20 17:27:36 140307152746240 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] Plugin 'FEEDBACK' is disabled.
db_1         | 2019-10-20 17:27:36 140308044023104 [Warning] 'user' entry 'root@28a036cf7b3c' ignored in --skip-name-resolve mode.
db_1         | 2019-10-20 17:27:36 140308044023104 [Warning] 'proxies_priv' entry '@% root@28a036cf7b3c' ignored in --skip-name-resolve mode.
db_1         | 2019-10-20 17:27:36 140307152746240 [Note] InnoDB: Buffer pool(s) load completed at 191020 17:27:36
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] Reading of all Master_info entries succeeded
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] Added new Master_info '' to hash table
db_1         | 2019-10-20 17:27:36 140308044023104 [Note] mysqld: ready for connections.
db_1         | Version: '10.2.27-MariaDB-1:10.2.27+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
db_1         | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
db_1         | 2019-10-20 17:28:42 140307860207360 [Warning] 'proxies_priv' entry '@% root@28a036cf7b3c' ignored in --skip-name-resolve mode.
db_1         | 
db_1         | 2019-10-20 17:28:42 140307857843968 [Note] mysqld (initiated by: unknown): Normal shutdown
db_1         | 2019-10-20 17:28:42 140307857843968 [Note] Event Scheduler: Purging the queue. 0 events
db_1         | 2019-10-20 17:28:42 140307269170944 [Note] InnoDB: FTS optimize thread exiting.
db_1         | 2019-10-20 17:28:42 140307857843968 [Note] InnoDB: Starting shutdown...
db_1         | 2019-10-20 17:28:42 140307152746240 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
db_1         | 2019-10-20 17:28:42 140307152746240 [Note] InnoDB: Buffer pool(s) dump completed at 191020 17:28:42
db_1         | 2019-10-20 17:28:43 140307857843968 [Note] InnoDB: Shutdown completed; log sequence number 17754885
db_1         | 2019-10-20 17:28:43 140307857843968 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
db_1         | 2019-10-20 17:28:43 140307857843968 [Note] mysqld: Shutdown complete
db_1         | 
db_1         | 
db_1         | MySQL init process done. Ready for start up.
db_1         | 
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] mysqld (mysqld 10.2.27-MariaDB-1:10.2.27+maria~bionic) starting as process 1 ...
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] InnoDB: Uses event mutexes
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] InnoDB: Compressed tables use zlib 1.2.11
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] InnoDB: Using Linux native AIO
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] InnoDB: Number of pools: 1
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] InnoDB: Using SSE2 crc32 instructions
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] InnoDB: Completed initialization of buffer pool
db_1         | 2019-10-20 17:28:43 140283708540672 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1         | 2019-10-20 17:28:43 140284430554432 [Note] InnoDB: Highest supported file format is Barracuda.
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] InnoDB: 128 out of 128 rollback segments are active.
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] InnoDB: 5.7.27 started; log sequence number 17754885
db_1         | 2019-10-20 17:28:44 140283337492224 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1         | 2019-10-20 17:28:44 140283337492224 [Note] InnoDB: Buffer pool(s) load completed at 191020 17:28:44
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] Plugin 'FEEDBACK' is disabled.
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] Server socket created on IP: '::'.
db_1         | 2019-10-20 17:28:44 140284430554432 [Warning] 'proxies_priv' entry '@% root@28a036cf7b3c' ignored in --skip-name-resolve mode.
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] Reading of all Master_info entries succeeded
cron_1       | Setting timezone to Europe/Paris...
cron_1       | Checking if librenms UID / GID has changed...
cron_1       | Setting PHP-FPM configuration...
cron_1       | Setting PHP INI configuration...
cron_1       | Setting OpCache configuration...
cron_1       | Setting Nginx configuration...
cron_1       | Updating SNMP community...
cron_1       | Initializing LibreNMS files / folders...
cron_1       | Setting LibreNMS configuration...
cron_1       | Fixing permissions...
cron_1       | Checking additional Monitoring plugins...
cron_1       | >>
cron_1       | >> Sidecar cron container detected
cron_1       | >>
cron_1       | Fixing crontab permissions...
cron_1       | 2019-10-20 17:27:38,283 INFO Included extra file "/etc/supervisord/cron.conf" during parsing
cron_1       | 2019-10-20 17:27:38,283 INFO Set uid to user 0 succeeded
cron_1       | 2019-10-20 17:27:38,305 INFO RPC interface 'supervisor' initialized
cron_1       | 2019-10-20 17:27:38,305 CRIT Server 'unix_http_server' running without any HTTP authentication checking
cron_1       | 2019-10-20 17:27:38,306 INFO supervisord started with pid 1
cron_1       | 2019-10-20 17:27:39,309 INFO spawned: 'cron' with pid 48
cron_1       | crond: crond (busybox 1.30.1) started, log level 8
cron_1       | 2019-10-20 17:27:40,327 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
cron_1       | crond: USER librenms pid  49 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
cron_1       | crond: USER librenms pid  54 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
cron_1       | crond: USER librenms pid  59 cmd /opt/librenms/discovery.php -h new >> /dev/null 2>&1
cron_1       | crond: USER librenms pid  60 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
cron_1       | crond: USER librenms pid  61 cmd /opt/librenms/poll-billing.php >> /dev/null 2>&1
cron_1       | crond: USER librenms pid  62 cmd /opt/librenms/check-services.php >> /dev/null 2>&1
cron_1       | crond: USER librenms pid  63 cmd /opt/librenms/cronic /opt/librenms/poller-wrapper.py 16
cron_1       | Cronic detected failure or error output for the command:
cron_1       | /opt/librenms/poller-wrapper.py 16
cron_1       | 
cron_1       | RESULT CODE: 1
cron_1       | 
cron_1       | ERROR OUTPUT:
cron_1       | Traceback (most recent call last):
cron_1       |   File "/opt/librenms/poller-wrapper.py", line 230, in <module>
cron_1       |     cursor.execute(query)
cron_1       |   File "/usr/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
cron_1       |     self.errorhandler(self, exc, value)
cron_1       |   File "/usr/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
cron_1       |     raise errorclass, errorvalue
cron_1       | _mysql_exceptions.ProgrammingError: (1146, "Table 'librenms.devices' doesn't exist")
cron_1       | 
cron_1       | STANDARD OUTPUT:
cron_1       | crond: USER librenms pid 100 cmd /opt/librenms/alerts.php >> /dev/null 2>&1
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] Added new Master_info '' to hash table
db_1         | 2019-10-20 17:28:44 140284430554432 [Note] mysqld: ready for connections.
db_1         | Version: '10.2.27-MariaDB-1:10.2.27+maria~bionic'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Traefik version v1.7.18 built on 2019-09-26_01:56:30PM"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/v1.7/basics/#collected-data\n"
traefik      | time="2019-10-20T15:27:34Z" level=error msg="Failed to read new account, ACME data conversion is not available : permissions 755 for acme.json are too open, please use 600"
traefik      | time="2019-10-20T15:27:34Z" level=error msg="Unable to add ACME provider to the providers list: unable to get ACME account : permissions 755 for acme.json are too open, please use 600"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Preparing server https &{Address::443 TLS:0xc000520b40 Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0007bc1a0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:0xc000190b80 Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc0007bc100} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Starting server on :443"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Starting server on :80"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Starting provider *docker.Provider {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Trace\":false,\"TemplateVersion\":2,\"DebugLogGeneratedTemplate\":false,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"librenms.frai.se\",\"TLS\":null,\"ExposedByDefault\":false,\"UseBindPortIP\":false,\"SwarmMode\":false,\"Network\":\"\",\"SwarmModeRefreshSeconds\":15}"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Server configuration reloaded on :443"
traefik      | time="2019-10-20T15:27:34Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:35Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:36Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:36Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:37Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-10-20T15:27:37Z" level=info msg="Server configuration reloaded on :443"
traefik      | time="2019-10-20T15:27:37Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:38Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:38Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:38Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:39Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:39Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-10-20T15:27:39Z" level=info msg="Server configuration reloaded on :443"
traefik      | time="2019-10-20T15:27:40Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:40Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:42Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:42Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:45Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:46Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:52Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:27:53Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:28:05Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:28:06Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:28:07Z" level=warning msg="unable to find the IP address for the container \"/librenms\": the server is ignored"
traefik      | time="2019-10-20T15:28:07Z" level=error msg="undefined backend 'backend-librenms' for frontend frontend-Host-librenms-frai-se-0. Skipping frontend frontend-Host-librenms-frai-se-0..."
traefik      | time="2019-10-20T15:28:07Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-10-20T15:28:07Z" level=info msg="Server configuration reloaded on :443"
traefik      | time="2019-10-20T15:28:09Z" level=info msg="Server configuration reloaded on :443"
traefik      | time="2019-10-20T15:28:09Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-10-20T15:28:32Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:28:32Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:28:38Z" level=warning msg="unable to find the IP address for the container \"/librenms\": the server is ignored"
traefik      | time="2019-10-20T15:28:39Z" level=error msg="undefined backend 'backend-librenms' for frontend frontend-Host-librenms-frai-se-0. Skipping frontend frontend-Host-librenms-frai-se-0..."
traefik      | time="2019-10-20T15:28:39Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-10-20T15:28:39Z" level=info msg="Server configuration reloaded on :443"
traefik      | time="2019-10-20T15:28:41Z" level=info msg="Server configuration reloaded on :80"
traefik      | time="2019-10-20T15:28:41Z" level=info msg="Server configuration reloaded on :443"
traefik      | time="2019-10-20T15:29:23Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:29:24Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:30:24Z" level=info msg="Skipping same configuration for provider docker"
traefik      | time="2019-10-20T15:30:24Z" level=info msg="Skipping same configuration for provider docker"
smtp_1       | Setting configuration option myhostname with value: librenms.frai.se
smtp_1       | Setting configuration option mydomain with value: frai.se
smtp_1       | Setting configuration option mydestination with value: $myhostname
smtp_1       | Setting configuration option myorigin with value: $mydomain
smtp_1       | Setting configuration option relayhost with value: [smtp.gmail.com]:587
smtp_1       | Setting configuration option smtp_use_tls with value: yes
smtp_1       | Setting configuration option smtp_sasl_auth_enable with value: yes
smtp_1       | Setting configuration option smtp_sasl_password_maps with value: hash:/etc/postfix/sasl_passwd
smtp_1       | Setting configuration option smtp_sasl_security_options with value: noanonymous
smtp_1       | Adding SASL authentication configuration
smtp_1       | Setting configuration option mynetworks with value: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
smtp_1       | /usr/lib/python2.7/site-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
smtp_1       |   'Supervisord is running as root and it is searching '
smtp_1       | 2019-10-20 17:27:35,575 CRIT Supervisor running as root (no user in config file)
smtp_1       | 2019-10-20 17:27:35,575 WARN Included extra file "/etc/supervisord.d/rsyslog.ini" during parsing
smtp_1       | 2019-10-20 17:27:35,575 WARN Included extra file "/etc/supervisord.d/readlog.ini" during parsing
smtp_1       | 2019-10-20 17:27:35,575 WARN Included extra file "/etc/supervisord.d/postfix.ini" during parsing
smtp_1       | 2019-10-20 17:27:35,593 INFO RPC interface 'supervisor' initialized
smtp_1       | 2019-10-20 17:27:35,593 CRIT Server 'unix_http_server' running without any HTTP authentication checking
smtp_1       | 2019-10-20 17:27:35,593 INFO supervisord started with pid 23
smtp_1       | 2019-10-20 17:27:36,594 INFO spawned: 'master' with pid 26
smtp_1       | 2019-10-20 17:27:36,595 INFO spawned: 'readlog' with pid 27
smtp_1       | 2019-10-20 17:27:36,596 INFO spawned: 'rsyslog' with pid 28
smtp_1       | 2019-10-20 17:27:37,598 INFO success: master entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
smtp_1       | 2019-10-20 17:27:37,598 INFO success: readlog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
smtp_1       | 2019-10-20 17:27:37,598 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
smtp_1       | 2019-10-20 17:27:37,925 INFO exited: master (exit status 0; expected)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)
rrdcached_1  | Creating RRDcached configuration...
rrdcached_1  | Must specify a writable directory with -j! (Permission denied)

librenms docker never polls devices

Behaviour

Steps to reproduce this issue

  1. create database docker
  2. create librenms docker

Expected behaviour

Newly added devices should be polled

Actual behaviour

Devices never get polled. I attempted the sidecar cron docker but had no luck with that either. I'm guessing i've missed something along the way but i've spent the last two days at it without any success.

Configuration

  • Docker version (type docker --version) : Docker version 18.09.8, build 2c0a67b (synology NAS)
  • Docker compose version if applicable (type docker-compose --version) : docker-compose version 1.24.0, build 0aa59064
  • Platform (Debian 9, Ubuntu 18.04, ...) : DSM 6.2.2-24922 Update 4
  • Include all necessary configuration files : docker-compose.yml, .env, ...

docker command to create DB:

docker create \
  --name=librenms_db \
  -p 3306:3306 \
  -v /volume1/docker/librenms_db/data:/var/lib/mysql \
  -e "TZ=Australia/Melbourne" \
  -e "MYSQL_ALLOW_EMPTY_PASSWORD=yes" \
  -e "MYSQL_DATABASE=librenms" \
  -e "MYSQL_USER=librenms" \
  -e "MYSQL_PASSWORD=librenms" \
  mariadb:10.2 "mysqld" "--sql-mode=" "--innodb-file-per-table=1" "--lower-case-table-names=0" "--character-set-server=utf8" "--collation-server=utf8_unicode_ci"

docker command to create librenms docker:

docker create \
  --name=librenms \
  -p 8000:8000 \
  -v /volume1/docker/librenms/config:/data \
  -e "TZ=Australia/Melbourne" \
  -e PUID=1026 -e PGID=100 \
  -e "DB_HOST=172.17.0.1" \
  -e "DB_NAME=librenms" \
  -e "DB_USER=librenms" \
  -e "DB_PASSWORD=librenms" \
  -e "DB_TIMEOUT=60" \
  --env-file /volume1/docker/librenms/librenms.env \
  librenms/librenms:latest

.env:

APP_KEY=base64:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

#DB_HOST=
#DB_DATABASE=
#DB_USERNAME=
#DB_PASSWORD=

#APP_URL=
NODE_ID=xxxxxxxxxxxxx

librenms.env:

MEMORY_LIMIT=256M
UPLOAD_MAX_SIZE=16M
OPCACHE_MEM_SIZE=128
REAL_IP_FROM=0.0.0.0/32
REAL_IP_HEADER=X-Forwarded-For
LOG_IP_VAR=http_x_forwarded_for

LIBRENMS_POLLER_THREADS=16
LIBRENMS_POLLER_INTERVAL=5

LIBRENMS_CRON_DISCOVERY_ENABLE=true
LIBRENMS_CRON_DAILY_ENABLE=true
LIBRENMS_CRON_ALERTS_ENABLE=true
LIBRENMS_CRON_BILLING_ENABLE=true
LIBRENMS_CRON_BILLING_CALCULATE_ENABLE=true
LIBRENMS_CRON_CHECK_SERVICES_ENABLE=true
LIBRENMS_CRON_POLLER_ENABLE=true

Docker info

> Output of command `docker info`
Containers: 11
 Running: 11
 Paused: 0
 Stopped: 0
Images: 13
Server Version: 18.09.6
Storage Driver: btrfs
Logging Driver: db
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs db fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 0cf16177dbb234350dc27dd2bbd1d7cebd098108
runc version: 6cc9d3f2cd512eeb3d548e2f6b75bcdebc779d4d
init version: e01de58 (expected: fec3683)
Security Options:
 apparmor
Kernel Version: 4.4.59+
Operating System:  (containerized)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.769GiB
Name: nas
ID: UWDO:FMPT:SZP6:ERZL:CQR5:EN44:A36F:NIF6:2PD2:O72V:ECGV:NWEM
Docker Root Dir: /volume1/@docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No kernel memory limit support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support

Logs

> Container logs (set LOG_LEVEL to debug if applicable)
docker log for librenms after a fresh install and adding of 1 device:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-fix-logs.sh: executing...
[cont-init.d] 00-fix-logs.sh: exited 0.
[cont-init.d] 01-fix-uidgid.sh: executing...
Switching to PGID 100...
Switching to PUID 1026...
[cont-init.d] 01-fix-uidgid.sh: exited 0.
[cont-init.d] 02-fix-perms.sh: executing...
Fixing perms...
[cont-init.d] 02-fix-perms.sh: exited 0.
[cont-init.d] 03-config.sh: executing...
Setting timezone to Australia/Melbourne...
Setting PHP-FPM configuration...
Setting PHP INI configuration...
Setting OpCache configuration...
Setting Nginx configuration...
Updating SNMP community...
Initializing LibreNMS files / folders...
Setting LibreNMS configuration...
Fixing perms...
Checking additional Monitoring plugins...
[cont-init.d] 03-config.sh: exited 0.
[cont-init.d] 04-svc-main.sh: executing...
Waiting 60s for database to be ready...
Database ready!
Updating database schema...
Migration table created successfully.
Migrating: 2018_07_03_091314_create_access_points_table
Migrated:  2018_07_03_091314_create_access_points_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_alert_device_map_table
Migrated:  2018_07_03_091314_create_alert_device_map_table (0.17 seconds)
Migrating: 2018_07_03_091314_create_alert_group_map_table
Migrated:  2018_07_03_091314_create_alert_group_map_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_alert_log_table
Migrated:  2018_07_03_091314_create_alert_log_table (0.33 seconds)
Migrating: 2018_07_03_091314_create_alert_rules_table
Migrated:  2018_07_03_091314_create_alert_rules_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_alert_schedulables_table
Migrated:  2018_07_03_091314_create_alert_schedulables_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_alert_schedule_table
Migrated:  2018_07_03_091314_create_alert_schedule_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_alert_template_map_table
Migrated:  2018_07_03_091314_create_alert_template_map_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_alert_templates_table
Migrated:  2018_07_03_091314_create_alert_templates_table (0.05 seconds)
Migrating: 2018_07_03_091314_create_alert_transport_groups_table
Migrated:  2018_07_03_091314_create_alert_transport_groups_table (0.03 seconds)
Migrating: 2018_07_03_091314_create_alert_transport_map_table
Migrated:  2018_07_03_091314_create_alert_transport_map_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_alert_transports_table
Migrated:  2018_07_03_091314_create_alert_transports_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_alerts_table
Migrated:  2018_07_03_091314_create_alerts_table (0.12 seconds)
Migrating: 2018_07_03_091314_create_api_tokens_table
Migrated:  2018_07_03_091314_create_api_tokens_table (0.36 seconds)
Migrating: 2018_07_03_091314_create_application_metrics_table
Migrated:  2018_07_03_091314_create_application_metrics_table (0.11 seconds)
Migrating: 2018_07_03_091314_create_applications_table
Migrated:  2018_07_03_091314_create_applications_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_authlog_table
Migrated:  2018_07_03_091314_create_authlog_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_bgpPeers_cbgp_table
Migrated:  2018_07_03_091314_create_bgpPeers_cbgp_table (0.13 seconds)
Migrating: 2018_07_03_091314_create_bgpPeers_table
Migrated:  2018_07_03_091314_create_bgpPeers_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_bill_data_table
Migrated:  2018_07_03_091314_create_bill_data_table (0.14 seconds)
Migrating: 2018_07_03_091314_create_bill_history_table
Migrated:  2018_07_03_091314_create_bill_history_table (0.24 seconds)
Migrating: 2018_07_03_091314_create_bill_perms_table
Migrated:  2018_07_03_091314_create_bill_perms_table (0.05 seconds)
Migrating: 2018_07_03_091314_create_bill_port_counters_table
Migrated:  2018_07_03_091314_create_bill_port_counters_table (0.1 seconds)
Migrating: 2018_07_03_091314_create_bill_ports_table
Migrated:  2018_07_03_091314_create_bill_ports_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_bills_table
Migrated:  2018_07_03_091314_create_bills_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_callback_table
Migrated:  2018_07_03_091314_create_callback_table (0.03 seconds)
Migrating: 2018_07_03_091314_create_cef_switching_table
Migrated:  2018_07_03_091314_create_cef_switching_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_ciscoASA_table
Migrated:  2018_07_03_091314_create_ciscoASA_table (0.08 seconds)
Migrating: 2018_07_03_091314_create_component_prefs_table
Migrated:  2018_07_03_091314_create_component_prefs_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_component_statuslog_table
Migrated:  2018_07_03_091314_create_component_statuslog_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_component_table
Migrated:  2018_07_03_091314_create_component_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_config_table
Migrated:  2018_07_03_091314_create_config_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_customers_table
Migrated:  2018_07_03_091314_create_customers_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_dashboards_table
Migrated:  2018_07_03_091314_create_dashboards_table (0.05 seconds)
Migrating: 2018_07_03_091314_create_dbSchema_table
Migrated:  2018_07_03_091314_create_dbSchema_table (0.11 seconds)
Migrating: 2018_07_03_091314_create_device_graphs_table
Migrated:  2018_07_03_091314_create_device_graphs_table (0.08 seconds)
Migrating: 2018_07_03_091314_create_device_group_device_table
Migrated:  2018_07_03_091314_create_device_group_device_table (0.19 seconds)
Migrating: 2018_07_03_091314_create_device_groups_table
Migrated:  2018_07_03_091314_create_device_groups_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_device_mibs_table
Migrated:  2018_07_03_091314_create_device_mibs_table (0.15 seconds)
Migrating: 2018_07_03_091314_create_device_oids_table
Migrated:  2018_07_03_091314_create_device_oids_table (0.16 seconds)
Migrating: 2018_07_03_091314_create_device_perf_table
Migrated:  2018_07_03_091314_create_device_perf_table (0.08 seconds)
Migrating: 2018_07_03_091314_create_device_relationships_table
Migrated:  2018_07_03_091314_create_device_relationships_table (0.53 seconds)
Migrating: 2018_07_03_091314_create_devices_attribs_table
Migrated:  2018_07_03_091314_create_devices_attribs_table (0.13 seconds)
Migrating: 2018_07_03_091314_create_devices_perms_table
Migrated:  2018_07_03_091314_create_devices_perms_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_devices_table
Migrated:  2018_07_03_091314_create_devices_table (0.37 seconds)
Migrating: 2018_07_03_091314_create_entPhysical_state_table
Migrated:  2018_07_03_091314_create_entPhysical_state_table (0.14 seconds)
Migrating: 2018_07_03_091314_create_entPhysical_table
Migrated:  2018_07_03_091314_create_entPhysical_table (0.08 seconds)
Migrating: 2018_07_03_091314_create_entityState_table
Migrated:  2018_07_03_091314_create_entityState_table (0.1 seconds)
Migrating: 2018_07_03_091314_create_eventlog_table
Migrated:  2018_07_03_091314_create_eventlog_table (0.13 seconds)
Migrating: 2018_07_03_091314_create_graph_types_table
Migrated:  2018_07_03_091314_create_graph_types_table (0.45 seconds)
Migrating: 2018_07_03_091314_create_hrDevice_table
Migrated:  2018_07_03_091314_create_hrDevice_table (0.26 seconds)
Migrating: 2018_07_03_091314_create_ipsec_tunnels_table
Migrated:  2018_07_03_091314_create_ipsec_tunnels_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_ipv4_addresses_table
Migrated:  2018_07_03_091314_create_ipv4_addresses_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_ipv4_mac_table
Migrated:  2018_07_03_091314_create_ipv4_mac_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_ipv4_networks_table
Migrated:  2018_07_03_091314_create_ipv4_networks_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_ipv6_addresses_table
Migrated:  2018_07_03_091314_create_ipv6_addresses_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_ipv6_networks_table
Migrated:  2018_07_03_091314_create_ipv6_networks_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_juniAtmVp_table
Migrated:  2018_07_03_091314_create_juniAtmVp_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_links_table
Migrated:  2018_07_03_091314_create_links_table (0.13 seconds)
Migrating: 2018_07_03_091314_create_loadbalancer_rservers_table
Migrated:  2018_07_03_091314_create_loadbalancer_rservers_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_loadbalancer_vservers_table
Migrated:  2018_07_03_091314_create_loadbalancer_vservers_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_locations_table
Migrated:  2018_07_03_091314_create_locations_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_mac_accounting_table
Migrated:  2018_07_03_091314_create_mac_accounting_table (0.1 seconds)
Migrating: 2018_07_03_091314_create_mefinfo_table
Migrated:  2018_07_03_091314_create_mefinfo_table (0.1 seconds)
Migrating: 2018_07_03_091314_create_mempools_table
Migrated:  2018_07_03_091314_create_mempools_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_mibdefs_table
Migrated:  2018_07_03_091314_create_mibdefs_table (0.14 seconds)
Migrating: 2018_07_03_091314_create_munin_plugins_ds_table
Migrated:  2018_07_03_091314_create_munin_plugins_ds_table (0.11 seconds)
Migrating: 2018_07_03_091314_create_munin_plugins_table
Migrated:  2018_07_03_091314_create_munin_plugins_table (0.11 seconds)
Migrating: 2018_07_03_091314_create_netscaler_vservers_table
Migrated:  2018_07_03_091314_create_netscaler_vservers_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_notifications_attribs_table
Migrated:  2018_07_03_091314_create_notifications_attribs_table (0.03 seconds)
Migrating: 2018_07_03_091314_create_notifications_table
Migrated:  2018_07_03_091314_create_notifications_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_ospf_areas_table
Migrated:  2018_07_03_091314_create_ospf_areas_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_ospf_instances_table
Migrated:  2018_07_03_091314_create_ospf_instances_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_ospf_nbrs_table
Migrated:  2018_07_03_091314_create_ospf_nbrs_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_ospf_ports_table
Migrated:  2018_07_03_091314_create_ospf_ports_table (0.33 seconds)
Migrating: 2018_07_03_091314_create_packages_table
Migrated:  2018_07_03_091314_create_packages_table (0.11 seconds)
Migrating: 2018_07_03_091314_create_pdb_ix_peers_table
Migrated:  2018_07_03_091314_create_pdb_ix_peers_table (0.05 seconds)
Migrating: 2018_07_03_091314_create_pdb_ix_table
Migrated:  2018_07_03_091314_create_pdb_ix_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_perf_times_table
Migrated:  2018_07_03_091314_create_perf_times_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_plugins_table
Migrated:  2018_07_03_091314_create_plugins_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_poller_cluster_stats_table
Migrated:  2018_07_03_091314_create_poller_cluster_stats_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_poller_cluster_table
Migrated:  2018_07_03_091314_create_poller_cluster_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_poller_groups_table
Migrated:  2018_07_03_091314_create_poller_groups_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_pollers_table
Migrated:  2018_07_03_091314_create_pollers_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_ports_adsl_table
Migrated:  2018_07_03_091314_create_ports_adsl_table (0.17 seconds)
Migrating: 2018_07_03_091314_create_ports_fdb_table
Migrated:  2018_07_03_091314_create_ports_fdb_table (0.18 seconds)
Migrating: 2018_07_03_091314_create_ports_nac_table
Migrated:  2018_07_03_091314_create_ports_nac_table (0.11 seconds)
Migrating: 2018_07_03_091314_create_ports_perms_table
Migrated:  2018_07_03_091314_create_ports_perms_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_ports_stack_table
Migrated:  2018_07_03_091314_create_ports_stack_table (0.14 seconds)
Migrating: 2018_07_03_091314_create_ports_statistics_table
Migrated:  2018_07_03_091314_create_ports_statistics_table (0.11 seconds)
Migrating: 2018_07_03_091314_create_ports_stp_table
Migrated:  2018_07_03_091314_create_ports_stp_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_ports_table
Migrated:  2018_07_03_091314_create_ports_table (0.11 seconds)
Migrating: 2018_07_03_091314_create_ports_vlans_table
Migrated:  2018_07_03_091314_create_ports_vlans_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_processes_table
Migrated:  2018_07_03_091314_create_processes_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_processors_table
Migrated:  2018_07_03_091314_create_processors_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_proxmox_ports_table
Migrated:  2018_07_03_091314_create_proxmox_ports_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_proxmox_table
Migrated:  2018_07_03_091314_create_proxmox_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_pseudowires_table
Migrated:  2018_07_03_091314_create_pseudowires_table (0.04 seconds)
Migrating: 2018_07_03_091314_create_route_table
Migrated:  2018_07_03_091314_create_route_table (0.08 seconds)
Migrating: 2018_07_03_091314_create_sensors_table
Migrated:  2018_07_03_091314_create_sensors_table (0.15 seconds)
Migrating: 2018_07_03_091314_create_sensors_to_state_indexes_table
Migrated:  2018_07_03_091314_create_sensors_to_state_indexes_table (0.1 seconds)
Migrating: 2018_07_03_091314_create_services_table
Migrated:  2018_07_03_091314_create_services_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_session_table
Migrated:  2018_07_03_091314_create_session_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_slas_table
Migrated:  2018_07_03_091314_create_slas_table (0.13 seconds)
Migrating: 2018_07_03_091314_create_state_indexes_table
Migrated:  2018_07_03_091314_create_state_indexes_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_state_translations_table
Migrated:  2018_07_03_091314_create_state_translations_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_storage_table
Migrated:  2018_07_03_091314_create_storage_table (0.14 seconds)
Migrating: 2018_07_03_091314_create_stp_table
Migrated:  2018_07_03_091314_create_stp_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_syslog_table
Migrated:  2018_07_03_091314_create_syslog_table (0.23 seconds)
Migrating: 2018_07_03_091314_create_tnmsneinfo_table
Migrated:  2018_07_03_091314_create_tnmsneinfo_table (0.19 seconds)
Migrating: 2018_07_03_091314_create_toner_table
Migrated:  2018_07_03_091314_create_toner_table (0.41 seconds)
Migrating: 2018_07_03_091314_create_transport_group_transport_table
Migrated:  2018_07_03_091314_create_transport_group_transport_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_ucd_diskio_table
Migrated:  2018_07_03_091314_create_ucd_diskio_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_users_prefs_table
Migrated:  2018_07_03_091314_create_users_prefs_table (0.11 seconds)
Migrating: 2018_07_03_091314_create_users_table
Migrated:  2018_07_03_091314_create_users_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_users_widgets_table
Migrated:  2018_07_03_091314_create_users_widgets_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_vlans_table
Migrated:  2018_07_03_091314_create_vlans_table (0.06 seconds)
Migrating: 2018_07_03_091314_create_vminfo_table
Migrated:  2018_07_03_091314_create_vminfo_table (0.12 seconds)
Migrating: 2018_07_03_091314_create_vrf_lite_cisco_table
Migrated:  2018_07_03_091314_create_vrf_lite_cisco_table (0.16 seconds)
Migrating: 2018_07_03_091314_create_vrfs_table
Migrated:  2018_07_03_091314_create_vrfs_table (0.07 seconds)
Migrating: 2018_07_03_091314_create_widgets_table
Migrated:  2018_07_03_091314_create_widgets_table (0.09 seconds)
Migrating: 2018_07_03_091314_create_wireless_sensors_table
Migrated:  2018_07_03_091314_create_wireless_sensors_table (0.16 seconds)
Migrating: 2018_07_03_091322_add_foreign_keys_to_component_prefs_table
Migrated:  2018_07_03_091322_add_foreign_keys_to_component_prefs_table (0.12 seconds)
Migrating: 2018_07_03_091322_add_foreign_keys_to_component_statuslog_table
Migrated:  2018_07_03_091322_add_foreign_keys_to_component_statuslog_table (0.14 seconds)
Migrating: 2018_07_03_091322_add_foreign_keys_to_device_group_device_table
Migrated:  2018_07_03_091322_add_foreign_keys_to_device_group_device_table (0.32 seconds)
Migrating: 2018_07_03_091322_add_foreign_keys_to_device_relationships_table
Migrated:  2018_07_03_091322_add_foreign_keys_to_device_relationships_table (0.36 seconds)
Migrating: 2018_07_03_091322_add_foreign_keys_to_sensors_table
Migrated:  2018_07_03_091322_add_foreign_keys_to_sensors_table (0.24 seconds)
Migrating: 2018_07_03_091322_add_foreign_keys_to_sensors_to_state_indexes_table
Migrated:  2018_07_03_091322_add_foreign_keys_to_sensors_to_state_indexes_table (0.78 seconds)
Migrating: 2018_07_03_091322_add_foreign_keys_to_wireless_sensors_table
Migrated:  2018_07_03_091322_add_foreign_keys_to_wireless_sensors_table (0.14 seconds)
Migrating: 2019_01_16_132200_add_vlan_and_elapsed_to_nac
Migrated:  2019_01_16_132200_add_vlan_and_elapsed_to_nac (0.23 seconds)
Migrating: 2019_01_16_195644_add_vrf_id_and_bgpLocalAs
Migrated:  2019_01_16_195644_add_vrf_id_and_bgpLocalAs (0.59 seconds)
Migrating: 2019_02_05_140857_remove_config_definition_from_db
Migrated:  2019_02_05_140857_remove_config_definition_from_db (0.09 seconds)
Migrating: 2019_02_10_220000_add_dates_to_fdb
Migrated:  2019_02_10_220000_add_dates_to_fdb (0.11 seconds)
Migrating: 2019_04_22_220000_update_route_table
Migrated:  2019_04_22_220000_update_route_table (0.06 seconds)
Migrating: 2019_05_12_202407_create_mpls_lsps_table
Migrated:  2019_05_12_202407_create_mpls_lsps_table (0.06 seconds)
Migrating: 2019_05_12_202408_create_mpls_lsp_paths_table
Migrated:  2019_05_12_202408_create_mpls_lsp_paths_table (0.06 seconds)
Migrating: 2019_05_30_225937_device_groups_rewrite
Migrated:  2019_05_30_225937_device_groups_rewrite (0.3 seconds)
Migrating: 2019_06_30_190400_create_mpls_sdps_table
Migrated:  2019_06_30_190400_create_mpls_sdps_table (0.09 seconds)
Migrating: 2019_06_30_190401_create_mpls_sdp_binds_table
Migrated:  2019_06_30_190401_create_mpls_sdp_binds_table (0.09 seconds)
Migrating: 2019_06_30_190402_create_mpls_services_table
Migrated:  2019_06_30_190402_create_mpls_services_table (0.09 seconds)
Migrating: 2019_07_03_132417_create_mpls_saps_table
Migrated:  2019_07_03_132417_create_mpls_saps_table (0.07 seconds)
Migrating: 2019_07_09_150217_update_users_widgets_settings
Migrated:  2019_07_09_150217_update_users_widgets_settings (0 seconds)
Migrating: 2019_08_10_223200_add_enabled_to_users
Migrated:  2019_08_10_223200_add_enabled_to_users (0.23 seconds)
Migrating: 2019_08_28_105051_fix-template-linefeeds
Migrated:  2019_08_28_105051_fix-template-linefeeds (0 seconds)
Migrating: 2019_09_05_153524_create_notifications_attribs_index
Migrated:  2019_09_05_153524_create_notifications_attribs_index (0.04 seconds)
Migrating: 2019_09_29_114433_change_default_mempool_perc_warn_in_mempools_table
Migrated:  2019_09_29_114433_change_default_mempool_perc_warn_in_mempools_table (0 seconds)
Migrating: 2019_10_03_211702_serialize_config
Migrated:  2019_10_03_211702_serialize_config (0 seconds)
Seeding: DefaultAlertTemplateSeeder
Seeding: DefaultWidgetSeeder
Seeding: DefaultLegacySchemaSeeder
Database seeding completed successfully.
Creating admin user...
User librenms added successfully
[cont-init.d] 04-svc-main.sh: exited 0.
[cont-init.d] 05-svc-cron.sh: executing...
[cont-init.d] 05-svc-cron.sh: exited 0.
[cont-init.d] 06-svc-syslogng.sh: executing...
[cont-init.d] 06-svc-syslogng.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2019/12/20 13:53:01 [notice] 326#326: using the "epoll" event method
2019/12/20 13:53:01 [notice] 326#326: nginx/1.16.1
2019/12/20 13:53:01 [notice] 326#326: OS: Linux 4.4.59+
2019/12/20 13:53:01 [notice] 326#326: getrlimit(RLIMIT_NOFILE): 524288:1048576
2019/12/20 13:53:01 [notice] 326#326: start worker processes
2019/12/20 13:53:01 [notice] 326#326: start worker process 343
2019/12/20 13:53:01 [notice] 326#326: start worker process 344
2019/12/20 13:53:01 [notice] 326#326: start worker process 345
2019/12/20 13:53:01 [notice] 326#326: start worker process 346
[20-Dec-2019 13:53:01] NOTICE: fpm is running, pid 325
[20-Dec-2019 13:53:01] NOTICE: ready to handle connections
- - - [20/Dec/2019:13:53:11 +1100] "GET / HTTP/1.1" 302 342 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /login HTTP/1.1" 200 2378 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/bootstrap.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/bootstrap-datetimepicker.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/bootstrap-switch.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/toastr.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/jquery-ui.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/jquery.bootgrid.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/tagmanager.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/mktree.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/vis.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/font-awesome.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/jquery.gridster.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/leaflet.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/MarkerCluster.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/MarkerCluster.Default.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/L.Control.Locate.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/leaflet.awesome-markers.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/polyfill.min.js HTTP/1.1" 200 1272 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/select2.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/select2-bootstrap.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/query-builder.default.min.css HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/bootstrap.min.js HTTP/1.1" 200 11792 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/jquery.min.js HTTP/1.1" 200 38158 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/styles.css?ver=20191124 HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /css/light.css?ver=632417642 HTTP/1.1" 304 0 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/bootstrap-hover-dropdown.min.js HTTP/1.1" 200 690 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/bootstrap-switch.min.js HTTP/1.1" 200 3920 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/hogan-2.0.0.js HTTP/1.1" 200 5069 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/jquery.cycle2.min.js HTTP/1.1" 200 7967 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/moment.min.js HTTP/1.1" 200 19207 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/bootstrap-datetimepicker.min.js HTTP/1.1" 200 11045 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/typeahead.bundle.min.js HTTP/1.1" 200 16806 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/tagmanager.js HTTP/1.1" 200 1945 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/jquery-ui.min.js HTTP/1.1" 200 12371 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/mktree.js HTTP/1.1" 200 2069 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/jquery.bootgrid.min.js HTTP/1.1" 200 8488 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/handlebars.min.js HTTP/1.1" 200 23108 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/pace.min.js HTTP/1.1" 200 4862 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/jquery.lazyload.min.js HTTP/1.1" 200 1368 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/lazyload.js HTTP/1.1" 200 680 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/qrcode.min.js HTTP/1.1" 200 7900 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/librenms.js?ver=20191025 HTTP/1.1" 200 4440 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/select2.min.js HTTP/1.1" 200 22681 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/boot.js HTTP/1.1" 200 635 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/toastr.min.js HTTP/1.1" 200 1515 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /js/overlib_mini.js HTTP/1.1" 200 12066 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /images/librenms_logo_light.svg HTTP/1.1" 200 1968 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:11 +1100] "GET /fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160 "http://nas:8000/css/font-awesome.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:16 +1100] "POST /login HTTP/1.1" 302 342 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:16 +1100] "GET /login HTTP/1.1" 200 2420 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:20 +1100] "POST /login HTTP/1.1" 302 318 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:20 +1100] "GET / HTTP/1.1" 200 12388 "http://nas:8000/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:20 +1100] "GET /js/jquery.gridster.min.js HTTP/1.1" 304 0 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:20 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:20 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:29 +1100] "GET /validate HTTP/1.1" 200 7173 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:29 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/validate" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:53 +1100] "GET /addhost HTTP/1.1" 200 8290 "http://nas:8000/validate" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:54 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:59 +1100] "POST /addhost HTTP/1.1" 200 8378 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:53:59 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:24 +1100] "POST /addhost HTTP/1.1" 200 8378 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:25 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:35 +1100] "POST /addhost HTTP/1.1" 200 8415 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:35 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:36 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:36 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:36 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:40 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:40 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:40 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:40 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:43 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:43 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:43 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:43 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:46 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:46 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:46 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:46 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:48 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:48 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:48 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:48 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:49 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:50 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:50 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:50 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:51 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:51 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:51 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:51 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:52 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:52 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:52 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:52 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:53 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:53 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:53 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:53 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:55 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:55 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:55 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:55 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:56 +1100] "GET / HTTP/1.1" 200 12366 "http://nas:8000/addhost" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:56 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:56 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:56 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:57 +1100] "GET /device-groups HTTP/1.1" 200 7517 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:57 +1100] "GET /images/os/generic.svg HTTP/1.1" 304 0 "http://nas:8000/device-groups" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:57 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device-groups" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "GET /graph.php?device=1&from=1576724097&to=1576810497&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 3485 "http://nas:8000/device-groups" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "GET /graph.php?device=1&from=1576205697&to=1576810497&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 4180 "http://nas:8000/device-groups" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "GET /graph.php?device=1&from=1576205697&to=1576810497&width=275&height=100&type=device_ucd_memory&legend=no&absolute=0 HTTP/1.1" 200 5020 "http://nas:8000/device-groups" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "GET /graph.php?device=1&from=1576724097&to=1576810497&width=275&height=100&type=device_ucd_memory&legend=no&absolute=0 HTTP/1.1" 200 4494 "http://nas:8000/device-groups" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "GET /device/device=1/ HTTP/1.1" 200 8601 "http://nas:8000/device-groups" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "GET /js/L.Control.Locate.min.js HTTP/1.1" 200 3817 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "GET /js/leaflet.js HTTP/1.1" 200 49225 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "GET /graph.php?height=45&width=150&to=1576810200&device=1&type=device_mempool&from=1576723800&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "GET /graph.php?height=45&width=150&to=1576810200&device=1&type=device_processor&from=1576723800&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:54:59 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:01 +1100] "GET /graph.php?device=1&from=1576723800&to=1576810200&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 3504 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:01 +1100] "GET /graph.php?device=1&from=1576205400&to=1576810200&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 3983 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:01 +1100] "GET /graph.php?device=1&from=1576723800&to=1576810200&width=275&height=100&type=device_mempool&legend=no&absolute=0 HTTP/1.1" 200 3506 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:01 +1100] "GET /graph.php?device=1&from=1576205400&to=1576810200&width=275&height=100&type=device_mempool&legend=no&absolute=0 HTTP/1.1" 200 3982 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:02 +1100] "GET /devices HTTP/1.1" 200 12369 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:02 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:02 +1100] "POST /ajax/table/device HTTP/1.1" 200 3011 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:02 +1100] "GET /fonts/glyphicons-halflings-regular.woff2 HTTP/1.1" 200 18028 "http://nas:8000/css/bootstrap.min.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:06 +1100] "GET /settings HTTP/1.1" 200 11037 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:06 +1100] "GET /css/app.css?id=17e56994706c74ee9663 HTTP/1.1" 200 1487 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:06 +1100] "GET /js/manifest.js?id=3c768977c2574a34506e HTTP/1.1" 200 750 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:06 +1100] "GET /js/lang/en.js?id=116363543952443ac4cb HTTP/1.1" 200 13326 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:06 +1100] "GET /js/app.js?id=d074dd82ac08dba78c44 HTTP/1.1" 200 10310 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:06 +1100] "GET /js/vendor.js?id=00c1d21ecfea78860e09 HTTP/1.1" 200 144257 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:06 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:06 +1100] "GET /ajax/settings/list HTTP/1.1" 200 216663 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:13 +1100] "GET /validate HTTP/1.1" 200 7494 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:55:13 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/validate" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:22 +1100] "GET /devices HTTP/1.1" 200 12369 "http://nas:8000/validate" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:22 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:22 +1100] "POST /ajax/table/device HTTP/1.1" 200 3011 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:23 +1100] "GET /graph.php?device=1&from=1576724242&to=1576810642&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 3734 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:23 +1100] "GET /graph.php?device=1&from=1576205842&to=1576810642&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 3977 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:23 +1100] "GET /graph.php?device=1&from=1576724242&to=1576810642&width=275&height=100&type=device_ucd_memory&legend=no&absolute=0 HTTP/1.1" 200 4547 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:23 +1100] "GET /graph.php?device=1&from=1576205842&to=1576810642&width=275&height=100&type=device_ucd_memory&legend=no&absolute=0 HTTP/1.1" 200 4960 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:23 +1100] "GET /device/device=1/ HTTP/1.1" 200 8597 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:23 +1100] "GET /graph.php?height=45&width=150&to=1576810500&device=1&type=device_mempool&from=1576724100&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:23 +1100] "GET /graph.php?height=45&width=150&to=1576810500&device=1&type=device_processor&from=1576724100&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:23 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:27 +1100] "GET /devices HTTP/1.1" 200 12369 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:27 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:27 +1100] "POST /ajax/table/device HTTP/1.1" 200 3011 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:29 +1100] "GET /graph.php?device=1&from=1576724247&to=1576810647&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 3458 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:29 +1100] "GET /graph.php?device=1&from=1576205847&to=1576810647&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 3977 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:29 +1100] "GET /graph.php?device=1&from=1576724247&to=1576810647&width=275&height=100&type=device_ucd_memory&legend=no&absolute=0 HTTP/1.1" 200 4527 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:29 +1100] "GET /graph.php?device=1&from=1576205847&to=1576810647&width=275&height=100&type=device_ucd_memory&legend=no&absolute=0 HTTP/1.1" 200 4960 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:29 +1100] "GET /device/device=1/ HTTP/1.1" 200 8597 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:29 +1100] "GET /graph.php?height=45&width=150&to=1576810500&device=1&type=device_processor&from=1576724100&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:29 +1100] "GET /graph.php?height=45&width=150&to=1576810500&device=1&type=device_mempool&from=1576724100&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:29 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:44 +1100] "GET /devices HTTP/1.1" 200 12369 "http://nas:8000/device/device=1/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:44 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:44 +1100] "POST /ajax/table/device HTTP/1.1" 200 3011 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:46 +1100] "GET /settings HTTP/1.1" 200 11037 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:46 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:46 +1100] "GET /ajax/settings/list HTTP/1.1" 200 216663 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:52 +1100] "GET /validate HTTP/1.1" 200 7494 "http://nas:8000/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:57:52 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/validate" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:58:56 +1100] "GET / HTTP/1.1" 200 12419 "http://nas:8000/validate" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:58:56 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:58:56 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:58:58 +1100] "GET /devices HTTP/1.1" 200 12369 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:58:58 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:58:58 +1100] "POST /ajax/table/device HTTP/1.1" 200 3011 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:06 +1100] "GET /pollers/tab=pollers HTTP/1.1" 200 7206 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:06 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/pollers/tab=pollers" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /pollers/tab=performance/ HTTP/1.1" 200 7090 "http://nas:8000/pollers/tab=pollers" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /graph.php?type=global_poller_perf&legend=yes&height=288&width=619&from=1576205700 HTTP/1.1" 200 31 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /graph.php?type=global_poller_perf&legend=yes&height=288&width=619&from=1576724100 HTTP/1.1" 200 31 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /graph.php?type=global_poller_perf&legend=yes&height=288&width=619&from=1574132100 HTTP/1.1" 200 31 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /graph.php?type=global_poller_perf&legend=yes&height=288&width=619&from=1545274500 HTTP/1.1" 200 31 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /graph.php?type=global_poller_modules_perf&legend=yes&height=288&width=619&from=1576724100 HTTP/1.1" 200 31 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /graph.php?type=global_poller_modules_perf&legend=yes&height=288&width=619&from=1576205700 HTTP/1.1" 200 31 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /graph.php?type=global_poller_modules_perf&legend=yes&height=288&width=619&from=1545274500 HTTP/1.1" 200 31 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /graph.php?type=global_poller_modules_perf&legend=yes&height=288&width=619&from=1574132100 HTTP/1.1" 200 31 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "GET /pollers/tab=log/ HTTP/1.1" 200 6968 "http://nas:8000/pollers/tab=performance/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/pollers/tab=log/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:08 +1100] "POST /ajax_table.php HTTP/1.1" 200 256 "http://nas:8000/pollers/tab=log/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /device/device=1/tab=graphs/group=poller/ HTTP/1.1" 200 8721 "http://nas:8000/pollers/tab=log/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?height=45&width=150&to=1576810500&device=1&type=device_processor&from=1576724100&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?height=45&width=150&to=1576810500&device=1&type=device_mempool&from=1576724100&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_poller_perf&device=1&height=288&width=619&from=1576724100 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_poller_perf&device=1&height=288&width=619&from=1576205700 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_poller_perf&device=1&height=288&width=619&from=1574132100 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_poller_perf&device=1&height=288&width=619&from=1545274500 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_poller_modules_perf&device=1&height=288&width=619&from=1576724100 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_poller_modules_perf&device=1&height=288&width=619&from=1576205700 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_poller_modules_perf&device=1&height=288&width=619&from=1574132100 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_poller_modules_perf&device=1&height=288&width=619&from=1545274500 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_ping_perf&device=1&height=288&width=619&from=1576724100 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_ping_perf&device=1&height=288&width=619&from=1576205700 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_ping_perf&device=1&height=288&width=619&from=1574132100 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:12 +1100] "GET /graph.php?type=device_ping_perf&device=1&height=288&width=619&from=1545274500 HTTP/1.1" 200 31 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:14 +1100] "GET /device/device=1/tab=overview/ HTTP/1.1" 200 8597 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:14 +1100] "GET /graph.php?height=45&width=150&to=1576810500&device=1&type=device_processor&from=1576724100&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:14 +1100] "GET /graph.php?height=45&width=150&to=1576810500&device=1&type=device_mempool&from=1576724100&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:14 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:14 +1100] "GET /graph.php?device=1&from=1576724100&to=1576810500&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 3485 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:14 +1100] "GET /graph.php?device=1&from=1576205700&to=1576810500&width=275&height=100&type=device_processor&legend=no&absolute=0 HTTP/1.1" 200 4180 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:14 +1100] "GET /graph.php?device=1&from=1576724100&to=1576810500&width=275&height=100&type=device_mempool&legend=no&absolute=0 HTTP/1.1" 200 3485 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:13:59:14 +1100] "GET /graph.php?device=1&from=1576205700&to=1576810500&width=275&height=100&type=device_mempool&legend=no&absolute=0 HTTP/1.1" 200 4181 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:11 +1100] "GET /device/device=1/tab=overview/ HTTP/1.1" 200 8600 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:12 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_processor&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:12 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_mempool&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:12 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:12 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:12 +1100] "GET /device/device=1/tab=overview/ HTTP/1.1" 200 8600 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:12 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_processor&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:12 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_mempool&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:12 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:12 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:13 +1100] "GET /device/device=1/tab=overview/ HTTP/1.1" 200 8600 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:13 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_mempool&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:13 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_processor&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:13 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:13 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "GET /device/device=1/tab=overview/ HTTP/1.1" 200 8600 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_processor&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_mempool&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "GET /device/device=1/tab=overview/ HTTP/1.1" 200 8600 "http://nas:8000/device/device=1/tab=graphs/group=poller/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_mempool&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "GET /graph.php?height=45&width=150&to=1576810800&device=1&type=device_processor&from=1576724400&legend=no&popup_title=&bg=FFFFFF00 HTTP/1.1" 200 135 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:14 +1100] "GET /images/favicon.ico HTTP/1.1" 200 3669 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:15 +1100] "GET / HTTP/1.1" 200 12419 "http://nas:8000/device/device=1/tab=overview/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:15 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:15 +1100] "POST /ajax/dash/placeholder HTTP/1.1" 200 348 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:17 +1100] "GET /devices HTTP/1.1" 200 12369 "http://nas:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:17 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:17 +1100] "POST /ajax/table/device HTTP/1.1" 200 3011 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:19 +1100] "GET /devices/format=graph_poller_perf/from=-24hour/to=now/ HTTP/1.1" 200 11902 "http://nas:8000/devices" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:19 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices/format=graph_poller_perf/from=-24hour/to=now/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:22 +1100] "GET /devices/format=graph_ntp_delay/from=-24hour/to=now/ HTTP/1.1" 200 11876 "http://nas:8000/devices/format=graph_poller_perf/from=-24hour/to=now/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:22 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices/format=graph_ntp_delay/from=-24hour/to=now/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:35 +1100] "GET /devices/format=graph_poller_perf/from=-24hour/to=now/ HTTP/1.1" 200 11902 "http://nas:8000/devices/format=graph_ntp_delay/from=-24hour/to=now/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:00:35 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices/format=graph_poller_perf/from=-24hour/to=now/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:05:36 +1100] "GET /devices/format=graph_poller_perf/from=-24hour/to=now/ HTTP/1.1" 200 11902 "http://nas:8000/devices/format=graph_poller_perf/from=-24hour/to=now/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:05:36 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices/format=graph_poller_perf/from=-24hour/to=now/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:10:37 +1100] "GET /devices/format=graph_poller_perf/from=-24hour/to=now/ HTTP/1.1" 200 11902 "http://nas:8000/devices/format=graph_poller_perf/from=-24hour/to=now/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"
- - - [20/Dec/2019:14:10:37 +1100] "POST /ajax/set_resolution HTTP/1.1" 200 19 "http://nas:8000/devices/format=graph_poller_perf/from=-24hour/to=now/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36"

edit: i've also created the sidecar cron docker using the following:

docker create \
  --name librenms_cron \
  -v librenms:/data \
  -e "TZ=Australia/Melbourne" \
  -e PUID=1026 -e PGID=100 \
  -e "DB_HOST=172.17.0.1" \
  -e "DB_NAME=librenms" \
  -e "DB_USER=librenms" \
  -e "DB_PASSWORD=librenms" \
  -e "DB_TIMEOUT=60" \
  -e "SIDECAR_CRON=1" \
  --env-file /volume1/docker/librenms/librenms.env \
  librenms/librenms:latest

...but unfortunately still not working. What can i be missing here?

enabling SMTP does not work

after setting up the .env file and running your docker compose, going to
settinsg >global settings > alert settings> email options >and choosing SMTP, i enter the from email address, and create an alert transport for email and do a test, it fails.
I leave smtp host as localhost(default), port 25. I also tried putting the smtp server in there directly and still fails.

What are the proper steps on enabling SMTP? I have the postfix container running, but is that required.

Thanks

README.md instructions incomplete/incorrect

Following the instructions in README.md results in containers starting up, but the validate command has the wrong container name. Specifically the following command gives the following error:

$ docker exec -it --user librenms librenms php validate.php
Error: No such container: librenms

Changing the container name to librenms_app_1 allows the validation script to run, but it reports a failure with instructions to change some permissions. If these permission changes are correct then they should be included in the instructions in README.md. The current instructions DO include chmod 600 acme.json but there's no mention of the rest.

$ docker exec -it --user librenms librenms_app_1 php validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 1.47
DB Schema | 275
PHP       | 7.2.13
MySQL     | 10.2.21-MariaDB-1:10.2.21+maria~bionic
RRDTool   | 1.7.0
SNMP      | NET-SNMP 5.7.3
====================================

[OK]    Composer Version: 1.8.0
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct
[WARN]  You have not added any devices yet.
        [FIX]:
        You can add a device in the webui or with ./addhost.php
[WARN]  IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN]  Your install is over 24 hours out of date, last update: Sun, 30 Dec 2018 14:29:16 +0000
        [FIX]:
        Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN]  Your local git branch is not master, this will prevent automatic updates.
        [FIX]:
        You can switch back to master with git checkout master
[FAIL]  Some folders have incorrect file permissions, this may cause issues.
        [FIX]:
        sudo chown -R librenms:librenms /opt/librenms
        sudo setfacl -d -m g::rwx /data/rrd /data/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
        sudo chmod -R ug=rwX /data/rrd /data/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
        Files:
         /data/logs/librenms.log

404 page not found after fresh install

When I do the following:

mkdir -p /vb/librenms
cd /vb/librenms
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
docker-compose up -d
docker-compose logs -f

(so no config changes at all)
...and then go into the browser (http://192.168.10.89) I get the following:

404 page not found


docker ps

shows the following:

root@frigg:~# docker ps
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS                          PORTS                                                NAMES
666b49e2ad36        librenms/librenms:latest   "/entrypoint.sh /usr…"   8 minutes ago       Up 8 minutes                    80/tcp, 0.0.0.0:514->514/tcp, 0.0.0.0:514->514/udp   librenms_syslog-ng_1_cc2e8dbe853a
7a4304ccbee2        librenms/librenms:latest   "/entrypoint.sh /usr…"   8 minutes ago       Up 8 minutes                    80/tcp, 514/tcp, 514/udp                             librenms_cron_1_c85c502798e5
e5dcb5850966        librenms/librenms:latest   "/entrypoint.sh /usr…"   8 minutes ago       Up 8 minutes                    80/tcp, 514/tcp, 514/udp                             librenms_app_1_1e1f6be1f229
c3fccf57893a        juanluisbaptiste/postfix   "/run.sh"                9 minutes ago       Restarting (1) 36 seconds ago                                                        librenms_smtp_1_8c22206c3147
88072406d5b0        traefik:1.6-alpine         "/entrypoint.sh --lo…"   9 minutes ago       Up 8 minutes                    0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp             librenms_traefik_1_d8e9e9320138
5aa5d3d5c336        memcached:alpine           "docker-entrypoint.s…"   9 minutes ago       Up 8 minutes                    11211/tcp                                            librenms_memcached_1_d5c9dfa460b7
20c5443663d3        crazymax/rrdcached         "/entrypoint.sh /usr…"   9 minutes ago       Up 8 minutes                    42217/tcp                                            librenms_rrdcached_1_4dae281a8d67
88308a78d54a        mariadb:10.2               "docker-entrypoint.s…"   9 minutes ago       Up 8 minutes                    3306/tcp                                             librenms_db_1_bcc3b84de649

docker-compose log

shows the following: https://gist.github.com/YenzRanger/2c65600a95c2ee6a5ddeb7835047f206

Bad Gateway

Hi

I have a problem since the last about 4-5 updates. I didn't have enough time to create an issue straightaway, and I tried to solve it myself first. Which obviously didn't work.

I've been using your docker image for, like, six months. At that time I think that it only came with traefik.
The problem is that I can no longer access the GUI. The only thing I get is Bad Gateway.

I use LibreNMS at home on an Arch system.

docker-compose.yml

 version: "3.5"

services:
  traefik:
    image: traefik:1.7-alpine
    container_name: traefik
    command:
      - "--logLevel=INFO"
      - "--defaultentrypoints=http,https"
      - "--entryPoints=Name:http Address::8881 Redirect.EntryPoint:https"
      - "--entryPoints=Name:https Address::44300 TLS"
      - "--docker"
      - "--docker.exposedbydefault=false"
      - "--docker.domain=192.168.1.76"
      - "--acme=true"
      - "--acme.acmelogging=true"
      - "--acme.email=admin"
      - "--acme.storage=acme.json"
      - "--acme.entryPoint=https"
      - "--acme.onhostrule=true"
      - "--acme.httpchallenge=true"
      - "--acme.httpchallenge.entrypoint=http"
    ports:
      - target: 8881
        published: 8881
        protocol: tcp
      - target: 44300
        published: 44300
        protocol: tcp
    volumes:
      - "./acme.json:/acme.json"
      - "/var/run/docker.sock:/var/run/docker.sock"
    restart: always

  db:
    image: mariadb:10.2
    container_name: librenms_db
    command:
      - "mysqld"
      - "--sql-mode="
      - "--innodb-file-per-table=1"
      - "--lower-case-table-names=0"
      - "--character-set-server=utf8"
      - "--collation-server=utf8_unicode_ci"
    volumes:
      - "./db:/var/lib/mysql"
    environment:
      - "TZ=${TZ}"
      - "MYSQL_ALLOW_EMPTY_PASSWORD=yes"
      - "MYSQL_DATABASE=${MYSQL_DATABASE}"
      - "MYSQL_USER=${MYSQL_USER}"
      - "MYSQL_PASSWORD=${MYSQL_PASSWORD}"
    restart: always

  memcached:
    image: memcached:alpine
    container_name: librenms_memcached
    environment:
      - "TZ=${TZ}"
    restart: always

  rrdcached:
    image: crazymax/rrdcached
    container_name: librenms_rrdcached
    volumes:
      - "./librenms/rrd:/data/db"
      - "./rrd-journal:/data/journal"
    environment:
      - "TZ=${TZ}"
      - "LOG_LEVEL=LOG_INFO"
      - "WRITE_TIMEOUT=1800"
      - "WRITE_JITTER=1800"
      - "WRITE_THREADS=4"
      - "FLUSH_DEAD_DATA_INTERVAL=3600"
    restart: always

  smtp:
    image: juanluisbaptiste/postfix
    container_name: librenms_smtp
    volumes:
      - "/etc/localtime:/etc/localtime:ro"
    environment:
      - "SERVER_HOSTNAME=192.168.1.76"
      - "SMTP_SERVER=${SMTP_SERVER}"
      - "SMTP_USERNAME=${SMTP_USERNAME}"
      - "SMTP_PASSWORD=${SMTP_PASSWORD}"
    restart: always

  librenms:
    image: librenms/librenms:latest
    container_name: librenms
    domainname: 192.168.1.76
    hostname: librenms
    depends_on:
      - db
      - memcached
      - rrdcached
      - smtp
    volumes:
      - "./librenms:/data"
    labels:
      - "traefik.enable=true"
      - "traefik.backend=librenms"
      - "traefik.port=8881"
      - "traefik.frontend.rule=Host:192.168.1.76"
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=60"
    env_file:
      - "./librenms.env"
    restart: always
  cron:
    image: librenms/librenms:latest
    container_name: librenms_cron
    domainname: 192.168.1.76
    hostname: librenms
    depends_on:
      - librenms
    volumes:
      - "./librenms:/data"
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=60"
      - "SIDECAR_CRON=1"
    env_file:
      - "./librenms.env"
    restart: always

  syslog-ng:
    image: librenms/librenms:latest
    container_name: librenms_syslog
    domainname: 192.168.1.76
    hostname: librenms
    depends_on:
      - librenms
    ports:
      - target: 514
        published: 514
        protocol: tcp
      - target: 514
        published: 514
        protocol: udp
    volumes:
      - "./librenms:/data"
    environment:
      - "TZ=${TZ}"
      - "PUID=${PUID}"
      - "PGID=${PGID}"
      - "DB_HOST=db"
      - "DB_NAME=${MYSQL_DATABASE}"
      - "DB_USER=${MYSQL_USER}"
      - "DB_PASSWORD=${MYSQL_PASSWORD}"
      - "DB_TIMEOUT=60"
      - "SIDECAR_SYSLOGNG=1"
    env_file:
      - "./librenms.env"
    restart: always

I had to change the ports because they are already in use. The ports in the configuration are open.

Maybe I can't see the wood for the trees anymore. I also tried without traefik. Actually both of your examples. But nothing.

Maybe you have an idea?

Thank you very much
Dan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.