Skip to content

Us926: powershell get counter listset datasourcetype

Brian Edwards edited this page Jul 11, 2013 · 5 revisions

I found a way to pass multiple arbitrary counters to get-counter, so instead of using listset now it is just one datasource type "WinRS" with two strategies typeperf -sc1 and powershell get-counter. There is a subdevice-class named "Powershell" that enables powershell monitoring.

The following is out-dated but might be useful as a general reference.

A new datasource type will be added named "Powershell Get-Counter Listset". Datasources will be named by the listset they query. Datasources will have multiple datapoints, one datapoint for each perfmon counter in the listset. A new sub-Device Class will exist under Server/Microsoft/Windows named "Listset". This is a temporary device-class to help enable performance testing of the various datasource types during development. We will release with the "winning" datasource type applied to the monitoring templates at Server/Microsoft/Windows. Other "loser" datasource types will remain as options if we expect them to be useful in some situations, or removed entirely.

Given Microsoft.Windows ZP is installed, a windows 2003/2008/2012 server is added to Server/Microsoft/Windows/Listset and modeled, zenpython has been running for at least 15 minutes;

When user views the device detail page; Then user will see graphs containing data for a subset of the counters listed below

When user views the monitoring templates applied to the device; Then user will see that the datasource type is "Powershell Get-Counter Listset"

One datasource will exist each of the following listsets:

Processor

  • \Processor(*)% Processor Time
  • \Processor(*)% User Time
  • \Processor(*)% Privileged Time
  • \Processor(*)\Interrupts/sec
  • \Processor(*)% DPC Time
  • \Processor(*)% Interrupt Time
  • \Processor(*)\DPCs Queued/sec
  • \Processor(*)\DPC Rate
  • \Processor(*)% Idle Time
  • \Processor(*)% C1 Time
  • \Processor(*)% C2 Time
  • \Processor(*)% C3 Time
  • \Processor(*)\C1 Transitions/sec
  • \Processor(*)\C2 Transitions/sec
  • \Processor(*)\C3 Transitions/sec

Memory

  • \Memory\Page Faults/sec
  • \Memory\Available Bytes
  • \Memory\Committed Bytes
  • \Memory\Commit Limit
  • \Memory\Write Copies/sec
  • \Memory\Transition Faults/sec
  • \Memory\Cache Faults/sec
  • \Memory\Demand Zero Faults/sec
  • \Memory\Pages/sec
  • \Memory\Pages Input/sec
  • \Memory\Page Reads/sec
  • \Memory\Pages Output/sec
  • \Memory\Pool Paged Bytes
  • \Memory\Pool Nonpaged Bytes
  • \Memory\Page Writes/sec
  • \Memory\Pool Paged Allocs
  • \Memory\Pool Nonpaged Allocs
  • \Memory\Free System Page Table Entries
  • \Memory\Cache Bytes
  • \Memory\Cache Bytes Peak
  • \Memory\Pool Paged Resident Bytes
  • \Memory\System Code Total Bytes
  • \Memory\System Code Resident Bytes
  • \Memory\System Driver Total Bytes
  • \Memory\System Driver Resident Bytes
  • \Memory\System Cache Resident Bytes
  • \Memory% Committed Bytes In Use
  • \Memory\Available KBytes
  • \Memory\Available MBytes
  • \Memory\Transition Pages RePurposed/sec
  • \Memory\Free & Zero Page List Bytes
  • \Memory\Modified Page List Bytes
  • \Memory\Standby Cache Reserve Bytes
  • \Memory\Standby Cache Normal Priority Bytes
  • \Memory\Standby Cache Core Bytes

LogicalDisk

  • \LogicalDisk(*)% Free Space
  • \LogicalDisk(*)\Free Megabytes
  • \LogicalDisk(*)\Current Disk Queue Length
  • \LogicalDisk(*)% Disk Time
  • \LogicalDisk(*)\Avg. Disk Queue Length
  • \LogicalDisk(*)% Disk Read Time
  • \LogicalDisk(*)\Avg. Disk Read Queue Length
  • \LogicalDisk(*)% Disk Write Time
  • \LogicalDisk(*)\Avg. Disk Write Queue Length
  • \LogicalDisk(*)\Avg. Disk sec/Transfer
  • \LogicalDisk(*)\Avg. Disk sec/Read
  • \LogicalDisk(*)\Avg. Disk sec/Write
  • \LogicalDisk(*)\Disk Transfers/sec
  • \LogicalDisk(*)\Disk Reads/sec
  • \LogicalDisk(*)\Disk Writes/sec
  • \LogicalDisk(*)\Disk Bytes/sec
  • \LogicalDisk(*)\Disk Read Bytes/sec
  • \LogicalDisk(*)\Disk Write Bytes/sec
  • \LogicalDisk(*)\Avg. Disk Bytes/Transfer
  • \LogicalDisk(*)\Avg. Disk Bytes/Read
  • \LogicalDisk(*)\Avg. Disk Bytes/Write
  • \LogicalDisk(*)% Idle Time
  • \LogicalDisk(*)\Split IO/Sec

PhysicalDisk

  • \PhysicalDisk(*)\Current Disk Queue Length
  • \PhysicalDisk(*)% Disk Time
  • \PhysicalDisk(*)\Avg. Disk Queue Length
  • \PhysicalDisk(*)% Disk Read Time
  • \PhysicalDisk(*)\Avg. Disk Read Queue Length
  • \PhysicalDisk(*)% Disk Write Time
  • \PhysicalDisk(*)\Avg. Disk Write Queue Length
  • \PhysicalDisk(*)\Avg. Disk sec/Transfer
  • \PhysicalDisk(*)\Avg. Disk sec/Read
  • \PhysicalDisk(*)\Avg. Disk sec/Write
  • \PhysicalDisk(*)\Disk Transfers/sec
  • \PhysicalDisk(*)\Disk Reads/sec
  • \PhysicalDisk(*)\Disk Writes/sec
  • \PhysicalDisk(*)\Disk Bytes/sec
  • \PhysicalDisk(*)\Disk Read Bytes/sec
  • \PhysicalDisk(*)\Disk Write Bytes/sec
  • \PhysicalDisk(*)\Avg. Disk Bytes/Transfer
  • \PhysicalDisk(*)\Avg. Disk Bytes/Read
  • \PhysicalDisk(*)\Avg. Disk Bytes/Write
  • \PhysicalDisk(*)% Idle Time
  • \PhysicalDisk(*)\Split IO/Sec

Network Interface

  • \Network Interface(*)\Bytes Total/sec
  • \Network Interface(*)\Packets/sec
  • \Network Interface(*)\Packets Received/sec
  • \Network Interface(*)\Packets Sent/sec
  • \Network Interface(*)\Current Bandwidth
  • \Network Interface(*)\Bytes Received/sec
  • \Network Interface(*)\Packets Received Unicast/sec
  • \Network Interface(*)\Packets Received Non-Unicast/sec
  • \Network Interface(*)\Packets Received Discarded
  • \Network Interface(*)\Packets Received Errors
  • \Network Interface(*)\Packets Received Unknown
  • \Network Interface(*)\Bytes Sent/sec
  • \Network Interface(*)\Packets Sent Unicast/sec
  • \Network Interface(*)\Packets Sent Non-Unicast/sec
  • \Network Interface(*)\Packets Outbound Discarded
  • \Network Interface(*)\Packets Outbound Errors
  • \Network Interface(*)\Output Queue Length
  • \Network Interface(*)\Offloaded Connections

Clone this wiki locally