Hello,
I am working on to build ssh connector. So when I am executing manual commands in the connector, the response that gets displayed in the connector is just the last couple lines. The whole response I can see in the logs. So, how can i display ehole response in the connector parameter?
Below are the parameters and response tags that i have setup in a protocol:
<Param id="105">
<Name>loginResponse</Name>
<Description>Login Response</Description>
<Type>read</Type>
<Information>
<Subtext>The response given by the device when login process.</Subtext>
</Information>
<Interprete>
<RawType>other</RawType>
<LengthType>next param</LengthType>
<Type>string</Type>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>Manual Command</Page>
<Column>1</Column>
<Row>0</Row>
</Position>
</Positions>
</Display>
<Measurement>
<Type lines="50">string</Type>
</Measurement>
</Param>
<Response id="3">
<Name>LoginResponse</Name>
<Description>Login Response</Description>
<Content>
<Param>105</Param>
</Content>
</Response>
As this question has now been inactive for a long time, I will close it. If you still want more information about this, could you post a new question?
Hi Aditiben,
what is the size of the response(in lines)?, I do not have an SSH device to test the scenario, so I created a .txt file where I read some lines and set a parameter. The file I tested against is 573kb with about 4200 lines and I can see all the lines in a parameter with lines=50.
In the QAction where you are logging the response, can you try setting that response to another parameter that is displayed on the screen? This tells us if DataMiner is truncating this parameter because it is used in a device response.
Hi Aditiben,
Do you still need help with this question? If yes, could you answer Aldrick’s questions below? Or if you no longer need any further answers, could you select the answer to indicate that the question is resolved?