Hello world! by mschlenker
This is a very basic plugin with the sole purpose to be used as template for your own plugin development: The Python files included make up for the most basic configurable plugin and are extensively commented. The structure should be complete enough to fulfill the requirements of the Checkmk exchange. If you install and use it without modification, it will just create random alerts. Included in this package are two files for bakery deployment: the rule set for configuration and a v1 bakery API plug-in. These two files will be ignored by Checkmk Raw, so there is no need for a separate "Hello bakery!" package anymore.
8 Oct 2021115841238Hello bakery! by mschlenker
Hello world example with added plugin for bakery. First tinker around with my "Hello world!" MKP, then have a look at the added files to distribute agent ckeck and configuration via the agent bakery. Enterprise Editions only! Although this package is still compatible with Checkmk 2.3.0, do not use it there: The APIs this package uses will be disabled by 2.4.0. Use the "Hello world!" MKP in versions 0.2.x onward.
24 Nov 20219899667Watterott CO2 Ampel by mschlenker
Background: The Watterott CO2 Ampel ("CO2 traffic light") is a networkable sensor board, primarily made for monitoring CO2, but includes other sensors as temperature and humidity as well. It is open hardware and uses an open source firmware. https://learn.watterott.com/breakouts/co2-ampel/ The factory firmware includes a simple Checkmk agent via HTTP/REST-API: http://12.34.56.78/cmk-agent Since the agent is only available via HTTP, the monitoring has to be configured using "individual program call instead of agent access", see https://docs.checkmk.com/latest/en/datasource_programs.html The output includes one local check that creates a service immediately after discovery. However, this takes thresholds from the EPROM of the boards which makes central administration difficult. This plugin adds discovery for all other sensors. Since different versions of the board have different sensors, individual discovery is needed. German users: See ASR3.5 and ASR3.6 (Germany) for thresholds on CO2/temperature/humidity in working environments. Only CO2 is quite fixed at 1000ppm. If no quick exchange of air is possible, lower thresholds from 1000/1200 to 900/1000 or properly adjust the hysteresis.
26 Sep 20229262952Open Meteo Temperature (special agent example) by mschlenker
Example plugin to show special agent development. This plugin calls the Open Meteo API to create a temperature service.
11 Feb 2025810755