How to visualize Windows and Unix system performance in OMS

Late last year I released an OMS solution which provided performance monitoring for Windows Server and Client operating systems. I received some good feedback on this solution that it would be useful to also visualize Linux information in the same solution. So, without further introduction welcome to the Windows and Unix system performance solution for Microsoft OMS!

There are a lot of separate views here so we’ll go through each of them and explain what’s in them and how they work.

Top level view:

The top level view shows the number of systems which are and are not reporting (both for Windows or Linux systems monitored by OMS). This was the same view which was included in the existing version as it displayed for both Unix and Windows systems based on how the queries were written.

Data sent by Computer (Windows or Unix) view:

This view shows which computers are and are not providing data to OMS and how much. This was the same view which was included in the existing version as it displayed for both Unix and Windows systems based on how the queries were written.

Processor Utilization (Windows & Unix) view:

The queries on this view had to be updated to reflect both processor counters. Luckily, both Unix and Windows report the “% Processor Time” counter so the only requirement was to unrestrict the query as shown”: Type:Perf (CounterName=”% Processor Time”) | measure avg(CounterValue) by Computer

Disk Usage (Windows & Unix) view:

The disk usage view was renamed to “Disk Usage – Windows” as the counters for disk usage are different between Unix and Windows systems.

Windows uses the “% Free Space” counter. The actual query is: Type:Perf ((CounterName:”% Free Space” )) | Measure avg(CounterValue) by Computer

To add Unix systems we need to add the following performance counter: (% Free Space). Add these under settings / Data / Linux Performance Counters.

Memory (Windows & Unix) view:

The queries on this view had to be updated to reflect both memory counters. Windows uses the “% Committed Bytes in Use” and Unix uses the “% Used Memory” counter. Since they are both percentages they fit well together via this query: Type:Perf (CounterName=”% Committed Bytes In Use” OR CounterName=”% Used Memory”) | Measure percentile90(CounterValue) by Computer

Network Usage – Windows views:

The network usage view was renamed to “Disk Usage – Windows” as the counters for disk usage are different between Unix and Windows systems.

Windows uses the following queries in these views:
Type:Perf (ObjectName=”Network Interface”) (CounterName=”Bytes Total/sec”) | measure Avg(CounterValue) as BytesTotal by Computer

Type:Perf (ObjectName=”Network Adapter”) (CounterName=”Bytes Received/sec”) | measure Avg(CounterValue) as PacketsReceived by Computer

Type:Perf (ObjectName=”Network Adapter”) (CounterName=”Bytes Sent/sec”) | measure Avg(CounterValue) as PacketsSent by Computer

Network Usage – Unix view:

A new view was created called “Network Usage – Unix” which uses the “% Used Space” counter. The counters available on Unix are vastly different from those in Windows so the following query was used for this data. Type:Perf (CounterName = “Total Bytes Transmitted” OR CounterName = “Total Bytes Received”) | measure Avg(CounterValue) as BytesTotal by Computer

Summary: Looking for a quick way to get key performance information for your systems in OMS whether they are Windows Servers, Windows Clients or Unix systems? Give this solution a try! To add the appropriate performance counters, take the defaults for Windows systems and add the Logical Disk\% Free Space counter for the Unix systems.

This solution is available for download at: https://gallery.technet.microsoft.com/scriptcenter/Server-Performance-3d767ab1

Thank you to Adin Ermie for his assistance testing with this and feedback to make it a better solution!

Tags:, ,

Leave a Reply