NSH Script results - Viewing and using
An NSH Script operation runs an NSH Script Job created in BMC Server Automation, which deploys and executes NSH scripts on target servers.
Results of an NSH Script operation provide:
- A pie chart showing the percentage of target servers where the operation succeeded or failed.
- Statistics about the operation's start and end time, duration, and status.
Script results
The Script Results tab shows the results of an NSH Script operation on its targets. Select a target and the list at right shows all messages generated when the NSH Script operation ran on that target. An icon next to each item in the Targets list shows if the operation failed or succeeded.
To search for targets or messages
In the Search Targets box, enter a text string of any length. The Targets list shows all targets with names that include that text string. If you leave the box blank, the page shows all targets. Search for messages in a similar way using the Search Messages box.
To filter targets or messages
Take any of the following steps:
- Click one of the wedges representing the operational status in the pie chart at top and results are automatically filtered for that status. For example, if you click Successful in the pie chart, the Targets list shows only targets where the NSH Script operation succeeded.
- At the top of the Targets list, select a status, such as Successful or Failure. The Targets list shows only targets matching that status.
- At the top of message list, select a type of message, such as Information or Error. The message list shows only messages matching that type.
Log messages
The Run Log tab lists all messages generated during a run of an operation.
To filter messages
At the top of the list, select a message type, such as Error or Warning. The Run Log list shows only messages of that type.
To search for messages
In the Search Messages box, enter a text string of any length. The list shows all log messages with names that include that text string. If you leave the box blank, the page shows all messages.
To refresh the list of messages
Select the Actions icon at the top of the Run Log list and then select Refresh.