{"id":24811156,"url":"https://github.com/thin-edge/tedge-monit-setup","last_synced_at":"2026-02-26T08:11:49.616Z","repository":{"id":208119547,"uuid":"720850550","full_name":"thin-edge/tedge-monit-setup","owner":"thin-edge","description":"thin-edge.io community plugin with sensible monit defaults","archived":false,"fork":false,"pushed_at":"2025-04-13T09:04:41.000Z","size":487,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-13T10:19:51.101Z","etag":null,"topics":["community","iot","thin-edge"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thin-edge.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,"zenodo":null}},"created_at":"2023-11-19T19:36:25.000Z","updated_at":"2025-04-13T09:04:23.000Z","dependencies_parsed_at":"2023-11-19T21:24:12.975Z","dependency_job_id":"28d83d82-9116-4eae-a8ad-a0a721a7b8ac","html_url":"https://github.com/thin-edge/tedge-monit-setup","commit_stats":null,"previous_names":["thin-edge/tedge-monit-setup"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/thin-edge/tedge-monit-setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Ftedge-monit-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Ftedge-monit-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Ftedge-monit-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Ftedge-monit-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thin-edge","download_url":"https://codeload.github.com/thin-edge/tedge-monit-setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thin-edge%2Ftedge-monit-setup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266567557,"owners_count":23949381,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["community","iot","thin-edge"],"created_at":"2025-01-30T12:19:31.371Z","updated_at":"2026-02-26T08:11:44.485Z","avatar_url":"https://github.com/thin-edge.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tedge-monit-setup\n\nDefault monit configuration for thin-edge.io. It includes sensible monit defaults settings and enables/starts the related services.\n\nThis is a community driven repository where users are encouraged to create PRs to add support for any additional init system, or make changes to any of the existing definitions.\n\n## Plugin summary\n\nThe following thin-edge.io customization is included in the plugin.\n\n### What will be deployed to the device?\n\n* install and configure monit with a localhost:2812 interface (see details below)\n* enable/start the `monit` service\n\n**Monit http web interface (http://localhost:2812)**\n\nBy default the web interface will be enabled, however it will only be accessible from on the device itself (as it will block any connection attempts from other devices for security reasons).\n\nThe monit UI can be accessed using the [cumulocity-remote-access-cloud-http-proxy](https://github.com/SoftwareAG/cumulocity-remote-access-cloud-http-proxy) extensions (UI and microservice) which enables you to access the monit web interface directly from the Cumulocity IoT Device Management UI by using the Cumulocity Cloud Remote Access Passthrough feature.\n\nBelow shows an example of the monit web interface access from Cumulocity IoT.\n\n![preview](./images/c8y-monit-preview.png)\n\n\nAfter installing the [cumulocity-remote-access-cloud-http-proxy](https://github.com/SoftwareAG/cumulocity-remote-access-cloud-http-proxy) UI plugin and microservice, the web interface can be accessed by creating a Remote Access Passthrough configuration with the following configuration:\n\n|Configuration|Value|\n|----|----|\n|name|http:monit|\n|type|PASSTHROUGH|\n|host|127.0.0.1|\n|port|2812|\n\n**Note:** You may have to refresh the page before the \"monit\" tab will appear.\n\n\n**Technical summary**\n\nThe following details the technical aspects of the plugin to get an idea what systems it supports.\n\n|||\n|--|--|\n|**Languages**|`shell` (posix compatible)|\n|**CPU Architectures**|`all/noarch`|\n|**Supported init systems**|`systemd` and `init.d/open-rc`|\n|**Required Dependencies**|-|\n|**Optional Dependencies (feature specific)**|-|\n\n### How to do I get it?\n\nThe following linux package formats are provided on the releases page and also in the [tedge-community](https://cloudsmith.io/~thinedge/repos/community/packages/) repository:\n\n|Operating System|Repository link|\n|--|--|\n|Debian/Raspbian (deb)|[![Latest version of 'tedge-monit-setup' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/thinedge/community/deb/tedge-monit-setup/latest/a=all;d=any-distro%252Fany-version;t=binary/?render=true\u0026show_latest=true)](https://cloudsmith.io/~thinedge/repos/community/packages/detail/deb/tedge-monit-setup/latest/a=all;d=any-distro%252Fany-version;t=binary/)|\n|Alpine Linux (apk)|[![Latest version of 'tedge-monit-setup' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/thinedge/community/alpine/tedge-monit-setup/latest/a=noarch;d=alpine%252Fany-version/?render=true\u0026show_latest=true)](https://cloudsmith.io/~thinedge/repos/community/packages/detail/alpine/tedge-monit-setup/latest/a=noarch;d=alpine%252Fany-version/)|\n|RHEL/CentOS/Fedora (rpm)|[![Latest version of 'tedge-monit-setup' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/thinedge/community/rpm/tedge-monit-setup/latest/a=noarch;d=any-distro%252Fany-version;t=binary/?render=true\u0026show_latest=true)](https://cloudsmith.io/~thinedge/repos/community/packages/detail/rpm/tedge-monit-setup/latest/a=noarch;d=any-distro%252Fany-version;t=binary/)|\n\n## Features\n\nThe following features are supported by the plugin:\n\n* Install and configure monit (using package dependencies)\n* Install default rules to monit\n    * Monitor cloud connections and perform reconnection if required (including collecting log files for debugging such disconnection events)\n    * General device alerts like low disk space, high ram usage, file descriptor exhaustion etc.\n\n## Settings\n\nThe plugin supports the following options which are controlled by editing the following configuration file:\n\n**file: /etc/tedge-monit-setup/env**\n\n```sh\n# Where to write the log files to\nLOG_DIR=/var/log/tedge-monit-setup\n\n# Maximum number of days to keep log (tar.gz) files\nMAX_DAYS=30\n\n# Maximum number of log (tar.gz) files to keep\nMAX_FILES=10\n```\n\n## Acknowledgements\n\n[![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith\u0026style=for-the-badge)](https://cloudsmith.com)\n\nPackage repository hosting is graciously provided by  [Cloudsmith](https://cloudsmith.com).\nCloudsmith is the only fully hosted, cloud-native, universal package management solution, that\nenables your organization to create, store and share packages in any format, to any place, with total\nconfidence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthin-edge%2Ftedge-monit-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthin-edge%2Ftedge-monit-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthin-edge%2Ftedge-monit-setup/lists"}