Forwarding Log Files to ConsoleWorks from OpenVMS
From TDiWiki
There are two different setups depending on the connector type used.
[edit] Using Telnet connector type
1) Create an Expect Lite Script to login to OpenVMS and then forward the log file to ConsoleWorks using the OpenVMS TYPE command. It should look something like:
EXPECT Username: SEND youusername\x0d EXPECT Password: SEND youpassword\x0d EXPECT $ SEND TYPE /TAIL/CONTINUOUS/INTERVAL=<number of seconds> <filename of log file>\x0d
It is critical that you include the \x0d since this is the code for a carriage-return line termination that OpenVMS requires. The default number of seconds is 30 if you leave that switch off the TYPE command.
2) Create a new console using the Telnet connector with the DNS name or IP address of the target OpenVMS system (note this is NOT the OPA0: console).
3) Associate this script with the newly created console using the Expect-Lite section of the console edit window.
[edit] Using SSH connector type
1) Create a new console using either the SSH with Password or SSH with Public Key connector type.
2) While creating this console put the follow command in the Command: field that is just below the Retype Password: field:
TYPE /TAIL/CONTINUOUS/INTERVAL=<number of seconds> <filename of log file>
The default number of seconds is 30 if you leave that switch off the TYPE command.
