Answered by:
Alert message

Question
-
Good day guys, quick question about alert descriptions.
Sometimes on alerts we get messages that the threshold has been busted and in the alert description we only have the threshold value and not the actual sampled value. For example:
The threshold for the Memory\% Committed Bytes In Use performance counter has been exceeded. The value that exceeded the threshold is: $Data/Context/Value$.
Is it possible to add the $Data variable that would add the value sampled on the host?
Thanks!
Wednesday, March 31, 2010 6:17 PM
Answers
-
Hi
In a sealed management pack, no - you can't change this. Descriptions can't be changed via overrides. You can disable and recreate but it is a pain.
If you write your own monitors and rules then this is possible using property bags. E.g.
call objBag.AddValue("PropertyName",Value)
Then in the Alert Description reference the variable as you have done in your initial post
Cheers
Graham
View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/- Proposed as answer by Marcin Jastrzebski Wednesday, March 31, 2010 7:27 PM
- Marked as answer by Graham Davies Tuesday, April 6, 2010 3:00 PM
Wednesday, March 31, 2010 6:39 PM -
There is a way to change description of an alert that was generated by a monitor in a sealed management pack, but it's not easy. This is level 400 content for sure.
Good luck!
HTH, Jonathan Almquist - MSFT- Proposed as answer by Vivian Xing Friday, April 2, 2010 8:08 AM
- Marked as answer by Graham Davies Tuesday, April 6, 2010 3:00 PM
Friday, April 2, 2010 2:33 AM
All replies
-
Hi
In a sealed management pack, no - you can't change this. Descriptions can't be changed via overrides. You can disable and recreate but it is a pain.
If you write your own monitors and rules then this is possible using property bags. E.g.
call objBag.AddValue("PropertyName",Value)
Then in the Alert Description reference the variable as you have done in your initial post
Cheers
Graham
View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/- Proposed as answer by Marcin Jastrzebski Wednesday, March 31, 2010 7:27 PM
- Marked as answer by Graham Davies Tuesday, April 6, 2010 3:00 PM
Wednesday, March 31, 2010 6:39 PM -
There is a way to change description of an alert that was generated by a monitor in a sealed management pack, but it's not easy. This is level 400 content for sure.
Good luck!
HTH, Jonathan Almquist - MSFT- Proposed as answer by Vivian Xing Friday, April 2, 2010 8:08 AM
- Marked as answer by Graham Davies Tuesday, April 6, 2010 3:00 PM
Friday, April 2, 2010 2:33 AM -
I have also opened an enhancement request to make the alert description available via on override in future editions of OpsMgr so that going through xmlhell or having to recreate rules \ monitors is not necessary.
Cheers
Graham
View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/Tuesday, April 6, 2010 3:01 PM