mqtt-zabbix
mqtt-zabbix copied to clipboard
mosquitto python not currently exist
The Mosquitto Python module does not currently exist, can change the script to paho mqtt client. https://eclipse.org/paho/clients/python/
This seems to still be a problem, any way possible that this could be fixed? I have tried changing the code but im no programmer.
Changed these lines, but more needs uppdated to the paho client. import paho.mqtt.client as paho mqttc = paho.Client(client_id)
Got this far, but then im out of luck.
Traceback (most recent call last):
File "./mqtt-zabbix.py", line 245, in
@jamestutton kindly submitted an improvement that also includes the use of Paho. I don't use this project any more, but if anyone fancies testing it and letting me know if it works, we might be able to close this issue!
you need separately install "pip install paho-mqtt" and launch it. *sign, al this uses Python2