Jump to content
  • entries
    142
  • comments
    0
  • views
    87563

Azure Log Analytics | CPU Performance Monitor


proximagr

1061 views

 Share

Azure Log Analytics | CPU Performance Monitor
In this article we will create a CPU Performance monitor View for our servers at the Azure Log Analytics (OMS) Portal.
img_59516c5d695bd.png
At the Microsoft Operations Management Suite (OMS) portal press the + button to create a new View
img_59516b7282514.png
The View Designer workspace will open. Select the “Line chart & callout”
img_59516ce1844a4.png
At the Properties blade enter a Name, something like “CPU Performance Monitor”, add the below query and press Apply
Type:Perf CounterName="% Processor Time" InstanceName="_Total" | measure avg(CounterValue)by Computer Interval 10Minutes
img_59516d20f0a98.png
Pressing Apply you will see at the Preview window the “Name” and the CPU Performance of all the Windows servers that are monitored by OMS agent.
img_59516dd2e769e.png
The next step is to press the “+ View” tab and add a “Stack of line charts
img_59516e888fd73.png
The “Stack of line charts” will add three charts per row and we can use it to add our servers. We will create something like that:
img_59517007d64e4.png
So, at the Properties blade add a name and a query for each server needs to be monitored and press Apply. For more than three servers add more “Stack of line charts”.
The query is the below, just change the Computer = “server.domain.local” with your servers.
Type:Perf CounterName="% Processor Time" InstanceName="_Total" AND Computer ="server.domain.local" | measure Avg(CounterValue) as 'CPU_Percentage' by Computer Interval10Minutes
img_5951703d83d36.png
Finally press “Save” at the View Designer
img_59517087c3dce.png
The result is a CPU Performance monitor for all servers at the OMS Portal.
img_595170f7e8a8a.png
And when you press it you have the CPU Performance Monitor of all added servers.
img_595171faee1ac.png

Stay tuned for the next part

 Share

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...