天天看点

服务器监控-jmeter之 [email protected] - PerfMon Metrics Collector

1.下载:

链接:https://pan.baidu.com/s/1EIjdnW7K3OwX_Onj8hxqZw

提取码:z6mr

里面有三个文件

  • ServerAgent-2.2.3.zip 
  • JMeterPlugins-Standard-1.4.0.zip 
  • JMeterPlugins-Extras-1.4.0.zip

其中JMeterPlugins-Standard和JMeterPlugins-Extras是客户端的,ServerAgent是服务端的。

二、配置

  • 将 JMeterPlugins-Standard-1.3.1.zip 中 lib\ext 目录下的 JmeterPlugins-Standard.jar 文件都放到apache-jmeter-2.13\lib\ext目录中。
  • 将 JMeterPlugins-Extras-1.3.1.zip 中 lib\ext 目录下的 JMeterPlugins-Extras.jar 文件放到 apache-jmeter-2.13\lib\ext目录中。
  • 将 ServerAgent-2.2.1 放到要监控的服务器中待使用。

三、监控

  • 1.在jmeter监听器中添加[email protected] - PerfMon Metrics Collector
服务器监控-jmeter之 [email protected] - PerfMon Metrics Collector
  • 2.填写监控IP,监控内
    服务器监控-jmeter之 [email protected] - PerfMon Metrics Collector
  • 3.运行 ServerAgent-2.2.3\bin\startAgent.bat(在Linux使用startAgent.sh)
    • 在linux上运行,查看ServerAgent日志
服务器监控-jmeter之 [email protected] - PerfMon Metrics Collector

(默认端口为4444,也可以参数指定 –udp-port 4445 –tcp-port 4445)

  • 点击jmeter启动按钮后,查看插件监控服务器CPU折线图
服务器监控-jmeter之 [email protected] - PerfMon Metrics Collector

继续阅读