Nagios Plugin for monitoring temperature and humidity from a Raspberry Pi
Project description
check-dht
Nagios Plugin for monitoring temperature and humidity from a Raspberry Pi
Notice: This plugin works in conjuction with the pico-dht project!
Install
This software has two dependencies:
Both should be available for installation from your distribution's package manager and pip
.
Overview
Example output with default parameters
$ check_dht
DHT OK - 24.2 °C | error=0 humidity=34.9;40;50;0;100 temperature=24.2;30;40;-40;80
Usage
$ check_dht -h
usage: check_dht [-h] [-p PORT] [-b BAUD] [-w TEMP] [-c TEMP]
[--humidity-warning PERCENT] [--humidity-critical PERCENT]
Nagios Plugin to monitor DHT22/AM2302 data
optional arguments:
-h, --help show this help message and exit
-p PORT, --port PORT the serial file to read from
-b BAUD, --baud BAUD baudrate of the serial port
-w TEMP, --warning TEMP
return warning if air temperature is outside TEMP
-c TEMP, --critical TEMP
return critical if air temperature is outside TEMP
--humidity-warning PERCENT
return warning if humidity is outside PERCENT
--humidity-critical PERCENT
return critical if humidity is outside PERCENT
(c) Johannes Arnold 2023. This software is published under the terms of the
GNU GPLv3. For the companion project to this plugin, see
https://github.com/j0hax/dht22
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
check_dht-0.1.1.tar.gz
(14.8 kB
view hashes)
Built Distribution
check_dht-0.1.1-py3-none-any.whl
(16.0 kB
view hashes)
Close
Hashes for check_dht-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ca57f5e0df0bd39232162a2d610785e1bcb461165e527aec4404914d43f76fc |
|
MD5 | 887161545916131c345264d80a20ab22 |
|
BLAKE2b-256 | 551282d69e3cfe432c54aa364b1b1e04ca4612fab9bdbdd6cc7515d56127e007 |