Hi Dojo,
I want to have HTTP connection and SNMP connection in a single driver/connector. I add below configuration on port setting,
<Type relativeTimers="true" advanced="HTTP:Secondary">snmp</Type>
<PortSettings name="SNMP connection">
<BusAddress>
<Disabled>true</Disabled>
</BusAddress>
</PortSettings>
<Ports>
<PortSettings name="HTTP">
<Type>
<DefaultValue>ip</DefaultValue>
</Type>
<IPport>
<DefaultValue>80</DefaultValue>
<Disabled>false</Disabled>
</IPport>
<PortTypeUDP>
<Disabled>true</Disabled>
</PortTypeUDP>
<PortTypeSerial>
<Disabled>true</Disabled>
</PortTypeSerial>
<BusAddress>
<DefaultValue>BypassProxy</DefaultValue>
<Disabled>false</Disabled>
</BusAddress>
</PortSettings>
</Ports>
However either SNMP or HTTP can work but not both.
Please advice.
Regards
Hi Greisen,
Since you mentioned your xml syntax, but did not include the syntax for your groups and actions, did you take the connection attribute into account? As shown in the first part of this doc page: Introduction | DataMiner Docs, your polling groups need to be set to the corresponding connection for any additional ports.
If this doesn't resolve your problem, could you go into more details to what seems to go wrong? When you say only one of these can work, are you changing the snmp and http ports in the driver to e.g. <Type advanced="snmp:Secondary">http</Type>, or is simply restarting the element enabling one of the two ports at random while the other goes into timeout?
![](https://community.dataminer.services/wp-content/uploads/wp-user-manager-uploads/2023/03/grezn-ijen-2.jpg)
Hi Floris,
I added the connection ID, and now it’s working perfectly.
Thanks a lot.