I am trying to make a custom plugin the reads counters on perfmon so that I can get a better look at disk latency. below is the part of the that throws a fit.
<!-- Template filter is passed to metrics -->
<filter name="template"
value="win32:Type=Formatted,Object=${object},Instance=${instance}:${alias}"/>
<!-- Using object filter to reduce amount of xml -->
<filter name="object" value="LogicalDisk"/>
<filter name="instance" value="C:"/>
<metric name="Testing Avg.Disk sec/Read"
alias="Avg. Disk sec/Read"/>
I think the problem is that the Instance=${instance}:${alias} is using the colon as a marker and when I try to give it C: it doesn't like it.
Any super smart programers out there know how to get around this. Any help would be appreciated. Thanks
-Dave
Message was edited by: damccumb
Message was edited by: damccumb