Coder Social home page Coder Social logo

smokeping's Introduction

生成Docker镜像

  1. 克隆
  2. 进入目录
  3. 生成镜像,名称/项目:标签
  4. 查看镜像
    git clone https://github.com/liujinbao3000/smokeping.git
    cd smokeping
    docker build -t liujinbao3000/smokeping:latest
    docker images
    

运行Docker容器

  1. 更新内容
    1. 2019.7.4
      1. 加大主机显示图片的大小
      2. 增加多主机图
      3. 支持图片中文
  2. 运行Docker容器
    docker run -itd \
      --name=smokeping \
      -e PUID=1000 \
      -e PGID=1000 \
      -e TZ=Asia/Shanghai \
      -p 8088:80 \
      -v /var/local/docker/smokeping/config:/config \
      -v /var/local/docker/smokeping/data:/data \
      --restart unless-stopped \
    liujinbao3000/smokeping
    
  3. 访问
    http://IP:8088
    
  4. 运行管理脚本
    bash /var/local/docker/smokeping/config/smokeping
    
  5. 脚本预览
     ----------------------------------------
     |*************smokeping菜单*************|
     ----------------------------------------
     容器名字和路径如果不对用8项更改
     可以在任意选择界面按Ctrl+c键退出
     1)重启smokeping
     2)停止smokeping
     3)显示smokeping日志
     4)备份当前监控主机文件
     5)恢复监控主机文件
     6)增加被监控主机
     7)使用vi编辑配置文件
     8)自定义smokeping的名称和配置目录
     9)删除容器smokeping
     0)退出
    请输入功能对应的数字:
    

smokeping's People

Contributors

liujinbao3000 avatar

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.