Description
Scope
Solution
# config system globalset daily-restart enableset restart-time 05:06end
- Once the restart time is reached, the following message is displayed on the CLI console:
FGT # The system will reboot due to scheduled daily restart. Current time is 05:06
- Syslog message relative to this event:
2021-10-21 05:06:51 log_id=0104041990 type=event subtype=admin pri=information fwver=040000 vd=root msg="Fortigate started"
- And the following entry will be logged under the GUI event logs:
2021-10-21 05:06:51 information admin 41990 Fortigate started
Automation stitch reboot.This option presents another level of integration with the operational level of the network.An action can be triggered based on specific predefined triggers.In this example, a periodic reboot not triggered by a specific event has been used.Note.Use short, simple names, and no spaces in the name field.The CLI commands created by this action:
# config system automation-actionedit "rebooot"set action-type cli-scriptset required enableset script "exec reboot"set accprofile "super_admin"end# config system automation-triggeredit "autoreboot"set trigger-type scheduledset trigger-frequency weeklyset trigger-weekday mondayset trigger-hour 20set trigger-minute 10nextend# config system automation-stitchedit "auto reboot"set trigger "autoreboot"set action "rebooot"nextendRelated Articles
Technical Tip: Automated script execution
Technical Tip: Use FortiGate automation stitches for alert emails
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.