How danielpauldd/checkmk works
This repository is a collection of Checkmk monitoring plugins for CryptoSpike, Pi-hole, and Sophos XG hardware. In the typical user-to-result workflow, an operator configures a monitored host in Checkmk; plugin agents obtain product data, agent-based checks parse and evaluate it, and Checkmk presents service states and metrics. The sampled code confirms shared parsing for several check modules, but not every agent-to-service connection. Those collection links are therefore omitted; Pi-hole and Sophos subsystems are represented from the file tree and source index where implementation excerpts were unavailable.
Main entry points: pihole_rest_common.py Shared data parser · cryptospike_common.py Shared data parser · cryptospike_blockedusers.py User status checks · cryptospike_landscape.py Landscape checks
Components 27
CryptoSpike monitoring
- CryptoSpike agent
cryptospike/cmk_addons_plugins/cryptospike/libexec/agent_cryptospike - Special-agent config
cryptospike/cmk_addons_plugins/cryptospike/server_side_calls/special_agent.py - Shared data parser
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_common.py - User status checks
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_blockedusers.py - Landscape checks
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_landscape.py - License checks
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_license.py - Service checks
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_services.py - Version checks
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_version.py - Monitoring rules
cryptospike/cmk_addons_plugins/cryptospike/rulesets - Blocked-user graphing
cryptospike/cmk_addons_plugins/cryptospike/graphing/cryptospike_blockedusers.py
Pi-hole monitoring
- Pi-hole agent
pihole_rest/cmk_addons_plugins/pihole_rest/libexec/agent_pihole_rest - REST request helper
pihole_rest/cmk_addons_plugins/pihole_rest/libexec/request_helper.py - Special-agent config
pihole_rest/cmk_addons_plugins/pihole_rest/server_side_calls/special_agent.py - Shared data parser
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_common.py - Message checks
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_messages.py - Summary checks
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_summary.py - Blocking-state checks
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_state.py - Version checks
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_version.py - Database-size checks
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_dbfilesize.py - Monitoring rules
pihole_rest/cmk_addons_plugins/pihole_rest/rulesets - Metric graphing
pihole_rest/cmk_addons_plugins/pihole_rest/graphing
Sophos hardware
- Fan checks
sophosxg_hardware/cmk_addons_plugins/sophosxg_hardware/agent_based/sophosxg_hardware_fan.py - Power-supply checks
sophosxg_hardware/cmk_addons_plugins/sophosxg_hardware/agent_based/sophosxg_hardware_psu_summary.py - Temperature checks
sophosxg_hardware/cmk_addons_plugins/sophosxg_hardware/agent_based/sophosxg_hardware_temperature.py - Monitoring rules
sophosxg_hardware/cmk_addons_plugins/sophosxg_hardware/rulesets
Other components
- Monitoring operator
- Checkmk
Connections 10
- Monitoring operator → Checkmk: configures monitoring
README.md - User status checks → Shared data parser: parses with
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_blockedusers.py - Landscape checks → Shared data parser: parses with
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_landscape.py - License checks → Shared data parser: parses with
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_license.py - Version checks → Shared data parser: parses with
cryptospike/cmk_addons_plugins/cryptospike/agent_based/cryptospike_version.py - Message checks → Shared data parser: parses with
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_messages.py - Summary checks → Shared data parser: parses with
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_summary.py - Blocking-state checks → Shared data parser: parses with
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_state.py - Version checks → Shared data parser: parses with
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_version.py - Database-size checks → Shared data parser: parses with
pihole_rest/cmk_addons_plugins/pihole_rest/agent_based/pihole_rest_dbfilesize.py