Scripts – FortiManager 5.2

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:

  1. In Device Manager, locate the device whose script history you want to view.
  2. In the content pane, select Dashboard, and find the Configuration and Installation Status widget.
  3. Select View History in the Script Status field of the widget to open the Script Execution History table.

 

  1. 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.

  1. 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.
  2. 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


Having trouble configuring your Fortinet hardware or have some questions you need answered? Check Out The Fortinet Guru Youtube Channel! Want someone else to deal with it for you? Get some consulting from Fortinet GURU!

This entry was posted in Administration Guides, FortiManager and tagged , , on by .

About Mike

Michael Pruett, CISSP has a wide range of cyber-security and network engineering expertise. The plethora of vendors that resell hardware but have zero engineering knowledge resulting in the wrong hardware or configuration being deployed is a major pet peeve of Michael's. This site was started in an effort to spread information while providing the option of quality consulting services at a much lower price than Fortinet Professional Services. Owns PacketLlama.Com (Fortinet Hardware Sales) and Office Of The CISO, LLC (Cybersecurity consulting firm).

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.