Hi Dojo Community
I'm working on a feature that requires a certain DMS to be able to retrieve/receive/sync alarms from another DMS, these two DMS are totally different and disconnected from each other.
Which would be the most efficient and recommended way to do it?
Currently I'm thinking on some ideas but if there are more and they are better I can work with any new idea:
- SNMP Forwarding
- Correlation -> Automation -> Sending to a User-Defined-API
- SOAP Web Service
These alarms only need to go in one way, there's is no need to sync in both ways.
Thanks for the help!
Hi Luis,
I think first we need to understand first the requirements of this implementation.
Using web services implies that the DMA will need to poll this information. This means that when an alarm occurs you will need to wait (in the worst case scenario) until the next polling time to retrieve the alarm. For some implementations getting a notification as soon as an alarm is raised is crucial. In this scenario SNMP forwarding is the best approach.
If you don't need to get a notification as soon as an alarm is raised, you could indeed think about using web services. In terms of efficiency, you could use one of the filters to get active alarms (GetActiveAlarmsForService, for element, etc).
A corner case that you will not be able to cover with web services is with alarms that are raised and cleared during a polling cycle.
Hope it helps.
Hi Luis, I would advise against #2 as this won’t be performant enough when there are a lot of alarms being generated at the same time. The suggestions that Matthijs posted seem much more performant for this use case.