Closed bfarney closed 3 years ago
I've been looking through the code. And I'm wondering if this behavior is being set by this line.
I'm not confident in this but it's my best idea at this point? It could just as easily be something in my config.
Thanks!! Brian
@bfarney Looking at your composition, following env vars are missing for the dispatcher service:
- "MEMCACHED_HOST=${MEMCACHED_HOST}"
- "MEMCACHED_PORT=${MEMCACHED_PORT}"
- "RRDCACHED_HOST=${RRDCACHED_HOST}"
- "RRDCACHED_PORT=${RRDCACHED_PORT}"
Please review your configuration following our example. Here we use a common librenms.env
file across our containers.
@crazy-max Thank you so much. I did see that librenms.env file as well, and I thought for sure I had tested that too. but clearly I did not! I added those variables and confirmed everything is working great. Again thank you for your help and time!!
Behaviour
Steps to reproduce this issue
Expected behaviour
Actual behaviour
Configuration
docker --version
) : Docker version 19.03.12, build 48a66213fedocker-compose --version
) : docker-compose version 1.26.2, build eefe0d31uname -a
) : Linux ip-172-29-1-51 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:18:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linuxdocker-compose.yml
,.env
, ...SERVER: AWS-SERVICES-NMS.DOMAIN.NOC FILE: .env
SERVER: AWS-SERVICES-NMS.DOMAIN.NOC FILE: docker-compose.yml
SERVER: AWS-MASTER-NMS.DOMAIN.NOC FILE: .env
SERVER: AWS-MASTER-NMS.DOMAIN.NOC FILE: docker-compose.yml
Docker info
Server: AWS-SERVICES-NMS.DOMAIN.NOC
Server: AWS-MASTER-NMS.DOMAIN.NOC
Logs
RRDTool Output
Server: aws-master-nms Output of command: sudo docker-compose run librenms ./validate.php
Server: aws-master-nms Output of command: sudo docker-compose run librenms ./validate.php -g distributedpoller
Server: aws-master-nms Output of command: sudo docker ps -sa