{"id":24294391,"url":"https://github.com/debdutto/monit-mqtt","last_synced_at":"2026-04-16T18:03:07.575Z","repository":{"id":57149191,"uuid":"81174673","full_name":"debdutto/monit-mqtt","owner":"debdutto","description":"Command line tool to monitor your MQTT server.","archived":false,"fork":false,"pushed_at":"2019-04-18T09:50:54.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-19T20:50:15.680Z","etag":null,"topics":["command-line","command-line-tool","javascript","js","monitoring","mqtt","node","nodejs","server","statistics","stats"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/debdutto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-07T06:30:00.000Z","updated_at":"2019-08-13T18:47:16.000Z","dependencies_parsed_at":"2022-09-06T05:51:51.512Z","dependency_job_id":null,"html_url":"https://github.com/debdutto/monit-mqtt","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debdutto%2Fmonit-mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debdutto%2Fmonit-mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debdutto%2Fmonit-mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debdutto%2Fmonit-mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/debdutto","download_url":"https://codeload.github.com/debdutto/monit-mqtt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242157273,"owners_count":20081041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["command-line","command-line-tool","javascript","js","monitoring","mqtt","node","nodejs","server","statistics","stats"],"created_at":"2025-01-16T17:39:07.643Z","updated_at":"2026-04-16T18:03:07.563Z","avatar_url":"https://github.com/debdutto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monit-mqtt\n\nPowered by: \u003cimg src=\"https://raw.githubusercontent.com/mqttjs/MQTT.js/137ee0e3940c1f01049a30248c70f24dc6e6f829/MQTT.js.png\" width=\"50\" alt=\"mqttjs\"\u003e\n\n## Installation: \n\nIt is preferred you install it globally\n\n```\nnpm install -g monit-mqtt\n```\n\n## Command line options:\n\nNote: All values being passed here indicate defaults.\n\n##### Options\n\u003e `--options | --opts | --opt | -o`\n\n###### Usage:\n```\nmonit-mqtt --options options.json\n```\n\nAll options parameters accepted by MQTT.js are accepted here. For more details head [here](https://github.com/mqttjs/MQTT.js#client).\n\nNote: If option is passed, all other command line options are disregarded. All missing but required options are replaced by defaults of [MQTT.js](https://github.com/mqttjs/MQTT.js)\n\n\n##### Example\n```\n{\n    \"port\": 1883,\n    \"host\": \"test.mosquitto.org\",\n    \"clean\": false,\n    \"clientId\": \"defaultClient\",\n    \"topics\": {\n        \"$SYS/broker/clients/connected\": 1,\n        \"/#\": 1\n    }\n}\n```\n\n##### Host\n\u003e `--host | -h`\n\n###### Usage:\n```\nmonit-mqtt --host test.mosquitto.org\n```\n##### Port\n\u003e `--port | -p`\n\n###### Usage:\n```\nmonit-mqtt --port 1883\n```\n##### Clean\n\u003e `--clean | --cln | -c`\n\n###### Usage:\n```\nmonit-mqtt --clean true\n```\n##### ClientId\n\u003e `--clientid | --clid | --id`\n\n###### Usage:\n```\nmonit-mqtt --clientid testClient\n```\n##### Topics\n\u003e `--topics | --topic | -t`\n\n###### Usage:\n```\nmonit-mqtt --topic '$SYS/broker/clients/connected' --topic '/#'\n```\n##### QOS\n\u003e `--qos | -q`\n\n###### Usage:\n```\nmonit-mqtt --qos 1\n```\n##### Log Interval\n\u003e `--interval | -i`\n\nInterval in seconds after which stats should be logged.\n\n###### Usage:\n```\nmonit-mqtt --interval 1000\n```\n\n\n###### To Do\n\n* [ ] Support ES5\n* [ ] Add ability to pass custom event handlers\n* [ ] Add ability to store stats\n* [ ] Add ability to web interface plugin\n\nFeedback, suggestions and everything else is always welcome. Email me at debduttoc@gmail.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebdutto%2Fmonit-mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebdutto%2Fmonit-mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebdutto%2Fmonit-mqtt/lists"}