一、效果图

wKioL1Ycxa2Ajf_oAAFdEL00A3o036.jpg

二、proc.num说明:

官方说明文档路径:https://www.zabbix.com/documentation/2.4/manual/config/items/itemtypes/zabbix_agent

命令
说明
proc.mem[,,,] Memory used by a process. process name (default: "all processes"). user name (default: "all users"). possible values: avg, max, min, sum (default). filter by command line (supports regex). Example: proc.mem[,root].
监控进程占用的内存,不支持windows
proc.num[,,,] Number of processes. 进程名字 and 运行进程的用户名  same as in proc.mem item. 进程的状态 all (default), run, sleep, zomb. 进程名中包含的字符  filter by command line (supports regex). Example: proc.num[apache2,www-data]. On Windows, only and are supported.
windows只能使用 and
proc_info[,,] Different information about specific process(es)


三、查看相关需要监控进程:

1、监控用户远程桌面进程:

wKioL1YcytHQCqRuAACWNMAddkI967.jpg

2、查看无需用户的进程:

zabbix监控:监控windows进程_第1张图片


3、进程IIS进程数:

wKioL1Ycy2HQriddAADL4vo-kf8922.jpg


四、创建监控项:

1、监控某个用户sunday桌面进程数量

使用proc.num[explorer.exe,sunday]监控指定用户sunday桌面进程数量

zabbix监控:监控windows进程_第2张图片

2、不指定用户名,可以监控svchost.exe进程总数量

proc.num[svchost.exe]

zabbix监控:监控windows进程_第3张图片


3、administrator用户所有进程数量

proc.num[,administrator]

zabbix监控:监控windows进程_第4张图片

4、IIS进程数量:

proc.num[w3wp.exe]

zabbix监控:监控windows进程_第5张图片



五、模板下载:

可以直接导模板使用。