widnows 的性能计数器中可以查看到磁盘io 的性能参数值,下面自定义监控获取性能计数器中磁盘io 的值
在 windows 的zabbix 客户端配置文件中加上自定义
PerfCounter=Disk_Write_Bytes,"\PhysicalDisk(0 C: D:)\Disk Write Bytes/sec",15
PerfCounter=Disk_Reads_Bytes,"\PhysicalDisk(0 C: D:)\Disk Read Bytes/sec",15
PerfCounter=Disk_Reads,"\PhysicalDisk(0 C: D:)\Disk Reads/sec",15
PerfCounter=Disk_Writes,"\PhysicalDisk(0 C: D:)\Disk Writes/sec",15
PerfCounter=Disk_Bytes,"\PhysicalDisk(0 C: D:)\Disk Bytes/sec",15
PerfCounter=Disk_Transfers,"\PhysicalDisk(0 C: D:)\Disk Transfers/sec",15
zabbix 模板按照下图建立(发现不可以上传附件了)