I have a job that uses the tclsh 'after 60000' to wait for a minute after performing an action before continuing. I am making a change that needs to sync and my confirmation command is run "after" waiting for that 60 seconds.
The job fails with the "
Command(s) failed on the device Primary Login Succeeded / Primary Enable Succeeded Insufficient no. of interactive responses(or timeout) for command" output.
There are no interactive commands in my job and I have successfully run it via SSH manually to the device.
I feel the timeout issue must be in LMS somewhere. The job takes about 2 minutes to run and I have increased Admin->Collection Settings->Config->Config Job Timeout Settings from 120 to 300 with no luck. I have also tried adjusting the "Telnet Timeout" in Admin->Collection Settings->Config->Edit the Inventory/Config Timeout and Retry Settings from 36 to 300 with no luck (though not sure it is relevant)?.
Any other ideas where the timeout could be occuring. The script does something like this:
tclsh
...commands...
if {condition} { ...commands... ; after 60000 ; ...more commands...} else { ...else conditions... }
exit
Thanks in advance.
--
Colin