{"id":19621280,"url":"https://github.com/jkstack/agent-server","last_synced_at":"2025-04-28T03:32:16.678Z","repository":{"id":55125782,"uuid":"522884337","full_name":"jkstack/agent-server","owner":"jkstack","description":"jkstack agent统一管理服务","archived":false,"fork":false,"pushed_at":"2024-05-09T06:51:47.000Z","size":686,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T06:05:57.552Z","etag":null,"topics":["agent","executor","metrics"],"latest_commit_sha":null,"homepage":"https://jkstack.github.io/docs/agents/server/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jkstack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-09T09:29:07.000Z","updated_at":"2025-03-30T00:38:43.000Z","dependencies_parsed_at":"2023-02-17T02:46:13.224Z","dependency_job_id":"6d467762-011f-4bc6-805d-9fb41b7190c6","html_url":"https://github.com/jkstack/agent-server","commit_stats":{"total_commits":160,"total_committers":1,"mean_commits":160.0,"dds":0.0,"last_synced_commit":"4d0e1433fb6dfb8c60ea9635dac638607c4f542e"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkstack%2Fagent-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkstack%2Fagent-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkstack%2Fagent-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkstack%2Fagent-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkstack","download_url":"https://codeload.github.com/jkstack/agent-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246231,"owners_count":21558761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","executor","metrics"],"created_at":"2024-11-11T11:22:14.236Z","updated_at":"2025-04-28T03:32:15.475Z","avatar_url":"https://github.com/jkstack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# agent-server\n\n[![version](https://img.shields.io/github/v/release/jkstack/agent-server)](https://github.com/jkstack/agent-server/releases/latest)\n[![go-mod](https://img.shields.io/github/go-mod/go-version/jkstack/agent-server)](https://github.com/jkstack/agent-server)\n[![license](https://img.shields.io/github/license/jkstack/agent-server)](https://www.gnu.org/licenses/agpl-3.0.txt)\n![downloads](https://img.shields.io/github/downloads/jkstack/agent-server/total)\n\njkstack agent统一管理服务，与同类产品相比有以下优势：\n\n1. 支持大规模集群\n2. 支持agent配置的动态更新和统一下发\n3. 支持agent监控数据的统一收集以及grafana的展示\n4. 提供restful接口方便二次开发\n\n## 功能描述\n\n1. 支持已连接agent的列表和基本信息获取\n2. 支持服务器端状态获取\n3. 主机监控信息采集，需依赖[metrics-agent](https://github.com/jkstack/metrics-agent)\n   - 采集任务的批量启动/停止\n   - 采集节点的动态更改任务配置\n4. 远程脚本执行，需依赖[exec-agent](https://github.com/jkstack/metrics-agent)\n5. 远程文件列表和上传/下载，需依赖[exec-agent](https://github.com/jkstack/exec-agent)\n6. 支持agent节点状态监控和grafana展示\n\n## 已支持agent\n\n1. [example-agent](https://github.com/jkstack/example-agent): 一个agent的示例\n2. [metrics-agent](https://github.com/jkstack/metrics-agent): 主机监控信息采集\n3. [exec-agent](https://github.com/jkstack/exec-agent): 远程执行脚本或上传下载文件\n4. rpa-agent: 桌面自动化\n5. ipmi-agent: 物理服务器IPMI监控数据采集\n6. snmp-agent: 物理服务器SNMP监控数据采集\n\n## 快速部署\n\n服务端程序推荐使用`linux`系统进行部署\n\n1. 根据当前操作系统下载`deb`或`rpm`安装包，[下载地址](https://github.com/jkstack/agent-server/releases/latest)\n2. 使用`rpm`或`dpkg`命令安装该软件包，程序将被安装到`/opt/agent-server`目录下\n3. 按需修改配置文件，配置文件将被安装在`/opt/agent-server/conf/server.conf`目录下\n4. 使用以下命令启动服务器端程序\n\n       /opt/agent-server/bin/agent-server start\n5. 检查当前服务启动状态\n\n       curl http://\u003c服务端IP\u003e:\u003c端口号(默认13081)\u003e/api/info/server\n\n## restful接口\n\n* 在部署完成后可通过`http://\u003c服务端IP\u003e:\u003c端口号(默认13081)\u003e/docs/index.html`插件接口文档\n* 也可下载`http://\u003c服务端IP\u003e:\u003c端口号(默认13081)\u003e/docs/doc.json`文件后导入到apifox或postman进行调试\n\n## 开源社区\n\n文档知识库：https://jkstack.github.io/\n\n\u003cimg src=\"docs/wechat_QR.jpg\" height=200px width=200px /\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkstack%2Fagent-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkstack%2Fagent-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkstack%2Fagent-server/lists"}