- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TCL Script Execution (6.0.3)
I am diving off the deep end going to TCL scripting for handling the provisioning of a series of remote FortiGates. I've been working on the script in parts and while I was trying to figure out some of my input logic, I kept on getting script failures. Unable to figure out the problem, I put up a very, very simple script:
#!
puts "Testing ..."
I expect that this should just do a simple output of the one line and be done with it. However, this does not happen:
The log is here:
-------Executing time: Thu Nov 15 09:53:02 2018-----------
Starting log (Run on device)
----------------End of Log-------------------------
The task history is here:
NamePercentDescriptionEVO-0002-RT1(TCL-Test)0%2018-11-15 09:53:02:start installing script TCL-Test to EVO-0002-RT1EVO-0002-RT1(TCL-Test)5%2018-11-15 09:53:04:init state: start to get checksumEVO-0002-RT1(TCL-Test)30%2018-11-15 09:53:08:premagic state: start TCL script fileEVO-0002-RT1(TCL-Test)70%2018-11-15 09:53:08:running tcl script failed. Reason: Run script failEVO-0002-RT1(TCL-Test)100%2018-11-15 09:53:08:Script TCL-Test executed on EVO-0002-RT1 failed. Reason: Run script fail
I have to be missing something rudimentary.
Solved! Go to Solution.
- Labels:
-
FortiManager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This solved it for me:
[link]https://forum.fortinet.com/FindPost/130828[/link]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This solved it for me:
[link]https://forum.fortinet.com/FindPost/130828[/link]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That fixed it! Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No problem. Now if I can figure out how to apply a password to 500+ units without editing each device manually...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you post the solution again? After the change to the new Fortinet Community I can't open the link. Also didn't find anything by search.
