How mayuranasairatnam/checkmk_fortisase works
This is a Checkmk 2.4/2.5 special-agent plugin for monitoring FortiSASE through FortiCloud OAuth. The principal workflow is: an operator configures the integration in Checkmk; Checkmk invokes the special agent, which collects API data and emits sections; Checkmk discovers and evaluates services, exposing metrics and graphs. The monitoring branches cover API health, traffic, sessions, certificates, licensing, identity providers, and private-access hubs. Edges are limited to relationships visible in excerpts or stated in the README; unsampled wiring is not inferred.
Main entry points: common.py Shared normalization · agent_fortisase Special agent · fortisase.py Agent server call · fortisase_api.py API health
Components 18
Configuration
- Special-agent rule
cmk_addons_plugins/fortisase/rulesets/special_agent.py - Check parameters
cmk_addons_plugins/fortisase/rulesets/check_parameters.py - Agent server call
cmk_addons_plugins/fortisase/server_side_calls/fortisase.py
API collection
- Special agent
cmk_addons_plugins/fortisase/libexec/agent_fortisase
Monitoring checks
- Shared normalization
cmk_addons_plugins/fortisase/lib/common.py - API health
cmk_addons_plugins/fortisase/agent_based/fortisase_api.py - Regional bandwidth
cmk_addons_plugins/fortisase/agent_based/fortisase_bandwidth.py - PoP bandwidth
cmk_addons_plugins/fortisase/agent_based/fortisase_pop.py - SWG sessions
cmk_addons_plugins/fortisase/agent_based/fortisase_swg.py - VPN sessions
cmk_addons_plugins/fortisase/agent_based/fortisase_vpn.py - Certificates
cmk_addons_plugins/fortisase/agent_based/fortisase_certificates.py - License seats
cmk_addons_plugins/fortisase/agent_based/fortisase_license.py - Identity providers
cmk_addons_plugins/fortisase/agent_based/fortisase_idp.py - Private access
cmk_addons_plugins/fortisase/agent_based/fortisase_private_access.py
Metrics and graphs
- Metric graphs
cmk_addons_plugins/fortisase/graphing/fortisase.py
Other components
- Operator
- Checkmk
- FortiCloud API
Connections 26
- Operator → Checkmk: configures host
README.md - Checkmk → Special-agent rule: sets integration
README.md - Operator → Check parameters: sets thresholds
README.md - Checkmk → Agent server call: invokes agent
- Agent server call → Special agent: runs agent
- Special agent → FortiCloud API: queries API
README.md - Special agent → Checkmk: emits sections
README.md - API health → Shared normalization: uses parsing
cmk_addons_plugins/fortisase/agent_based/fortisase_api.py - Regional bandwidth → Shared normalization: normalizes traffic
cmk_addons_plugins/fortisase/agent_based/fortisase_bandwidth.py - PoP bandwidth → Shared normalization: uses traffic data
cmk_addons_plugins/fortisase/agent_based/fortisase_pop.py - SWG sessions → Shared normalization: uses session checks
cmk_addons_plugins/fortisase/agent_based/fortisase_swg.py - VPN sessions → Shared normalization: uses session checks
cmk_addons_plugins/fortisase/agent_based/fortisase_vpn.py - Certificates → Shared normalization: parses certificates
cmk_addons_plugins/fortisase/agent_based/fortisase_certificates.py - License seats → Shared normalization: parses license
cmk_addons_plugins/fortisase/agent_based/fortisase_license.py - Identity providers → Shared normalization: uses shared parsing
cmk_addons_plugins/fortisase/agent_based/fortisase_idp.py - Private access → Shared normalization: uses shared parsing
cmk_addons_plugins/fortisase/agent_based/fortisase_private_access.py - Checkmk → API health: discovers checks
- Checkmk → Regional bandwidth: discovers checks
- Checkmk → PoP bandwidth: discovers checks
- Checkmk → SWG sessions: discovers checks
- Checkmk → VPN sessions: discovers checks
- Checkmk → Certificates: discovers checks
- Checkmk → License seats: discovers checks
- Checkmk → Identity providers: discovers checks
- Checkmk → Private access: discovers checks
- Checkmk → Metric graphs: renders graphs
README.md