Generate alert and PRO Tip though custom connector.
Hi,
I am inserting event data (event id,event source, log name ,message ) through inbound connector into SCOM database. I want to trigger an alert and PRO tip based on this event data.
I am able to generate an alert using system.computer class but i want to generate PRO tip as well...I created a unit monitor with target as PRO class. generated a rule to collect the event data inserted by scom connector. and in connector code, i am retrieving PRO
class like shown below.
MonitoringClassCriteria classCriteria = new MonitoringClassCriteria("Name = 'Microsoft.SystemCenter.VirtualMachineManager.Pro.2008.Server'");
// Collecting monitoringClasses having the above class criteria.
ReadOnlyCollection<MonitoringClass> monitoringClasses = m_managementGroup.GetMonitoringClasses(classCriteria);
// Get all instances of hyper-v servers running in the management group.
ReadOnlyCollection<MonitoringObject> monitoringObjects = m_managementGroup.GetMonitoringObjects(monitoringClasses[0]);
But still i am not getting alert and PRO Tip.Please help me with this.
Thanks,
Eaton.
May 22nd, 2012 7:24am
Hi,
I suggest you check the following link to see if it can help:
PRO Tips alerts in Microsoft System Center Virtual Machine Manger 2008 R2 may display and then be automatically removed
http://blogs.technet.com/b/scvmm/archive/2011/09/07/pro-tips-alerts-in-microsoft-system-center-virtual-machine-manger-2008-r2-may-display-and-then-be-automatically-removed.aspx
Also, you could refer to the following articles:
Enabling PRO in VMM
http://technet.microsoft.com/en-us/library/cc764271.aspx
Types of PRO Tips
http://technet.microsoft.com/en-us/library/dd347217.aspxAlex Zhao
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 4:34am
Hi,
I suggest you check the following link to see if it can help:
PRO Tips alerts in Microsoft System Center Virtual Machine Manger 2008 R2 may display and then be automatically removed
http://blogs.technet.com/b/scvmm/archive/2011/09/07/pro-tips-alerts-in-microsoft-system-center-virtual-machine-manger-2008-r2-may-display-and-then-be-automatically-removed.aspx
Also, you could refer to the following articles:
Enabling PRO in VMM
http://technet.microsoft.com/en-us/library/cc764271.aspx
Types of PRO Tips
http://technet.microsoft.com/en-us/library/dd347217.aspxAlex Zhao
TechNet Community Support
May 24th, 2012 4:36am