https://github.com/jkstack/agent-server
jkstack agent统一管理服务
https://github.com/jkstack/agent-server
agent executor metrics
Last synced: 9 months ago
JSON representation
jkstack agent统一管理服务
- Host: GitHub
- URL: https://github.com/jkstack/agent-server
- Owner: jkstack
- License: agpl-3.0
- Created: 2022-08-09T09:29:07.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T06:51:47.000Z (over 1 year ago)
- Last Synced: 2025-04-05T06:05:57.552Z (10 months ago)
- Topics: agent, executor, metrics
- Language: Go
- Homepage: https://jkstack.github.io/docs/agents/server/
- Size: 670 KB
- Stars: 16
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# agent-server
[](https://github.com/jkstack/agent-server/releases/latest)
[](https://github.com/jkstack/agent-server)
[](https://www.gnu.org/licenses/agpl-3.0.txt)

jkstack agent统一管理服务,与同类产品相比有以下优势:
1. 支持大规模集群
2. 支持agent配置的动态更新和统一下发
3. 支持agent监控数据的统一收集以及grafana的展示
4. 提供restful接口方便二次开发
## 功能描述
1. 支持已连接agent的列表和基本信息获取
2. 支持服务器端状态获取
3. 主机监控信息采集,需依赖[metrics-agent](https://github.com/jkstack/metrics-agent)
- 采集任务的批量启动/停止
- 采集节点的动态更改任务配置
4. 远程脚本执行,需依赖[exec-agent](https://github.com/jkstack/metrics-agent)
5. 远程文件列表和上传/下载,需依赖[exec-agent](https://github.com/jkstack/exec-agent)
6. 支持agent节点状态监控和grafana展示
## 已支持agent
1. [example-agent](https://github.com/jkstack/example-agent): 一个agent的示例
2. [metrics-agent](https://github.com/jkstack/metrics-agent): 主机监控信息采集
3. [exec-agent](https://github.com/jkstack/exec-agent): 远程执行脚本或上传下载文件
4. rpa-agent: 桌面自动化
5. ipmi-agent: 物理服务器IPMI监控数据采集
6. snmp-agent: 物理服务器SNMP监控数据采集
## 快速部署
服务端程序推荐使用`linux`系统进行部署
1. 根据当前操作系统下载`deb`或`rpm`安装包,[下载地址](https://github.com/jkstack/agent-server/releases/latest)
2. 使用`rpm`或`dpkg`命令安装该软件包,程序将被安装到`/opt/agent-server`目录下
3. 按需修改配置文件,配置文件将被安装在`/opt/agent-server/conf/server.conf`目录下
4. 使用以下命令启动服务器端程序
/opt/agent-server/bin/agent-server 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/
