I am attempting to monitor temperature and humidity with Raspberry Pi 5 using a DHT11 sensor. My Pi is running Bookworm and I find that the only way to get the needed Library files and scripts to work is to now run them is using them in a Virtual environment. Using the command python3 -m venv env and then running the source env/bin/activate to activate the session. In this session I can run the needed script and get the results locally via ssh session. However, because it is running a virtual session my Zabbix agent does not seem to see the results. I am running an imported template, but I am not seeing any temperature and humidity results.
I am somewhat new to Zabbix, so I am hoping that someone else has figured out where I am going wrong.
I used the following steps, and this worked well locally and I get the results that I need but I get Zabbix to see the info
If you are questioning as to why I am running this in a virtual environment, please see the attached screen shot
I am somewhat new to Zabbix, so I am hoping that someone else has figured out where I am going wrong.
I used the following steps, and this worked well locally and I get the results that I need but I get Zabbix to see the info
If you are questioning as to why I am running this in a virtual environment, please see the attached screen shot
Comment