Check fortios-version


This plugin lets you track if an FortiOS update for a Forti Appliance like FortiGate is available, using the FortiOS REST API.

Fact Sheet

Check Plugin Download

Check Interval Recommendation

Once a day

Can be called without parameters


Available for

Python 2, Python 3, Windows




usage: fortios-version [-h] [-V] [--always-ok] -H HOSTNAME [--insecure]
                       [--no-proxy] --password PASSWORD [--timeout TIMEOUT]

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  --always-ok           Always returns OK.
  -H HOSTNAME, --hostname HOSTNAME
                        FortiOS-based Appliance address, optional including
                        port ("").
  --insecure            This option explicitly allows to perform "insecure"
                        SSL connections. Default: False
  --no-proxy            Do not use a proxy. Default: False
  --password PASSWORD   FortiOS REST API Single Access Token.
  --timeout TIMEOUT     Network timeout in seconds. Default: 3 (seconds)

Usage Examples

./fortios-version --hostname --password mypass


FortiOS v6.2.7 is up to date


  • If wanted, always returns OK,

  • else returns WARN if update is available.

Perfdata / Metrics

There is no perfdata.

Credits, License