Hello,
When working on pulling data from DMA there was a strange behavior. I am unsure whether it comes down to the DMA API itself having a problem or improper usage.
When asking the DMA about alarm you would request its alarm history based on alarmID:
This however gives mixed results. When asking for alarm of another device it gives an empty response:
It's a hit or miss when it comes to elements. What could be the cause of that? Is the request itself not constructed properly or does the API fumble something on its way back?
For the GetAlarmHistory method:
- dmaID should be the ID of the DataMiner that hosts the element
- alarmID should be the root alarm ID. If you don't use the root alarm ID, but the ID of an intermediate alarm update, then it will only return a result if the alarm is available in-memory (server-side cache). To get the result from the database, the root alarm ID is needed.