Giter VIP home page Giter VIP logo

agent-server's Introduction

agent-server

version go-mod license downloads

jkstack agent统一管理服务,与同类产品相比有以下优势:

  1. 支持大规模集群
  2. 支持agent配置的动态更新和统一下发
  3. 支持agent监控数据的统一收集以及grafana的展示
  4. 提供restful接口方便二次开发

功能描述

  1. 支持已连接agent的列表和基本信息获取
  2. 支持服务器端状态获取
  3. 主机监控信息采集,需依赖metrics-agent
    • 采集任务的批量启动/停止
    • 采集节点的动态更改任务配置
  4. 远程脚本执行,需依赖exec-agent
  5. 远程文件列表和上传/下载,需依赖exec-agent
  6. 支持agent节点状态监控和grafana展示

已支持agent

  1. example-agent: 一个agent的示例
  2. metrics-agent: 主机监控信息采集
  3. exec-agent: 远程执行脚本或上传下载文件

快速部署

服务端程序推荐使用linux系统进行部署

  1. 根据当前操作系统下载debrpm安装包,下载地址

  2. 使用rpmdpkg命令安装该软件包,程序将被安装到/opt/agent-server目录下

  3. 按需修改配置文件,配置文件将被安装在/opt/agent-server/conf/server.conf目录下

  4. 使用以下命令启动服务器端程序

    /opt/agent-server/bin/agent-server -action start
    
  5. 检查当前服务启动状态

    curl http://<服务端IP>:<端口号(默认13081)>/api/info/server
    

restful接口

  • 在部署完成后可通过http://<服务端IP>:<端口号(默认13081)>/docs/index.html插件接口文档
  • 也可下载http://<服务端IP>:<端口号(默认13081)>/docs/doc.json文件后导入到apifox或postman进行调试

开源社区

文档知识库:https://jkstack.github.io/

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.