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.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
This solved it for me:
[link]https://forum.fortinet.com/FindPost/130828[/link]
This solved it for me:
[link]https://forum.fortinet.com/FindPost/130828[/link]
That fixed it! Thanks!
No problem. Now if I can figure out how to apply a password to 500+ units without editing each device manually...
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.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1731 | |
1099 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.