Forum Discussion
Different ways of SCOM Integration with Third Party Applications
Hello AnishJain2210 - We have enabled the SCOM SDK APIs and removed Obsolete tags for majority of them. The obsolete APIs can be still be used across SCOM versions. Additionally, we have fixed the navigation from https://docs.microsoft.com/en-us/dotnet/api/.
For the REST API piece, Please feel free to write me at System Center Feedback <systemcenterfeedback@microsoft.com>
Thanks,
Aakash
- AnishJain2210Jul 09, 2020Copper Contributor
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?
- AnishJain2210Dec 07, 2021Copper Contributor
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!