首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Jmeter zabbix集成

Jmeter zabbix集成
EN

Stack Overflow用户
提问于 2015-09-18 23:29:28
回答 1查看 1.7K关注 0票数 0

在我目前的项目中,我们使用jmeter进行性能测试。为了监控服务器端指标,我们计划使用zabbix。我们尝试使用jmeter附带的perfmon指标收集器插件,但无法在无头执行模式下捕获图形结果。作为zabbix的新手,我想知道集成zabbix和jmeter.Thanks的步骤以获得帮助

EN

回答 1

Stack Overflow用户

发布于 2015-09-22 05:24:34

代码语言:javascript
复制
Two ways to do that.  
1- Client Side  
a) Write a script to execute your jmeter tests   
b) Make your way to execute this script periodically (cron(linux) or Scheduler(Windows))  
c) use the zabbix_sender (CLI) that comes with zabbix agent to send the data to Zabbix server.

2 - Server side (I prefer this way)

a) Write a script to execute your jmeter tests   
b) Configure this script on the agentd configurarion file like this

UserParameter=jmeter_stats[*], /etc/my_script_folder/jmeter_stats.py $1

jmeter_stats.py = Your script to execute jmeter tests
$1 = Parameters (if you have any)
jmeter_stats[*] = The Key you will configure on Zabbix

c) Create a new item on Zabbix server with type zabbix_agent and key jmeter_stat  

key:jmeter_stats[you_script_parameter_here]
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32655783

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档