aws-mon-linux
aws-mon-linux copied to clipboard
Bash script that reports custom metric data about Linux performance to Amazon CloudWatch
I've added support for auto-scaling groups and changed the namespace to System/Linux to line up with the scripts provided by AWS.
I found the same issue as in #6, however this solution aligns closer to the current implementation in the [Amazon CloudWatch Monitoring Scripts](https://aws.amazon.com/code/8720044071969977) which uses: ``` perl if (!defined($mem_used_incl_cache_buff)) {...
mem_used was showing not the real memory used, but also adding buffered and cached memory
Is there a way to monitor multiple disks and have the used percent reported as individual stats?
Environment variable `AWS_DEFAULT_REGION` should be used instead (or in addition to??) `EC2_REGION`
System/Linux is a cloudwatch provided namespace, using System/Details/Linux causes the metrics to be listed under "Custom metrics" which seems unnecessary
For example: ~/aws-mon-linux/aws-mon.sh --disk-space-util --disk-path /secure --disk-metric-suffix Secure This will add a DiskSpaceUtilizationSecure metric for the disk mounted at /secure.