cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
399
Views
0
Helpful
1
Replies

Timeout issue with Terminal Adapter

apriydar
Cisco Employee
Cisco Employee

Hi All,

I am using Terminal Adapter in my workflows & in some of the workflows I am getting a strange issue.

Although the underlying command within execute activity, completes in 5 mins, the activity doesn't return & waits for timeout to exit.

Please let me know if there is any solution for this.

Thanks,

Abhishek

1 Reply 1

Von Jones
Level 4
Level 4

The terminal adapter works by connecting to a remote system with telnet or SSH and running commands.  If you are using the UNIX/Linux commands, we empirically run the scripts/commands using the shell, and it's easy to know when things complete.  When you use the terminal commands, things run using expect operations which determine when the action completes.  For example, we might watch for the prompt to appear.  Essentially terminal interaction is screen scraping to determine when things are done, and the expect statements determine what we look for.  You can have a whole series of actions in a dialog with the remote terminal, so you can send text, watch for something, send more text, etc.

In all likelihood, your expect is not matching a pattern at the end of the operation so we do not know it is complete.

If you are running against a UNIX/Linux system, consider using the UNIX/Linux activities.

Check the prompt on the target to see that it matches the prompt on the device.

Look at the "Execute Terminal Command Activity Timed Out" section of the Troubleshooting chapter in the Terminal adapter guide in the customer documentation. http://www.cisco.com/en/US/customer/docs/net_mgmt/datacenter_mgmt/process_auto/teo/v2_3/adapter/terminal/Terminal_AdapterGuide.html

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: