Viewing Task results
The Task Results dialog displays results for tasks that have been run using the Scheduled Task Library's option.
To view Task Results for a task:
- On the WhatsUp Gold console, select. The WhatsConfigured Task Library appears.
- Select a task, then click . A dialog displaying the task's progress appears.
- When the task completes, click . The Task Results dialog appears.
The dialog displays the following result for a task that was ran using the option:
- . The result of the entire task. A task is considered to be successful only if the task completes successfully for all devices for which it runs. In the event that the task fails, the task message displays information regarding the failure.
- . A message that explains why the task failed. If the task runs successfully for all devices, this field is empty.
- . The devices for which the task was run.
: Select a device to view its result information in the following section of the dialog.
Below, the dialog displays device-specific results in six tabs.
: Select a dialog tab to view information for its specific dialog fields.
The tab displays the task's result, relevant messages, and a trace of all communication between the device and the WhatsConfigured service.
For each task it displays:
- . The result of the task for the selected device.
- . Any message pertaining to the task for the selected device. In some instances, this field may be empty.
- . A history of all communication that takes place between the device and the WhatsConfigured service during the task's attempted completion. If the task collects a configuration file as part of the task, it is included in the trace. If the task was successful for this device, the trace displays what the command prompt would have looked like if the user consoled into the device and run the commands manually using a command prompt.
- If the task failed and no communication took place between the device and the WhatsConfigured service due to communication or configuration errors, the box displays "No communication with the device was recorded." Finding the cause of this failure may be accomplished by reviewing the credentials listed on the Settings tab, reviewing device configurations, attempting to communicate with the device manually, or by checking the log.
The tab displays the task script assigned to this task as it is saved in the Task Script Library, and how the task looks after it is processed through the WhatsConfigured task runner.
For each task it displays:
- . The script assigned to be run by the task. If this script is a custom script, it appears exactly as it did when it was configured in the New/Edit WhatsConfigured Task Script dialog. If this is a predefined password or backup task, the script displayed is the script chosen for this device based on the WhatsConfigured script registry.
: Scripts for predefined WhatsConfigured tasks are looked up based on the OID associated with the device. If there is no OID assigned to the device, the lookup fails and no script is listed. OID's can be assigned to a device from the Device Properties - Tasks dialog, or collected by discovering the device. Due to the large number of devices and their varying commands this script to device mapping may fail.
- . The WhatsConfigured scripting language allows for variable replacement within scripts. WhatsConfigured pre-defined scripts utilize this ability when running password tasks. Before the script is run the script is processed and all variable references are replaced with the variables corresponding value. The processed text displays the resulting script after processing. This field allows the user to ensure variable declarations are being assigned and interpreted properly.
: If you are experiencing a problem with a script, the results listed in the script tab to a text (.txt) file. If you contact Technical Support, this file will aid in troubleshooting your script problem.
The tab displays the name and value of all variables associated with the task script.
For each task it displays:
The tab displays a list of the commands as they were interpreted by the WhatsConfigured script runner. It also displays the results of those commands if they were run against the device when the task was run.
For each task it displays:
- . The specific command; for example, login or show configuration.
- . The success or failure of the command when it was ran by the task.
- . The results of the responses declared by the WhatsConfigured script language.
The tab displays any error messages that were logged as the task ran.
The tab displays the protocol credentials used to complete the task.
For each task it displays:
- . The type of protocol credentials; for example, SSH or Telnet.
: WhatsConfigured defaults to SSH credentials when available. If SSH credentials are not assigned to a device, WhatsConfigured will look for/use Telnet credentials.
- . The name of the credentials as assigned in the Credentials Library.
- . The description of the credentials as assigned in the Credentials Library.