Giter Club home page Giter Club logo

agent's Introduction

Agent

配置configs/agent.conf

master: http://192.168.1.100:7777       # 主服务器地址
id: KwOe0dkxtyKHzMRC                    # 当前主机ID
key: ZtJUYdjO6enUwHwx9TyczhrqAHoO2FBv   # 当前主机密钥

测试和主服务器连接:

bin/teaweb-agent test

启动:

bin/teaweb-agent start

停止:

bin/teaweb-agent stop

重启:

bin/teaweb-agent restart

手动执行某个任务:

bin/teaweb-agent run [TASK ID]

手动执行某个监控项数据源程序:

bin/teaweb-agent run [ITEM ID]

查看Agent版本(从v0.1.1开始支持):

bin/teaweb-agent -v
bin/teaweb-agent version

agent's People

Contributors

iwind avatar

Stargazers

 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

agent's Issues

Teaweb-agent包里默认没有scripts目录及启动脚本

Teaweb-agent包里默认没有scripts目录及启动脚本

启动脚本在Teaweb主包里,agent包里反而没有。
安装安装文档,还需要去另一个包里去找到,scp到web real机器上。弄自启动。

希望将scripts下的teaweb-agent文件放在agent包中。省的还需要去scp一下。比较agent支持自动升级。一次性设置好以后就不需要管了。

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.