Search code examples
monitorzabbixhealth-monitoring

zabbix monitor disk on Windows


now ,I get the value from Zabbix Server.The value include IOPS,IO Response Time,and so on.But I want to monitor whether the value is in the range allowed.How to do it.
demo:
items [A]
name Avg Disk sec/Read Response Time
key perf_counter[\234(_Total)\208]
now new items [B] monitor items[A]'s Value, if Value < 12 ms items[B]'s Value is Good,else items[B]'s Value is bad.
In a word,i only want to monitor the disk io response time is healthy or not.

update:
items[A] : monitor windows disk
items[B] : another items is uesed to monitor items[A]'s Value
I want to show io health in charts,instead of setting the trigger


Solution

  • I didn't quite get what's item "[B]", but in general, thresholds (or more complicated problem conditions) in Zabbix are specified using triggers.

    For example, in your case the trigger expression could be {host:perf_counter[\234(_Total)\208].last()}>12. That is assuming your item holds data in ms. If other units are used, adjust the threshold accordingly.

    This example uses the most simple trigger function, last(). See the trigger function list in the Zabbix manual for an idea of other, more fancy trigger expressions you could construct.