配置相关信息 server: linux centos 6.8
agent: windows server 2008 r2
版本:zabbix 3.0.4 server agnet 3.0.0
# 因客户端连接服务器服务老是中断,先判断是不是由进程产生的问题,
1、比如进程在一分钟内突然中断,监控就会显示内存为空,那么就能说明是这个进程挂了;
2、网络可以直接监控服务器连接的交换机端口,如果没有流量说明机器挂了.
1.配置zabbix agent相关配置
2.安装zabbix agent服务
3.启动服务
4.检查客户端是否已连接服务
5.查看windows进程项
6.配置zabbix server
1.配置zabbix agent相关配置
找到conf下的配置文件 zabbix_agentd.win.conf ,修改LogFile、Server、Hostname这三个参数。具体配置如下:
LogFile=c:\zabbix_agentd.log # 日志路径
Server=192.168.1.224 # 服务器地址
Hostname=f523540 # 本地主机名称
ServerActive=192.168.1.224 #zabbix server地址
2.安装zabbix agent服务
windows控制台下执行以下命令:
D:\zabbix\bin\win32\zabbix_agentd.exe -c D:\zabbix\conf\zabbix_agentd.win.conf -i ,具体如截图:
3.启动服务
4.检查客户端是否已连接服务
# 登陆zabbix服务查看机器是否已经连接 这里说明已经连接上 只是主机没法查找
5.查看windows进程项
管理工具 -- 性能监视器
6.配置zabbix server
# perf_counter 这个是关键字一定不能省,想监控内存之类的 更性后面那一堆值就行
perf_counter[\Process(U8AllAuthServer)\Working Set - Private]
7. 配置项导入
3.0
2018-02-08T03:07:50Z
Linux servers
U8SERVER
U8SERVER
0
-1
2
1
1
Linux servers
1
1
1
192.168.1.1
10050
1
if1
U8_memcache
0
0
perf_counter[\Process(memcached)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
U8_AllAuthServer
0
0
perf_counter[\Process(U8AllAuthServer)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
U8_DispatchService
0
0
perf_counter[\Process(U8DispatchService)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
U8_KeyManagePool
0
0
perf_counter[\Process(U8KeyManagePool)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
U8_MPool
0
0
perf_counter[\Process(U8MPool)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
U8_SCMPool
0
0
perf_counter[\Process(U8SCMPool)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
U8_TaskService
0
0
perf_counter[\Process(U8TaskService)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
U8_WebPool
0
0
perf_counter[\Process(U8WebPool)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
U8_UTU.Services
0
0
perf_counter[\Process(UFIDA.U8.ECE.UTU.Services)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
Ub_Report.SLReportService
0
0
perf_counter[\Process(UFIDA.U8.Report.SLReportService)\Working Set - Private]
30
90
365
0
0
0
0
0
0
1
0
0
0
if1
U8_process
900
200
0.0000
100.0000
1
1
0
1
0
0.0000
0.0000
0
0
0
0
0
2
A54F10
0
2
0
U8SERVER
perf_counter[\Process(U8AllAuthServer)\Working Set - Private]
1
2
FC6EA3
0
2
0
U8SERVER
perf_counter[\Process(U8DispatchService)\Working Set - Private]
2
2
6C59DC
0
2
0
U8SERVER
perf_counter[\Process(U8KeyManagePool)\Working Set - Private]
3
2
AC8C14
0
2
0
U8SERVER
perf_counter[\Process(memcached)\Working Set - Private]
4
2
611F27
0
2
0
U8SERVER
perf_counter[\Process(U8MPool)\Working Set - Private]
5
2
F230E0
0
2
0
U8SERVER
perf_counter[\Process(U8SCMPool)\Working Set - Private]
6
2
5CCD18
0
2
0
U8SERVER
perf_counter[\Process(U8TaskService)\Working Set - Private]
7
2
BB2A02
0
2
0
U8SERVER
perf_counter[\Process(UFIDA.U8.ECE.UTU.Services)\Working Set - Private]
8
2
5A2B57
0
2
0
U8SERVER
perf_counter[\Process(U8WebPool)\Working Set - Private]
9
2
89ABF8
0
2
0
U8SERVER
perf_counter[\Process(UFIDA.U8.Report.SLReportService)\Working Set - Private]