Zabbix Windows Data Acquisition
Zabbix's support for Windows is not as powerful as the Linux platform, but it can be captured by using Windows Typeperf.exe for Windows performance data
TypePerf.exe is a command-line tool that includes outputting performance counter data from the Windows operating system to a command window or writing to a log file format that supports that feature.
The common parameters are as follows:
PERFCOUNTER=USERPERFCOUNTERCPU, "\processor (_total) \% Processor time", CPU usage
USERPARAMETER=ESTABLISHED,NETSTAT-ANP TCP | FIND/C "established"
USERPARAMETER=TIME_WAIT,NETSTAT-ANP TCP | Find/c "Time_wait"
USERPARAMETER=LISTENING,NETSTAT-ANP TCP | Find/c "LISTENING"
USERPARAMETER=CLOSE_WAIT,NETSTAT-ANP TCP | Find/c "Close_wait"
USERPARAMETER=SYN_RECV,NETSTAT-ANP TCP | Find/c "Syn_recv"
USERPARAMETER=SYN_SENT,NETSTAT-ANP TCP | Find/c "Syn_sent"
USERPARAMETER=LAST_ACK,NETSTAT-ANP TCP | Find/c "Last_ack"
USERPARAMETER=FIN_WAIT,NETSTAT-ANP TCP | Find/c "Fin_wait"
USERPARAMETER=NETSTAT_ALL,NETSTAT-ANP | Find/c "TCP"
Perfcounter=db_userconns, "\sqlserver:general Statistics () \user Connections", number # # #SQLServer connections
Perfcounter=db_buffer_cache, "\sqlserver:buffer Manager\buffer Cache Hit ratio", 60
Perfcounter=db_deadlocks, "\sqlserver:locks (Key) \number of Deadlocks/sec", # # #每秒存在的死锁数
Perfcounter=disk_queue, "\physicaldisk (_total) \avg. Disk Queue Length", 60
Perfcounter=disk_write_queue, "\physicaldisk (_total) \avg. Disk Write Queue Length", 60
Perfcounter=disk_write_bytes, "\physicaldisk (_total) \disk write Bytes/sec", 60
Perfcounter=disk_read_bytes, "\physicaldisk (_total) \disk read Bytes/sec", 60
Perfcounter=disk_idle, "\physicaldisk (_total) \% idle time", 60
More parameters, via cmd view: typeperf-qx | More
This article is from the "It Life" blog, so be sure to keep this source http://caibird.blog.51cto.com/1403570/1591709
Zabbix Getting Windows Server information