FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
sjoshi
Staff
Staff
Article Id 355150
Description

 

This article provides a step-by-step guide to setting up webhooks for real-time monitoring of CPU and memory usage on FortiGate devices. 

 

Scope

 

FortiGate.

 

Solution

 

  • Setup the automation stitches on FortiGate as below:

Go to Security Fabric -> Automation -> Stitch.

 

a.PNG

 

CLI Part:

 

config system automation-stitch
    edit "webhook"
        set trigger "Time_Interval"
            config actions
                edit 1
                    set action "CLI Script - System Status"
                    set required enable
                next
                edit 2
                    set action "Web_Hook"
                    set required enable
                next
            end
        next
    end

 

  • Automation Trigger can be setup as below:

Go to Security Fabric -> Automation -> Trigger.

 

a.PNG

 

 

  • An Automation Action can be set up as below:

Go to Security Fabric -> Automation -> Action.

In this case, 2 automation actions must be setup. One to run the cli command and another to sent those command output to webhook site.

 

  1. CLI Script

 

a.PNG

 

 
  1. Webhook Notification.

 

a.PNG

 

 

  • Once the automation stitch is triggered, the CPU and Memory status information will be sent as an HTTP Post request on the webhook website as shown below:

 

a.PNG