Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Telnet queues

Status
Not open for further replies.

jayfuel72

Technical User
Jun 6, 2002
2
US
Does anyone know how to create a queue for telnets with procomm. You can select multiple entries in the connection directory and procomm will queue them, but it can't be done with telnet....
 
It does not look like you can do it through the Procomm UI, but it should be somewhat possible to write an ASPECT script that would start off with a list of telnet servers then connect to machines in that list, one at a time, until all connections had been made. Something like this pseudocode might work:

read file containing machines to connect to (read them into a string array I would think)
while a machine remains to connect to
connect manual "machine_name"
if $CARRIER (means we are connected)
do necessary steps
if steps completed successfully, set string in
array to null
disconnect
endif
endwhile

You would probably want to write a function that parsed the string array and return the name of the first machine name, else return an error message that indicated all machines had been connected to. Receiving this error message would be the cue for your script to exit.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top