用 DumbMonit 监控 FortiGate
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.
产品说明为英文,与产品内一致。页面标签使用您的语言。
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.
典型用途. Firewall: IPsec tunnels, links, HA sync, conserve mode, FortiGuard licences
示例
- FortiGate 40F / 60F / 100F
- FortiGate VM
- FortiOS 7.x
连接方式
您需要准备
- API tokenThe token of the dumbmonit REST API user, sent as a bearer token.
需要开放的网络端口
443/TCPAdministration API (HTTPS, default)
设置步骤: 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.
注意. FortiGate ships a self-signed certificate: tick "Accept an unverifiable certificate" unless you installed your own.