# Check the disk io between my VM and another VM using telegraf(clearcase as an example)

**URL:** <https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994>\
**Category:** Systems\
**Tags:** telegraf\
**Created:** [November 20, 2019, 2:58pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994 "2019-11-20T14:58:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyler\_D](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/tyler_d/32/3916_2.png) [@Tyler\_D](https://community.influxdata.com/u/Tyler_D)\
**Post date:** [November 20, 2019, 2:58pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/1 "2019-11-20T14:58:45Z")

</div>

Hey,

So how would I get the metrics of disk io (read and write) between 2 servers? I know how to do it for my current server and its local disk, but confused on how to set it up to another server?

Any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [November 20, 2019, 4:23pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/2 "2019-11-20T16:23:31Z")

</div>

Hi @Tyler_D

If you just want to collect metrics from the server, then install the Telegraf agent on the servers you want to monitor and make sure the telegraf config file points to your influx instance and can authenticate with influxDB. After a couple of minutes you should see data from the other servers arrive in the database.

---

<div class="post-metadata">

**Author:** ![Tyler\_D](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/tyler_d/32/3916_2.png) [@Tyler\_D](https://community.influxdata.com/u/Tyler_D)\
**Post date:** [November 20, 2019, 4:51pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/3 "2019-11-20T16:51:31Z")

</div>

how do i solve this issue?

cant seem to get the disk io to work  
E! [inputs.diskio] Error in plugin: error getting disk io info: context deadline exceeded

---

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [November 20, 2019, 4:53pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/4 "2019-11-20T16:53:21Z")

</div>

Is this a windows or Linux server you want to monitor?

---

<div class="post-metadata">

**Author:** ![Tyler\_D](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/tyler_d/32/3916_2.png) [@Tyler\_D](https://community.influxdata.com/u/Tyler_D)\
**Post date:** [November 20, 2019, 5:05pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/5 "2019-11-20T17:05:43Z")

</div>

windows unfortunately

---

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [November 21, 2019, 8:52am UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/6 "2019-11-21T08:52:18Z")

</div>

Could you try with the [windows performance counters plugin?](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/win_perf_counters)

i think you want the win\_physicaldisk measurement for disk io

---

<div class="post-metadata">

**Author:** ![Tyler\_D](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/tyler_d/32/3916_2.png) [@Tyler\_D](https://community.influxdata.com/u/Tyler_D)\
**Post date:** [November 21, 2019, 1:44pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/7 "2019-11-21T13:44:49Z")

</div>

win\_diskio ?

What is the difference between that and diskio?

---

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [November 21, 2019, 2:30pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/8 "2019-11-21T14:30:20Z")

</div>

The main difference is the inputs.diskio, inputs.cpu and so on use WMI - The win\_perf\* counters are more efficient and the recommended option for monitoring Windows servers. I only know that because its in the config, i couldn’t find any documentation referencing it though.

Other than that, I’m unsure what other differences there are. Generally though I would use the inputs.cpu type inputs for monitoring Linux machines. Win\_perf for windows servers.

---

<div class="post-metadata">

**Author:** ![Tyler\_D](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/tyler_d/32/3916_2.png) [@Tyler\_D](https://community.influxdata.com/u/Tyler_D)\
**Post date:** [November 21, 2019, 2:31pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/9 "2019-11-21T14:31:26Z")

</div>

ok, thank you for your help!

side note, what is WMI\>  
?

---

<div class="post-metadata">

**Author:** ![philb](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/philb/32/1805_2.png) [@philb](https://community.influxdata.com/u/philb)\
**Post date:** [November 22, 2019, 11:51am UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/10 "2019-11-22T11:51:18Z")

</div>

Windows Management Instrumentation.

---

<div class="post-metadata">

**Author:** ![Tyler\_D](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/tyler_d/32/3916_2.png) [@Tyler\_D](https://community.influxdata.com/u/Tyler_D)\
**Post date:** [November 22, 2019, 4:14pm UTC](https://community.influxdata.com/t/check-the-disk-io-between-my-vm-and-another-vm-using-telegraf-clearcase-as-an-example/11994/11 "2019-11-22T16:14:16Z")

</div>

what measurements does the win\_diskio use? are they measured in ms, iops, etc?  
Just want to know what the best measurement is to monitor it in Grafana?

currently using this, but not sure if thats the best way to monitor it?

SELECT mean(“Percent\_Disk\_Read\_Time”) FROM “win\_diskio” WHERE (“host” = ‘xxxxx’ AND “objectname” = ‘PhysicalDisk’ AND “instance” = ‘0 C:’) AND timeFilter GROUP BY time(\_\_interval) fill(null)

like the percent disk read time…normal disk io its just read time and the units are in milliseconds (ms) … just not sure what the percent disk portion indicates, if its either the same, but in percent form?
