Hello,
I need to get serial number of the monitored device through the mail.
I have imported windows client operating system management pack and I specified
Alert: $Data[Default='Not Present']/Context/DataItem/AlertName$
Source: $Data[Default='Not Present']/Context/DataItem/ManagedEntityDisplayName$
Path: $Data[Default='Not Present']/Context/DataItem/ManagedEntityPath$
serialNumber:$MPElement[Name="Windows!Microsoft.Windows.OperatingSystem"]/SerialNumber$
in Email Message of my Email Notification channel. When I proceed and click finish I am getting an exception
System.InvalidOperationException: The notification action could not be inserted. See inner exception for details. ---> Microsoft.EnterpriseManagement.Common.ManagementPackException: Verification failed with 1 errors:
-------------------------------------------------------
Error 1:
Found error in 1|Microsoft.SystemCenter.Notifications.Internal|1.0.0.0|SMTPAction_e58efb78_54a9_402f_94cd_53a1e439d7a6/ContentGenerator|| with message:
Failed to verify module reference [Type=ManagementPackElement=Microsoft.SystemCenter.Notification.SmtpNotificationContentGenerator in ManagementPack:[Name=Microsoft.SystemCenter.Notifications.Library, KeyToken=31bf3856ad364e35, Version=7.0.9538.0], ID=ContentGenerator]
in the MemberModules list.
: Cannot find specified MPElement Windows!Microsoft.Windows.OperatingSystem in expression: $MPElement[Name="Windows!Microsoft.Windows.OperatingSystem"]/SerialNumber$
Cannot resolve identifier Windows!Microsoft.Windows.OperatingSystem in the context of management pack Microsoft.SystemCenter.Notifications.Internal. Unknown alias: Windows
What am I doing wrong?