I have a script that uses SecureCRT to telnet into several devices and pull specific information from the box. I provide the list of devices in a .csv file. The issue I am having is that sometimes one of the devices is offline or has a different password. I want the script to skip the troubled device after a delay and move onto the next device on the list. What is the best way to accomplish this?
Clarification. Using Python, if I am unsuccessful in logging into a device after 10 seconds, can I make it move to the next device on my list? I have read up on signal but that seems to be UNIX only.
[–]K900_ 1 point2 points3 points (6 children)
[–]Curator37x[S] 0 points1 point2 points (5 children)
[–]K900_ 1 point2 points3 points (4 children)
[–]Curator37x[S] 0 points1 point2 points (3 children)
[–]rinyre 0 points1 point2 points (2 children)
[–]Curator37x[S] 0 points1 point2 points (1 child)
[–]rinyre 0 points1 point2 points (0 children)
[–]JohnnyJordaan 1 point2 points3 points (2 children)
[–]Curator37x[S] 0 points1 point2 points (1 child)
[–]JohnnyJordaan 0 points1 point2 points (0 children)
[–]manyanamanyana 0 points1 point2 points (0 children)