$ in notification should be interpreted as text not as a variable
Hi
I want to create a new notification for an external application. The $$ should be interpreted as $$ and not as the variable $. Because sometimes I write $$ and it gets interpreted as variable and sometimes $$ gets interpreted as $$. But there's no "rule"
how it gets interpreted.
Do you have an idea to solve my problem?
Here an example:
In the notification i wrote:
Company*+ !1000000001!: [$$ xyz $$]
Service Type !1000000099!: [$$ Infrastructure Event $$]
Details !1000000151!: [$$ $Data/Context/DataItem/AlertDescription$ $$]
But in the notification I always get:
Company*+ !1000000001!: [$ xyz $]
Service Type !1000000099!: [$ Infrastructure Event $]
Details !1000000151!: [$ The threshold for the Logical Disk\Avg. Disk sec/Transfer performance counter has been exceeded. $]
Regards
Dsi
October 19th, 2012 6:02am
Hi,
SCOM uses .NET Regex expression syntax, and $$ Substitutes a literal "$".
You could get more information about this:
Regular expression support in System Center Operations Manager
http://support.microsoft.com/kb/2702651/
Regular Expression Language - Quick Reference
http://msdn.microsoft.com/en-us/library/az24scfc.aspxAlex Zhao
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2012 2:38am
The easy answer is: when you want $$ to show up in your text, you should write $$$$ in the notification. credits to alex above allthough i doubt it has something to do with regex, more just the escape char...
Rob Korving
http://jama00.wordpress.com/
October 22nd, 2012 5:38pm