Hi Dojo
Is it possible to call an external API to execute commands, or it needs to be via a driver?
The reason is, a command that can have multiple destinations configured dynamically, so we don't have to create thousands of mini elements in the system
![](https://community.dataminer.services/wp-content/uploads/wp-user-manager-uploads/2023/02/1641976833115.jpg)
We want to trigger service restauration action when the alarm is detected in dataminer.
The destination is up to 50 different IP destinations.
However, we are not connecting to a real device, rather a temporary API on each of these destinations where we can trigger a restart. However, as said, temporary API.
Hi Elvio,
Although a C# Automation Script is capable of anything supported by dotNET, it may not be your best option since the data you poll still needs to end up somewhere.
What is done in environments with thousands to millions of edge devices with only a few parameters, is to create a connector that uses either the Dynamic polling | DataMiner Docs when no simultaneous requests are needed, or more commonly, use Multi-threaded timers | DataMiner Docs where a thread pool is used to poll all the configured IP addresses.
Out of curiosity Elvio – what volume of of end-points / destinations are we talking about? And of what nature?