Hi Dojo,
I have a use case where I need to retrieve a service alarm status from a remote DMA and raise an alarm in my local DMA if the remote service has an alarm or if the remote service is not reachable.
The functionality of replication of services is much more limited than replication of elements, and using enhanced services does not address this limitation. Documentation (Adding a service | DataMiner Docs) states:
"Service replication only replicates the summary severity of the original service and does not provide access to any of the service data. This also applies for enhanced services."
I'm thinking about the following workaround:
- Create a connector that would maintain a list of monitored services in a table and reflect the alarm state of monitored services in a parameter.
- Replicate the service-monitoring element from the remote DMA as an element, and thus have parameters on which I could raise alarms in the local DataMiner system.
Do you think such workaround is possible? Can you advise which calls I could use to get the alarm state of monitored services? Do you know if a similar connector has already been implemented? (I have zero connector development skills, so I would rather reuse an existing solution).
Thanks!
You could consider using the DataMiner v1 API to retrieve service states.
Hi Ruben, thanks for the suggestion.
I see that GetService or GetServiceByName may provide the necessary information.
Is there a way to display data from the API response as a parameter in a DataMiner system? I'm thinking about using a Scripted Connector, do you have any other method in mind?