Unit Monitor Alert Description issue

Saiyad Rahim 411 Reputation points
2022-09-12T12:52:49.4+00:00

Hi all,

Have created a CPU Unit Monitor using Windows Perfom Counters>Consecutive Samples over Threshold
Target is Windows Computer

Trying to test which Variables to choose so I have doubled up on some of the required values.

Alert Description is set as below:

CPU Usage is Above 95% for 5 minutes
Server: $Target/Property[Type="System!System.Entity"]/DisplayName$
Server: $Target/Property[Type="MicrosoftWindowsLibrary7585010!Microsoft.Windows.Computer"]/VirtualMachineName$
IP: $Target/Property[Type="MicrosoftWindowsLibrary7585010!Microsoft.Windows.Computer"]/IPAddress$
Has a value of: $Data[Default='']/Context/Value$ %
Has a value of:$Data/Context/Value$ %
Object Used: $Data[Default='']/Context/ObjectName$
Counter Used: $Data[Default='']/Context/CounterName$
At time $Data[Default='']/Context/TimeSampled$
Target ID: $Target/Id$

However when the Alert is generated, the Values are not shown:

CPU Usage is Above 95% for 5 minutes
Server: {0}
Server: {1}
IP: {2}
Has a value of: {3} %
Has a value of:{4} %
Object Used: {5}
Counter Used: {6}
At time {7}
Target ID: {8}

Where did I go wrong?

System Center Operations Manager
System Center Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,602 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SChalakov 10,576 Reputation points MVP Volunteer Moderator
    2022-09-13T09:20:07.9+00:00

    Hi @Saiyad Rahim ,

    your alert parameters are not chose properly. For example, the computername shold be found, suing:

    $Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$  
    

    This can be checked also here:

    Logical CPU Percentage Utilization
    https://systemcenter.wiki/?GetElement=Microsoft.Windows.Server.10.0.LogicalProcessor.CPUUtilization&Type=UnitMonitor&ManagementPack=Microsoft.Windows.Server.2016.Monitoring&Version=10.1.0.6

    Just check this article from Kevin:

    Adding custom information to alert descriptions and notifications
    https://kevinholman.com/2007/12/12/adding-custom-information-to-alert-descriptions-and-notifications/

    or comapre the alert parameters to another Perofrmance monitor and use the same params.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
    Regards
    Stoyan Chalakov

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.