【问题标题】:Jmeter zabbix integrationjmeter zabbix集成
【发布时间】:2015-09-22 05:24:34
【问题描述】:

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

【问题讨论】:

    标签: jmeter zabbix


    【解决方案1】:
    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]
    

    【讨论】:

      猜你喜欢
      • 2018-07-14
      • 2011-01-23
      • 2019-05-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多