Hello
i'll try to use an element to get parameters of many elements by snmp, i see the option of use the tag ipid on parameters and NT_SNMP_GET(295) on qaction, witch will be the best practice to recognize the host that is responding without a waiting line.
its an option use librarys of snmp on c# with async method?
Thanks
Juan
This is my advance:
Hi,
That depends on what the use case is, as this is not really clear at this moment. On one side there is mentioned "Get parameters of many elements by SNMP", on the other side there is mentioned "recognize the host that is responding".
I'm assuming that all devices are having the same OIDs to be polled via SNMP.
-Is it the intention to fill in a parameter value coming from one source (out of possible multiple devices), then a redundancy connection could be used. But then it will pick the first connection that is responding, but there can be maximum two SNMP connections.
-If you want to have 3 or more SNMP connections, but only one device to be fully polled then it could be possible to use a multi-threaded timer as described here to poll one parameter of multiple devices to see which devices are responding and pick one to fill in the ipid to poll all other regular parameters of one chosen responding device. It would be strange though if the devices are different sources and they switch from one source to another to see this reflecting in one parameter (alarms and trending will not make much sense).
-If you want parameter 1,2,3 from device A and parameter 4,5,6 from device B then create multiple connections and link the parameter/group to the correct connection.
-Or is it the intention to poll all devices to see all parameters, then it would seem better to simply create one element per device
I would not advise to use the NT_SNMP_GET as the core features will be lost: not possible to see the data in the StreamViewer, element will not go in timeout.
Regards,

Hi
Making use of ipid would make it more complex.
Best to either use the NT_SNMP_GET like is being done now. Or when all OIDs to be polled are the same and the IP is the only difference, make use of a multi-threaded times, as described here: https://docs.dataminer.services/develop/devguide/Connector/AdvancedMultithreadedTimersSnmp.html
Hello Laurens
Im added a image ofwhat type of project im doing, at this moment u have a table with IP as IDX and some polling to execute SNMP get for each IP.
Im using the NT_SNMP_GET with the defail connection on the element.
I would like to know if is the correct way from performance or use idip could be better. for the timeout of the host im using the response emply for NT_SNMP_GET.
Thanks