IntégrationsRéseau et pare-feu
Surveiller FortiGate avec DumbMonit
A Fortinet firewall through the FortiOS REST API: IPsec tunnels down, interfaces without link, HA out of sync, memory near conserve mode, FortiGuard licences expiring.
DocumentationSite officiel : FortiGate
Les descriptions des produits sont en anglais, comme dans le produit. Les libellés de la page suivent votre langue.
Ce que DumbMonit surveille
A Fortinet FortiGate through the FortiOS REST API: site-to-site IPsec tunnels that are down, enabled interfaces that lost their link, an HA cluster out of sync or short of a member, memory approaching conserve mode, FortiGuard and FortiCare licences expiring, and patch releases offered for the running FortiOS branch. DumbMonit uses a REST API user whose access profile only reads, and which only accepts calls from the DumbMonit server's address (trusted host). Its token is sent as Authorization: Bearer, never in the URL: FortiOS 7.4.5 and 7.6.1 refuse it there anyway.
Usage typique. Firewall: IPsec tunnels, links, HA sync, conserve mode, FortiGuard licences
Exemples
- FortiGate 40F / 60F / 100F
- FortiGate VM
- FortiOS 7.x
Comment il se connecte
Ce qu'il faut
- API tokenThe token of the dumbmonit REST API user, sent as a bearer token.
Ports réseau à ouvrir
443/TCPAdministration API (HTTPS, default)
Étapes de mise en place: Create a read-only REST API user for DumbMonit
System → Admin Profiles → Create New: name the profile as follows and set the access permissions listed below, everything else None.
dumbmonit-roSystem → Administrators → Create New → REST API Admin: name it as follows and pick that profile.
dumbmonitUnder Trusted Hosts, enter the DumbMonit server's address with a /32 mask: FortiGate refuses 0.0.0.0/0.
Click OK: FortiGate shows the API token once. Copy it.
In DumbMonit, enter the FortiGate address (fw.lan) and paste the token as API token.
À savoir. FortiGate ships a self-signed certificate: tick "Accept an unverifiable certificate" unless you installed your own.