go-aws-mon

command module
v0.0.0-...-a4c0723 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2016 License: GPL-3.0 Imports: 19 Imported by: 0

README

AWS CloudWatch Monitoring Program

Put Linux System metrics to AWS CloudWatch

Memory
  • Memory Utilization - Memory usage in percent
  • Memory Used - Used memory in bytes
  • Memory Available - Available memory in bytes
  • Swap Utilization - Swap usage in percent
  • Swap Used - Swap used in bytes
Disk
  • Disk Space Utilization - Disk space usage in percent
  • Disk Space Used - Disk space used in bytes
  • Disk Space Available - Disk space available in bytes
  • Linux partition inode usage - Disk parttion inodes usage in percent

Usage

  • You need to config you aws credential before run the program
  • Run the program as following for full metrics push
go-aws-mon --namespace=<NAMESPACE> --mem-util --mem-used --mem-avail --swap-util --swap-used  --disk-space-util --disk-inode-util --disk-space-used --disk-space-avail --disk-path=PATH

PATH, multiple paths are supported by comma(,) saperate, e.x. /,/var,/home

  • By default, the CloudWatch namespace is "Linux/System" and Memory Utilization and / Disk Utilization are always push
  • We recommend to change the bin/mon-put-instance-metric.sh to setup a cron job

Allen Chen(a3linux X gmail.com)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL