21 Star 54 Fork 16

mzky / easyNmon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

EasyNmon

为了方便多场景批量性能测试,用golang写了个监控程序,可以通过get url方式启动和停止nmon服务, 适合配合Loadrunner和jmeter进行性能测试,可以做到批量执行场景并生成监控报告!

弱水三千只取一瓢,easyNmon的目标很明确:简单、轻量、绿色,在不需要安装任何语言环境和插件的情况下进行Linux系统资源监控

如在固定服务器上进行长期监控,建议使用open-falcon、Telegraf+Influxdb+grafana或NetData等优秀的监控工具

操作说明:

http://mzky.cc/post/9.html

执行文件下载:(以下执行文件不包含源码)

https://github.com/mzky/easyNmon/releases

镜像: https://pan.baidu.com/s/1XCeNQPMtymlI79kgNCg1ZA

为方便沟通,建了一个QQ群:

点击链接加入群聊【EasyNmon交流】:https://jq.qq.com/?_wv=1027&k=5sgrpm9

☆ 特别感谢ElectricBubble提交的代码,使EasyNmon实现完全go语言编码

扩展工具

goodhal的批量部署及监控服务:https://gitee.com/goodhal/ezNmon-Manager

jmeter优化版:https://github.com/mzky/Jmeter-Extension

更新日志:

https://github.com/mzky/easyNmon/wiki/ChangeLog

注意:默认nmon支持CentOS6~7,Ubuntu和SUSE等版本需要-np参数指定对应的版本

巨人肩膀:

nmon:http://nmon.sourceforge.net/

web框架gin:https://github.com/gin-gonic/gin

图表插件echarts:http://echarts.baidu.com/

前端amazeui:http://amazeui.org

FAQ

1、无法创建报告文件(html)

查看是否权限正常,非root用户可以将程序放在当前用户的目录下,例如/home/user

2、无法创建data文件(不显示图表)

查看nmon版本是否正确,根据不同系统配置对应的nmon版本,arm版本在QQ群共享文件夹里

openAnolis8.4和openEuler22.03,需安装依赖包(CentOS8可能也需要):yum install ncurses*

MIT License Copyright (c) 2020 池边树下 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

https://github.com/mzky/easyNmon.git 展开 收起
Go 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/mzky/easyNmon.git
git@gitee.com:mzky/easyNmon.git
mzky
easyNmon
easyNmon
master

搜索帮助