Description | This article discusses the generation of automatic scripts whenever an automation stitch is triggered. |
Scope | FortiGate. |
Solution |
Let's consider that there is an automation stitch configured on the FortiGate to track high CPU Utilization:
config system automation-action
config system automation-stitch
config system automation-trigger
The auto-script is empty at this moment:
FGT # show system auto-script
Whenever the automation stitch is triggered, the automation script (show system auto-script) gets automatically generated.
As the triggered time is defined as 7:30, an automatic script got generated:
FGT # 2023-06-29 07:30:05 0: config system auto-script
FGT # show system auto-script
Related articles: Technical Tip: Automated script execution Technical Tip: Use FortiGate automation stitches for alert emails |