Script history
The execution history of scripts run on specific devices can be viewed from a device’s dashboard. The script execution history table also allows for viewing the script history, and re-running the script.
To view the script execution history:
- In Device Manager, locate the device whose script history you want to view.
- In the content pane, select Dashboard, and find the Configuration and Installation Status widget.
- Select View History in the Script Status field of the widget to open the Script Execution History table.
- To view the script history for a specific script, select the Browse icon in the far right column of the table to open the Script History dialog box.
Script history dialog box.
- To re-run a script, select the Run script now icon in the far right column of the table. The script is re-run. See Run a script for more information.
- Select Return to return to the device dashboard.
Script samples
This section helps familiarize you with FortiManager scripts, provides some script samples, and provides some troubleshooting tips.
The scripts presented in this section are in an easy to read format that includes:
- the purpose or title of the script l the script itself l the output from the script (blank lines are removed from some output) l any variations that may be useful l which versions of FortiOS this script will execute on
- CLI scripts l Tcl scripts