Centos系统下载大全 | Redhat系统下载大全 | Windows2012系统下载大全 | Windows2008系统下载大全| CMS教程 | 网站地图 51运维网-专注Linux/Unix系统安全运维!
当前位置:51运维网 > 监控 > Zabbix > 正文


时间:2014-12-29 20:17 来源:未知 作者:www.51ou.com 阅读:





process - process name
attribute - requested processattribute.
type - representation type(meaningful when more than one process with the same name exists)


The following attributes are currentlysupported:
vmsize - Size of processvirtual memory in Kbytes
wkset - Size of process workingset (amount of physical memory used by process) in Kbytes
pf - Number of page faults
ktime - Process kernel time inmilliseconds
utime - Process user time inmilliseconds
io_read_b - Number of bytesread by process during I/O operations
io_read_op - Number of readoperation performed by process
io_write_b - Number of byteswritten by process during I/O operations
io_write_op - Number of writeoperation performed by process
io_other_b - Number of bytestransferred by process during operations other than read and write operations
io_other_op - Number of I/Ooperations performed by process, other than read and write operations
gdiobj - Number of GDI objectsused by process
userobj - Number of USERobjects used by process

Valid types are:
min - minimal value among allprocesses named <process>
max - maximal value among allprocesses named <process>
avg - average value for allprocesses named <process>
sum - sum of values for allprocesses named <process>

proc_info[iexplore.exe,wkset,sum] - to get the amount of physical memory takenby all Internet Explorer processes
proc_info[iexplore.exe,pf,avg] - to get the average number of page faults forInternet Explorer processes

Note that on a 64-bit system, a 64-bit Zabbix agent is required for this itemto work correctly.

Note: io_*, gdiobj and userobj attributes are available only on Windows 2000and later versions of Windows, not on Windows NT 4.0.








0 - running
1 - paused
2 - start pending
3 - pause pending
4 - continue pending
5 - stop pending
6 - stopped
7 - unknown
255 - no such service




type - one of all (default), automatic, manual, disabled
state - one of all (default),stopped, started, start_pending, stop_pending, running, continue_pending,pause_pending, paused
exclude - list of services toexclude it from the result.
Excluded services should be written in double quotes, separated by comma,without spaces.
This parameter is supported starting with Zabbix 1.8.1.


services[,started] - list of started services
services[automatic, stopped] - list of stopped services, that should be run
services[automatic, stopped, "service1,service2,service3"] - list ofstopped services, that should be run, excluding services with names service1,service2 and service3




namespace - WMI namespace
query - WMI query returning asingle object


This key is supported starting with Zabbix 2.2.0.

wmi.get[root\cimv2,select status from Win32_DiskDrive where Name like'%PHYSICALDRIVE0%'] - returns the status of the first physical disk










name - name of event log
regexp - regular expressiondescribing the required pattern
severity - regular expressiondescribing severity
The parameter accepts the following values:
“Information”, “Warning”, “Error”, “Critical”, “Verbose” (since Zabbix 2.2.0 running on Windows Vistaor newer)
In older Zabbix versions running on any Windows version it would be“Information”, “Warning”, “Error”, “Failure Audit”, “Success Audit”.
source - regular expressiondescribing source identifier (regular expression is supported since Zabbix 2.2.0)
eventid - regular expressiondescribing the event identifier(s)
maxlines - maximum number ofnew lines per second the agent will send to Zabbix server or proxy. Thisparameter overrides the value of 'MaxLinesPerSecond' in zabbix_agentd.win.conf
mode - possible values:
all (default), skip (skip processing of olderdata).
The mode parameter is supportedsince Zabbix 2.0.0.


The item must be configured as an active check.

eventlog[Security,,"Failure Audit",,^(529|680)$]
eventlog[System,,,,@TWOSHORT] - here a custom regular expression named TWOSHORT is referenced (definedas a Result is TRUE type, theexpression itself being ^1$|^70$).

“Windows Eventing 6.0” is supported since Zabbix 2.2.0.

Monitoring Windows services

This tutorial provides step-by-step instructions for setting up themonitoring of Windows services. It is assumed that Zabbix server and agent areconfigured and operational.

To monitor the up/down status of a service you need to perform thefollowing steps:

Step 1

Get the service name.

You can get that name by going to the services mmc and bringing up theproperties of the service. In the General tab you should see a field called'Service name'. The value that follows is the name you will use when setting upan item for monitoring.

For example, if you wanted to monitor the “workstation” service then yourservice might be: lanmanworkstation.

Step 2

Configure an item for monitoring the service, with:

  • Key: service_state[lanmanworkstation]

  • Type of     information: Numeric (unsigned)

  • Show value: select the Windows service state value     mapping

感谢您对【51运维网 http://www.51ou.com/】的支持,我们为您免费提供《 zabbix监控windows相关key》技术文章,《 zabbix监控windows相关key》详细使用和说明,有时《 zabbix监控windows相关key》可能不完善、敬请谅解!如果《 zabbix监控windows相关key》有错误请给我们留言,我们将尽快修复文章错误,如果您觉得本站不错,请分享给周围的朋友!谢谢!