FortiGate SSL VPN user high transfer alert

Hello!
Is it possible to get FortiGate SSL VPN consumption alerts like if user SSL VPN traffic is 500MB then we can set alert for it?
Thanks

1 Like

AFAIK there is no inbuilt module or check-script available yet.
You can query these values via the Fortigate API. You need to create a API-token via the web-ui for that.
The base-URL is: https://<your-fortigate>/api/v2/monitor
For querying the SSL-VPN, the additional context-path is: /vpn/ssl
The API-results are JSON, so you need to write a script that can handle that and extract the values you need. if you create the script-output in “Nagios-style”, you can than integrate that script in LibreNMS checks.

I recently created a check-script for some Fortigate-metrics I wanted to monitor here. I uploaded the script as a Gist, maybe that could be a jump start for you.

HTH!