不同系统下的多个nGrinder Agent代理使用

window 系统下的nGrinder agent代理

##下载,解压,双击ngrinder-agent下的run_agent.bat
在这里插入图片描述

linux系统下的nGrinder agent代理

##下载方式同上,上传linux
rz ngrinder-agent-3.5.4-localhost.tar

##解压
tar -xf ngrinder-agent-3.5.4-localhost.tar

##修改配置
vim /usr/local/ngrinder-agent/__agent.conf

common.start_mode=agent
# controller的地址
agent.controller_host=192.168.*.*
agent.controller_port=16001
agent.region=NONE
# 代理地址ip
agent.host_id=192.168.*.*
agent.server_mode=true

# provide more agent java execution option if necessary.
#agent.java_opt=
# provide more agent jvm classpath if necessary.
#agent.jvm.classpath=
# set following false if you want to use more than 1G Xmx memory per a agent process.
#agent.limit_xmx=true
# please uncomment the following option if you want to send all logs to the controller.
#agent.all_logs=true
# some jvm is not compatible with DNSJava. If so, set this false.
#agent.enable_local_dns=false
# please uncomment the following option if you want to run controller_to_agent connection mode agent.
#agent.connection_mode=controller_to_agent
#agent.connection_port=14000
# set following with the ip you want to broadcast yourself. Set this option if the agent needs to be discovered as public ip.
#agent.broadcast_ip=

##启动linux下的agent
./run_agent.sh > /tmp/run_agent.log 2>&1 &

##查看日志,检查是否启动成功
在这里插入图片描述
注意:
a.controller和agent之间的防火墙要开通
b.启动成功后agent.conf的配置文件的路径存放在/root/.ngrinder_agent/下

##多个agent代理
在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值