Hi everyone,
I have a driver (connector) already developed using SNMP for a specific device, but I’d like to integrate additional parameters that are only available through the device's HTTP API.
Is it possible to combine SNMP and HTTP communication within a single DataMiner driver?
If so, what’s the best approach to implement this — and are there any examples or documentation available to help guide the setup?
If this is not possible, would it be better to stick to a single protocol, or is there a recommended workaround to handle multiple protocols for the same device?
Hi Deema,
You definitely can have multiple communication protocols in the same connector. You achieve this by defining multiple connections with the advanced attribute | DataMiner Docs in your XML.
And then, using the connection attribute | DataMiner Docs (do note this is zero-based) in your groups, you can specify which connection a group should use, so that it targets either the SNMP or the HTTP endpoint.
Thank you Joao and Chris for your answers! I will start looking into your answers!!
The Rohde & Schwarz Prismon driver uses both SNMP and HTTPS, so if you want an example, this would be a good one to look at