为了方便多场景批量性能测试,用golang写了个监控程序,可以通过get url方式启动和停止nmon服务, 适合配合Loadrunner和jmeter进行性能测试,可以做到批量执行场景并生成监控报告!
如在固定服务器上进行长期监控,建议使用open-falcon、Telegraf+Influxdb+grafana或NetData等优秀的监控工具
http://mzky.cc/post/9.html
https://github.com/mzky/easyNmon/releases
点击链接加入群聊【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
nmon:http://nmon.sourceforge.net/
web框架gin:https://github.com/gin-gonic/gin
图表插件echarts:http://echarts.baidu.com/
前端amazeui:http://amazeui.org
1、无法创建报告文件(html)
查看是否权限正常,非root用户可以将程序放在当前用户的目录下,例如/home/user
2、无法创建data文件(不显示图表)
查看nmon版本是否正确,根据不同系统配置对应的nmon版本,arm版本在QQ群共享文件夹里