IntegracionesRed y cortafuegos
Monitorizar FortiGate con 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.
DocumentaciónSitio web oficial: FortiGate
Las descripciones están en inglés, como en el producto. Las etiquetas de la página siguen su idioma.
Qué vigila DumbMonit
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.
Uso habitual. Firewall: IPsec tunnels, links, HA sync, conserve mode, FortiGuard licences
Ejemplos
- FortiGate 40F / 60F / 100F
- FortiGate VM
- FortiOS 7.x
Cómo se conecta
Qué necesita
- API tokenThe token of the dumbmonit REST API user, sent as a bearer token.
Puertos de red que abrir
443/TCPAdministration API (HTTPS, default)
Pasos de configuración: 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.
Ojo. FortiGate ships a self-signed certificate: tick "Accept an unverifiable certificate" unless you installed your own.