Description |
This article describes how to configure a FortiGate to execute CLI commands on a schedule (e.g., every hour) and automatically send the command output to a Microsoft Teams channel via webhook.
This method is useful for routine monitoring or diagnostics, such as routing tables, VPN status, or system resources without logging in each time. |
Scope |
FortiGate. |
Solution |
To send a notification to MS Teams, FortiGate needs to have an incoming webhook connector address. Refer to: Create Incoming Webhooks
While creating the incoming webhook, please provide FortiGate hostname as a name to get a notification with a specific device hostname.
For example:
Create Webhook Action to Send Output to Teams
Stitch the Trigger and Actions:
Result: Now, every hour (or configured interval), FortiGate will:
|
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.