I am trying to monitor physical disks on a Windows machine. I was wondering if it was possible to write an auto discovery rule to insert disk numbers and names to an key.
I don't see perf_counter listed as a key for auto discovery.
I would like to write something like this and then have the auto discovery macro insert the appropriate variable in it's place.
perf_counter[\234({#DISKNUMBERLETTER)\208]
This counter would return the average seconds per read.
The macro {#DISKNUMBERLETTER} could represent 0 C: or 1 D:
The auto discovery regular expression would look something like this but much better written. This is preliminary for right now.
^[[:digit:]][[:space:]][[:alpha:]]:
I am not sure. I thought I would ask.
I don't see perf_counter listed as a key for auto discovery.
I would like to write something like this and then have the auto discovery macro insert the appropriate variable in it's place.
perf_counter[\234({#DISKNUMBERLETTER)\208]
This counter would return the average seconds per read.
The macro {#DISKNUMBERLETTER} could represent 0 C: or 1 D:
The auto discovery regular expression would look something like this but much better written. This is preliminary for right now.
^[[:digit:]][[:space:]][[:alpha:]]:
I am not sure. I thought I would ask.
Comment