Cisco Cisco Workload Automation 6.3 User Guide
19
Using the SSH Adapter
Monitoring SSH Jobs
6.
Click the
SSH
tab.
7.
In the
Command
field, enter the the absolute path and filename of the command, script, batch file or executable
that you want the job to run.
8.
In the
Param
field, enter either the hard-coded value for each parameter or type a parameter name.
9.
In the
Working Directory
field, enter the path for the working directory of the program or script specified in the
Command
field.
10.
(Optional) In the
Comment
field, enter any comments.
11.
In the
Capture Alternate Output File
field, enter a filename.
If a file is specified, the SSH agent looks for the output file in the location specified and reads it as text, returning
that text as the output of the job instead of gathering the job process’s standard output. A job process’s “standard
output” is the text that would be returned to the screen if you were to run the process manually via a command line
interface. However, some applications do not return any “standard output,” resulting in a blank
that text as the output of the job instead of gathering the job process’s standard output. A job process’s “standard
output” is the text that would be returned to the screen if you were to run the process manually via a command line
interface. However, some applications do not return any “standard output,” resulting in a blank
Output
tab in the
Job Detail
dialog if run by CWA.
12.
Click
OK
to save the job.
Monitoring SSH Jobs
As SSH tasks run as pre-scheduled or event-based jobs, you can monitor the jobs as you would any other type of job in
CWA using the
CWA using the
Job Details
dialog. You can also use the Business view to monitor job activity and view when the jobs
are active (see the Cisco Workload Automation User Guide for instructions on using Business Views).
To monitor job activity:
1.
In the
Navigator
pane, select
Operations>Job Activity
to display the
Job Activity
console.
2.
Right-click job
and select
Details
from the context menu.