Welcome to MSDN Blogs Sign in | Join | Help

Including the performance counter info in the alert description

When creating a Windows Performance Counter unit monitor, you might want to include in the alert description four pretty important pieces of information: Performance Object Name, Counter Name, Instance Name, Counter Value. Here are the expression that you need to use in order to include this info in the alert description:

  1. Counter Value                      - $Data/Context/Value$
  2. Performance Object Name    - $Data/Context/ObjectName$
  3. Performance Counter Name  - $Data/Context/CounterName$
  4. Performance Instance Name - $Data/Context/InstanceName$
Published Friday, October 19, 2007 6:36 PM by Boris Yanushpolsky

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Including the performance counter info in the alert description

Saturday, October 20, 2007 2:56 AM by Daniele Muscetta

What about SNMP performance grabbed with a probe monitor ? are they also like those above, or do you need to use the SnmpVar stuff ? how would it look like ? Better: how is one supposed to figure out all this stuff ?

# re: Including the performance counter info in the alert description

Saturday, October 20, 2007 5:33 AM by Brandubh

Hi Boris,

I have a couple of questions regarding Perf counters and alerting (at large):

1) is there any way to force the perf counter collection time as it was possible with MOM 2005. Obviously if I use the backward compatible modules with MOM 2005 style script I still can... but I didn't find any property in the performancedata schema. Am I going blind or you completely forgot it? In the second case please give us the chance to force the perf counter collection time.

2) Can I add the configuration data to the alert description? I tried to use something like $Config/PropertyX$ but it seems not to work... once again where I am wrong?

The on final, off topic question, I’ve been asked to create a Console Task targeted to the alert class. How can I use the alert properties, I tried every xpath path I can think of ($Data… $Target… $Alert…) with no luck. Basically I need to launch a browser based on an alert CustomProperty1.

Thanks again for your great an invaluable support

# re: Including the performance counter info in the alert description

Saturday, October 20, 2007 6:01 AM by Brandubh

Hi Boris,

I have a couple of questions regarding Perf counters and alerting (at large):

1) is there any way to force the perf counter collection time as it was possible with MOM 2005. Obviously if I use the backward compatible modules with MOM 2005 style script I still can... but I didn't find any property in the performancedata schema. Am I going blind or you completely forgot it? In the second case please give us the chance to force the perf counter collection time.

2) Can I add the configuration data to the alert description? I tried to use something like $Config/PropertyX$ but it seems not to work... once again where I am wrong?

The on final, off topic question, I’ve been asked to create a Console Task targeted to the alert class. How can I use the alert properties, I tried every xpath path I can think of ($Data… $Target… $Alert…) with no luck. Basically I need to launch a browser based on an alert CustomProperty1.

Thanks again for your great an invaluable support

# re: Including the performance counter info in the alert description

Monday, October 22, 2007 8:17 PM by Boris Yanushpolsky

In order to reference a custom field of an alert in a console task you can use $CustomField1$. I dont think you can force a perf counter to be collected on demand.

# Alert description and parameter replacement

Tuesday, November 13, 2007 4:13 PM by Notes on System Center Operations Manager

Many of you know already that alert’s description can contain value of any of the properties of the data

# Alert description and parameter replacement

Tuesday, November 13, 2007 4:39 PM by Noticias externas

Many of you know already that alert’s description can contain value of any of the properties of the data

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker