1.0.6 • Published 6 years ago

green-sys v1.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

green-sys

System monitoring agent for AWS Greengrass.

Green application CodeFactor

Current version: 1.0.5

Lead Maintainer: Halim Qarroum

Table of contents

Install

green add npm://green-sys

Features

  • Monitoring of system components (CPU, Memory, Processes, Network, Storage, OS) within AWS Greengrass.
  • Integration with green-watch to synchronize system metrics on AWS Cloudwatch.
  • Exposes a Restful API to other applications, accessible over the local or remote Greengrass MQTT broker.
  • Remote terminal access over MQTT to manage the local Greengrass host system.

Dependencies

For the green-sys lambda function to properly work, the sys-get agent needs to be running on the host operating system in order to obtain system information not accessible within Greengrass containers. The sys-get agent should be run under the user ggc_user which is the default user under which Greengrass Lambda functions are running.

To install the sys-get agent, run the following command on the host :

npm install --global sys-get

To start sys-get under the ggc_user, run the following command on the host system running your Greengrass core :

sudo -u ggc_user sh -c "`which sys-get` serve --use-expressify ipc"

This command will expose the system information API provided by sys-get on an Expressify IPC channel accessible by green-sys in the context of a Greengrass container.

See also

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago