check_sauna is an active check for a sauna temperature and humidity sensor that serves its readings as JSON over HTTP or HTTPS. It is a classic monitoring plugin; this package installs it into the site's local/lib/nagios/plugins/ and nothing else.
Create a rule under Setup > Services > Other services > Integrate Nagios plugins with a command line such as:
$USER2$/check_sauna -H $HOSTADDRESS$ -u /sensor.json -w ~:100 -c ~:110
Output:
SAUNA OK - temperature 92.5 C, humidity 11.8 % | temperature_c=92.5;~:100;~:110;; humidity=11.8%;;;0;100
-w/-c for temperature and -W/-C for humidity in the standard range syntax, --max-age for a sensor that stopped updating-t 10, or -t 10:critical), Celsius or Fahrenheit{"temperature": 92.5, "humidity": 11.8, "unit": "C", "timestamp": 1764633600}; other layouts with dotted paths (--temp-key sensors.hot_room.c)Tested against a local simulator of the sensor's JSON endpoint (45 tests on Python 3.8, 3.10 and 3.12), not on sensor hardware. The package was built with a small standard-library script that follows Checkmk's own create_mkp() and was read back with Checkmk's packaging code, but it has not yet been installed on a running Checkmk site. The JSON layout is a generic one, not a standard. The plugin only reports readings and is not a safety device. The code was written with the help of an AI coding assistant.
Source, tests and documentation: github.com/divelux/check-sauna