Giter VIP home page Giter VIP logo

agentx's Introduction

AgentX

AgentX是alinode团队开发的agent命令程序,用于协助alinode的性能数据上报和问题诊断。

Installation

$ npm install agentx -g

以上命令会将agentx安装为一个全局的命令行工具。

Usage

agentx需要一个配置文件来进行使用,agentx仅会在配置指定下的目录执行命令或读取日志。

该配置格式如下:

{
  "server": "<SERVER IP>:8080",
  "appid": "<YOUR APPID>",
  "secret": "<YOUR SECRET>",
  "cmddir": "</path/to/your/command/dir>",
  "logdir": "</path/to/your/log/dir>",
  "reconnectDelay": 10,
  "heartbeatInterval": 60,
  "reportInterval": 60
}

保存为config.json。上述不明确的地方请咨询旺旺群:1406236180。

完成配置后,请使用以下命令进行执行:

$ nohup agentx config.json &

agentx将以常驻进程的方式执行。部署完成后,请访问http://alinode.aliyun.com/dashboard查看您的应用详情。如果一切正常,稍等片刻(1分钟)即可收到你的应用性能数据。

License

The agentx is released under the MIT license.

agentx's People

Contributors

jacksontian avatar zhangzifa avatar

Watchers

 avatar  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.