Giter VIP home page Giter VIP logo

easynmon's Introduction

EasyNmon

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

使用说明:

https://www.jianshu.com/p/c7c36ba14d3e

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

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

更新日志:

2018.11.19

1.增加报告图表平均值线

2.增加web管理页面,可以通过管理页面提交监控、结束监控和查看报告

2018.08.08

1.将nmonCTL.sh去掉,功能集成到go代码中

2.未到nmon设置的预定时间,结束监控服务和nmon进程时,自动生成index.html图表页面文件

3.将-port参数改为-p

4.增加build脚本,构建go代码和进行upx压缩

2018.06.05

1.监控接口返回值添加报告列表的url地址,可自己使用地址在浏览器中查看html报告

2.使用upx将执行文件压缩,打包添加到wiki,方便大家仅下载工具,不需要clone工程

2018.05.16

1.增加-h帮助和示例

2.增加/report在线显示图表报告

3.修改参数n为文件名,t为时长

4.增加/close关闭自身接口

5.修改线程执行方式

2018.04.27

1.变更get参数格式,增加监控时间参数

2.使用日期+场景名方式保存报告,避免场景重复

后期规划:

与LR和jmeter批量测试自动化框架结合 达到自动执行性能,自动监控服务器,自动生成html报告(包括TPS、RT和服务器性能报告)

jmeter4.0的html报告汉化:

https://github.com/mzky/jmeter4.0-cn-report-template

问题反馈:[email protected]

引用:

go的http框架采用gin:https://gin-gonic.github.io/gin/

图表插件采用百度的echarts:http://echarts.baidu.com/

新版nmon下载地址:http://nmon.sourceforge.net/

#注意: 默认nmon为CentOS版本(CentOS6.5~7.4正常),Ubuntu和SUSE需要下载对应版本的nmon替换(SESE11.4测试正常)

easynmon's People

Contributors

mzky avatar cnbjca avatar

Watchers

James Cloos avatar 次郎 avatar

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.