check indoor climate with a sensor
Posted: Sat Mar 28, 2020 5:48 am
Hi everyone,
I want to check the humidity and temperature of a room with a dht22 sensor.
So I installed the nessecary plugins wiringPi and lol_dht22. So now I'am able to check the Humidity/Temperature in the commandline.
But i want so see also the stats in the webinterface,that's why i create a humidity.sh and temerature.sh with the query in usr/lib/nagios/plugins and the commands in /etc/nagios/nrpe.cfg. And at least i assigned the query to the device.
But I get following error:
Return code of 13 for service 'Temperatur' on host 'raspberrypi' was out of bounds
(same Error for Humidity)
I want to check the humidity and temperature of a room with a dht22 sensor.
So I installed the nessecary plugins wiringPi and lol_dht22. So now I'am able to check the Humidity/Temperature in the commandline.
But i want so see also the stats in the webinterface,that's why i create a humidity.sh and temerature.sh with the query in usr/lib/nagios/plugins and the commands in /etc/nagios/nrpe.cfg. And at least i assigned the query to the device.
But I get following error:
Return code of 13 for service 'Temperatur' on host 'raspberrypi' was out of bounds
(same Error for Humidity)