HW INFO: -FGT80d OS 6.2.3
GOALS: 1. email show result PROBLEMS: only half output being emailed only until === config system replacemsg mail "partial" end config system re === I think this is because timeout when show result haven't finished CONFIGS: config system console set output standard end config system automation-trigger edit "FGT2.BAK" set trigger-type scheduled set trigger-frequency hourly set trigger-minute 48 next end config system automation-action edit "FGT2-BAK" set action-type cli-script set required enable set script "show" next edit "FGT2.BAK_email" set action-type email set email-to "user@gmail.com" set email-subject "FGT2.BAK" set email-body "%%results%%" next end
simular problem
i use automation to automate the config backup and send an email with %%results%% to myselfe.
For some reason the FortiGate does not execute the script, it only writes the comand in the comandline and nothing else.
I know it writes the comand from the email with %%results%%, and if i look in the FTP-Server, no backup can be found.
a layer 8 problem can be excluded as (meaning: no, i did not write the comand wrong as)
1. the comandline would tell me
2. i executed the comand by hand, it worked, and copied it into the script field.
it happens on 60E, 80E and 100E, but i also have 60E and 100E where it works, so i don't think it is a problem with the model.
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 |
---|---|
1759 | |
1116 | |
766 | |
447 | |
242 |
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 2025 Fortinet, Inc. All Rights Reserved.