One
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/6A/wKioL1Ycxa2Ajf_oAAFdEL00A3o036.jpg "title=" 2.jpg " alt= "Wkiol1ycxa2ajf_oaafdel00a3o036.jpg"/>
Second, Proc.num Description:
Official Instructions document Path: https://www.zabbix.com/documentation/2.4/manual/config/items/itemtypes/zabbix_agent
Command
|
Description |
Proc.mem[<name>,<user>,<mode>,<cmdline>] |
Memory used by aprocess. <name> Process Name (default: "All Processes") .<user> the user name (default: "All Users"). <mode> possiblevalues:avg, max, Min, sum (default). <cmdline> Filter by command line (Supportsregex). Example:proc.mem[,root]. Monitoring the memory consumed by the process, does not support windows |
Proc.num[<name>,<user>,<state>,<cmdline>] |
Number of processes.<name> process name and <user> user name of the running process same as in Proc.mem item.<state> process state All (default), Run, sleep, zomb.<cmdline> the characters contained in the process name filter by command line (supports regex). Example:proc.num[apache2,www-data]. On Windows, only <name> and<user> is supported. Windows can only use <name> and <user> |
Proc_info[<process>,<attribute>,<type>] |
Different informationabout specific process (es) |
Third, review the relevant needs to monitor the process:
1, monitoring the user Remote Desktop process:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/6A/wKioL1YcytHQCqRuAACWNMAddkI967.jpg "title=" 2.jpg " alt= "Wkiol1ycythqcqruaacwnmaddki967.jpg"/>
2. View processes without users:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/6E/wKiom1YcytDiuVioAAFTULnqVZc813.jpg "title=" 2.jpg " alt= "Wkiom1ycytdiuvioaaftulnqvzc813.jpg"/>
3. Number of process IIS processes:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/6A/wKioL1Ycy2HQriddAADL4vo-kf8922.jpg "title=" 2.jpg " alt= "Wkiol1ycy2hqriddaadl4vo-kf8922.jpg"/>
Iv. Creating a monitoring entry:
1, monitoring a user Sunday desktop process number
Use Proc.num[explorer.exe,sunday] to monitor the number of Sunday desktop processes specified by users
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/74/6E/wKiom1YczOaz5RdaAAIM2efkAaM294.jpg "title=" 2.jpg " alt= "Wkiom1yczoaz5rdaaaim2efkaam294.jpg"/>
2, do not specify the user name, you can monitor the total number of svchost.exe processes
Proc.num[svchost.exe]
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/6B/wKioL1YczUaSApUpAAHlGeviKDs228.jpg "title=" 2.jpg " alt= "Wkiol1yczuasapupaahlgevikds228.jpg"/>
3, administrator user all process quantity
Proc.num[,administrator]
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/74/6E/wKiom1YczimBWV-fAAHPGtKUCDw640.jpg "title=" 2.jpg " alt= "Wkiom1yczimbwv-faahpgtkucdw640.jpg"/>
4. Number of IIS processes:
Proc.num[w3wp.exe]
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/6B/wKioL1YczifhXXh5AAHe2Dtz3_g337.jpg "title=" 2.jpg " alt= "Wkiol1yczifhxxh5aahe2dtz3_g337.jpg"/>
Five, template download:
Can be directly used to guide the template.
This article is from the "Urban Cloth" blog, please be sure to keep this source http://sunday208.blog.51cto.com/377871/1702593
Zabbix monitoring: Monitoring Windows processes