thin-edge / tedge-monit-setup

thin-edge.io community plugin with sensible monit defaults

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tedge-monit-setup

Default monit configuration for thin-edge.io. It includes sensible monit defaults settings and enables/starts the related services.

This 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.

Plugin summary

The following thin-edge.io customization is included in the plugin.

What will be deployed to the device?

  • install and configure monit with a localhost:2812 interface (see details below)
  • enable/start the monit service

Monit http web interface (http://localhost:2812)

By 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).

The monit UI can be accessed using the 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.

Below shows an example of the monit web interface access from Cumulocity IoT.

preview

After installing the 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:

Configuration Value
name http:monit
type PASSTHROUGH
host 127.0.0.1
port 2812

Note: You may have to refresh the page before the "monit" tab will appear.

Technical summary

The following details the technical aspects of the plugin to get an idea what systems it supports.

Languages shell (posix compatible)
CPU Architectures all/noarch
Supported init systems systemd and init.d/open-rc
Required Dependencies -
Optional Dependencies (feature specific) -

How to do I get it?

The following linux package formats are provided on the releases page and also in the tedge-community repository:

Operating System Repository link
Debian/Raspbian (deb) Latest version of 'tedge-monit-setup' @ Cloudsmith
Alpine Linux (apk) Latest version of 'tedge-monit-setup' @ Cloudsmith
RHEL/CentOS/Fedora (rpm) Latest version of 'tedge-monit-setup' @ Cloudsmith

Features

The following features are supported by the plugin:

  • Configure monit and the related thin-edge.io mapper

Acknowledgements

Hosted By: Cloudsmith

Package repository hosting is graciously provided by Cloudsmith. Cloudsmith is the only fully hosted, cloud-native, universal package management solution, that enables your organization to create, store and share packages in any format, to any place, with total confidence.

About

thin-edge.io community plugin with sensible monit defaults

License:MIT License


Languages

Language:Shell 98.6%Language:Just 1.4%