Git Product home page Git Product logo

container-smokeping's People

Contributors

aheimsbakk avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

mrzegocki

container-smokeping's Issues

It looks like it is not possible to switch to slave mode

Hi:
thanks for your container first,but I'm having some trouble in setting it up
here is my salve's docker-compose.yml

version: '3.3'
services:
    smokeping:
        volumes:
            - './config:/etc/smokeping'
            - './data:/var/lib/smokeping'
        ports:
            - '81:80'
        container_name: helanarm4c
        image: aheimsbakk/smokeping
        environment:
            MODE: slave
            MASTER_URL: http://ip:port/smokeping/smokeping.cgi
            SHARED_SECRET: /etc/smokeping/slavesecrets.conf
            SLAVE_NAME: helanarm4c

here is the config in slave's container(/etc/default/smokeping):

# /etc/default/smokeping: Startup configuration for smokeping(1)
#
# select master or slave mode
MODE=master
# in master mode, the rest of the configuration is in
# /etc/smokeping/config
#
# in slave mode, uncomment and set the following variables too
# see smokeping(1)
#
# Mandatory configuration
MASTER_URL=http://ip:port/smokeping/smokeping.cgi
SHARED_SECRET=/etc/smokeping/slavesecrets.conf
#
# Optional configuration
SLAVE_NAME=helanarm4c
root@a07fcde190ca:/# echo $MODE
slave

Where did I set it wrong?

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.