cloudwatch-client

1.0.2 • Public • Published

cloudwatch-client

NPM version Downloads Dependency Status Gandalf Status

What is CloudWatch Client?

CloudWatch Client is a tool that allows you to collect system information and upload them on Amazon S3. CloudWatch is only compatible with Linux. We recommend you to use metrics2xlsx to visualize these data.

How to use it

This tool is available both for Go and NodeJs.

1. Go

You need to install Go first. Please follow this instructions. Then you can write this command to build this tool:

go build -o build/cwc src/main/main.go
2. Node
npm install -g cloudwatch-client

Configuration

Before starting using this tool you have to create a configuration file called .cwc in your Home folder. This file is structured like this

{
  "id": "customer-pc-1",
  "customerId": "customer name",
  "bucket": "s3-bucket",
  "aws": {
    "accessKeyId": "",
    "secretAccessKey": "",
    "region": ""
  }
}

Flags

Otherwise you can run this tool with several flags (flags overcome config values)

  • --bucket Sets s3 bucket name.
  • --id Sets an unique id which identify your device.
  • --customerId Sets the customer id. It will be used to identify your customers.

How to run it

1. Go

Go builds the executable file named 'cwc' into 'build' directory.

2. Node

You can simply run it by writing:

cwc

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1
  • 1.0.1
    1
  • 1.0.0
    1
  • 0.0.0
    1

Package Sidebar

Install

npm i cloudwatch-client

Weekly Downloads

4

Version

1.0.2

License

MIT

Last publish

Collaborators

  • giovanni.bruno
  • mattecarra