Disk Plugin For Windows

Hi,

I’m using “disk” plugin on windows devices and it works good over all. I don’t want to collect Free_Megabytes via perfmon.

The problem is disk plugin also shows mounted dvd drives (.iso files) and it shows as 100% used space so it’ll raise an alert. I thought I can filter with fstype = ‘NTFS’, it’s a workaround but not good solution. Please, share if you have better idea.

Can you share the lineprotocol for the DVD drives? Sadly I don’t have a Windows machine to generate this myself.

@rawkode

disk,device=E:,fstype=CDFS,host=somehostname,mode=ro,os=windows,path=\E:

Other drives (normal disk not .iso).

disk,device=M:,fstype=NTFS,host=name1,mode=rw,os=windows,path=\M:
disk,device=L:,fstype=NTFS,host=name2,mode=rw,os=windows,path=\L:
disk,device=L:,fstype=NTFS,host=name3,mode=unknown,os=windows,path=\L:

os=windows is a global tag that I’ve set.

I’d use a tag drop

[[Inputs.disk]]
  [inputs.disk.tagdrop]
    fstype = ["CDFS" ]
1 Like

That’s wise, no need to collect 'em at all.