• zabbix_agent_win


    http://mayulin.blog.51cto.com/1628315/514447/

    http://www.cnblogs.com/likehua/p/3968689.html

    先下载win客户端

    解压

    c盘下建立文件夹zabbix

    1、 把解压包中的C:zabbix_agents_2.0.6.wininwin64下的三个文件拷贝到 C:zabbix下

    2、C:zabbix_agents_2.0.6.winconfzabbix_agentd.win.conf  拷贝到C:下 重命名为 zabbix_agentd.conf

    3、编辑zabbix_agentd.conf

    修改75、116行 Server=192.168.1.110、 ServerActive=192.168.1.110为服务器ip

    修改127行  Hostname=ys202          :即win主机的名称

    cmd下操作:

    C:UsersAdministrator>cd c:zabbix

    c:zabbix>zabbix_agentd.exe --install

    计算机--管理--服务和应用--服务-Zabbix Agent 右键启动  启动成功后在C盘更目录会生产 zabbix_agentd.log

    获取win的监控指标

     c:zabbix>typeperf -qx > c:zabbix.txt           把内容导入到c盘根目录zabbix.txt中       zabbix.txt中内容就是zabbix服务器要监控的内容的参数

    比如:

    Processor(_Total)\% Processor Time

    Processor(_Total)\% User Time

    编辑前面的zabbix_agentd.conf在尾巴加入如下监控内容  注意格式  

    PerfCounter = UserPerfCountercpu,"Processor(_Total)\% Processor Time",3                   UserPerfCountercpu是自己定义的名称就是下图的键值  3代表刷新速率   其他格式固定           

    PerfCounter = UserPerfCountercpuUserTime,"Processor(_Total)\% User Time",3     

  • 相关阅读:
    pointer-net
    pytorch0.4版的CNN对minist分类
    python+selenium遍历某一个标签中的内容
    selenium提取不了标签文本
    IndentationError: unindent does not match any outer indentation level
    windows下载安装mysql
    引用opencv异常
    jenkins简单安装及配置(Windows环境)
    多台服务器-SSH免密登录设置
    scheduleAtFixedRate 与 scheduleWithFixedDelay 的区别
  • 原文地址:https://www.cnblogs.com/hanxing/p/5657252.html
Copyright © 2020-2023  润新知