Forum Discussion
Different ways of SCOM Integration with Third Party Applications
AakashMSFT Thanks a lot for your response.
But there are many apis which are still shown obsolete.
Reference
https://docs.microsoft.com/en-us/dotnet/api/microsoft.enterprisemanagement.managementgroup.getmonitoringperformancedata?view=sc-om-dotnet-2019#Microsoft_EnterpriseManagement_ManagementGroup_GetMonitoringPerformanceData
Is it the case that they are yet to be updated?
Hi AakashMSFT,
I can see that there are various updates now. On this https://docs.microsoft.com/en-us/dotnet/api/microsoft.enterprisemanagement.managementgroup.getmonitoringperformancedatareader?view=sc-om-dotnet-2019#Microsoft_EnterpriseManagement_ManagementGroup_GetMonitoringPerformanceDataReader, we can see the new command mentioned to be used instead of this one.
We were using GetMonitoringPerformanceDataReader() and it did not have any parameters to be passed in this function. The replacement for this would be GetMonitoringPerformanceDataReader(MonitoringPerformanceDataCriteria). So, we need to compulsory pass criteria in it.
Earlier the case was it brought all data and our use case remain the same, so we need to chose a condition that brings all the data.
These were some criteria we thought of:
- CounterName LIKE '%'
- CounterName IS NOT NULL
- CounterName LIKE '%' OR CounterName IS NULL
- CounterName is NULL OR CounterName IS NOT NULL
It might be the case that in our environment we don't get certain events or edge case events.
Can you suggest what would be the best criteria which we can use so that our functionality works the same before replacing it with new command?
Thanks!