Hi,
I have a protocol type and port settings are show below. When I am trying to call a Http get service from timer it didn't trigger even there is no error in log. Can we call Http service from timer in this SNMP protocol?
<Type relativeTimers="true">snmpv2</Type>
<PortSettings name="SNMP Connection">
<BusAddress>
<Disabled>true</Disabled>
</BusAddress>
<Retries>
<DefaultValue>2</DefaultValue>
</Retries>
</PortSettings>
Http detail
<HTTP>
<Session id="1" name="Test Session">
<Connection id="1">
<Request verb="GET" url="api/deviceinfo">
<Headers>
<Header key="Content-Type">application/json</Header>
<Header key="Accept">*/*</Header>
</Headers>
</Request>
<Response statusCode="200">
<Content pid="201" />
</Response>
</Connection>
</Session>
</HTTP>
Hi,
To call HTTP services from your connector you need to have a type of HTTP.
You can do this by configuring your connector as HTTP instead of SNMP or if you wish to keep the SNMP, you will need to define an extra HTTP connection so that you end up with a connector that is SNMP + HTTP.
See advanced attribute | DataMiner Docs to know how to define an extra connection.
If you go for the extra connection option, you will then need to configure the connection attribute in your group so that it uses the right connection.
It is working. Thank you!!