{"id":17366968,"url":"https://github.com/gabrielrf/mqtt2zabbix","last_synced_at":"2026-04-15T00:32:27.562Z","repository":{"id":81480137,"uuid":"204754711","full_name":"GabrielRF/MQTT2Zabbix","owner":"GabrielRF","description":"MQTT to Zabbix","archived":false,"fork":false,"pushed_at":"2020-12-16T20:46:15.000Z","size":165,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T05:52:51.865Z","etag":null,"topics":["mqtt","mqtt-client","zabbix","zabbix-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GabrielRF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-27T17:27:27.000Z","updated_at":"2020-12-18T11:40:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"b40293e7-2828-4886-9692-9acd29cb70a5","html_url":"https://github.com/GabrielRF/MQTT2Zabbix","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"36e9b8d0b6c4056c50facbb140f4a479fb71faf1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GabrielRF/MQTT2Zabbix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FMQTT2Zabbix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FMQTT2Zabbix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FMQTT2Zabbix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FMQTT2Zabbix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielRF","download_url":"https://codeload.github.com/GabrielRF/MQTT2Zabbix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FMQTT2Zabbix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31821536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mqtt","mqtt-client","zabbix","zabbix-server"],"created_at":"2024-10-15T22:15:50.537Z","updated_at":"2026-04-15T00:32:27.529Z","avatar_url":"https://github.com/GabrielRF.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MQTT2Zabbix\n\nA simple, yet functional, way to integrate devices that support MQTT to your Zabbix Server.\n\n## MQTT Broker\n\nFirst, make sure you have a MQTT Broker running. [Mosquitto](https://mosquitto.org/) is recommended.\n\n## MQTT to Zabbix\n\nOpen `Mqtt2Zabbix.py` and set the variables:\n```\nZabbixServer: Zabbix server ip\nZabbixPort: Zabbix server port, default 10050\nMqttServer: MQTT server ip\nMqttPort: MQTT server port, default 1883\nMqttUser: MQTT user\nMqttPassword: MQTT password\nMqttClient: MQTT client id, must be unique\n```\n\nRun `Mqtt2Zabbix` as you prefer. This script is responsible for receiving mqtt data and sending it to Zabbix server, so make sure it is running all the time.\n\nIt's recommended to run it as a service. If this is your preference, `pythonmqtt.service` is an example of configuration.\n\n## Zabbix \n\nThen, make sure your Zabbix server is listening port 10050 and reachable by the broker.\n\n![MQTT2Zabbix Hosts](hosts.png)\n\nFinally, add an item to your Zabbix with `Zabbix trapper` as its type.\n\n![MQTT2Zabbix Items](items.png)\n\n## MQTT Client\n\nSet your client to `publish` to the broker IP having the topic as `host_name.item_key`. The message sent will be the data collected by the Zabbix Server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielrf%2Fmqtt2zabbix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielrf%2Fmqtt2zabbix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielrf%2Fmqtt2zabbix/lists"}