Monitoring tool to collect basic statistics from a machine and from docker statistics and send them to CloudWatch metrics.
Available metrics for collection:
- CPU
- Memory
- Swap
- Disk
- Docker stats
- Docker health status
Download the binary from the GitHub release.
Run it with ./cwmonitor --metrics cpu,memory --interval 60 --namespace a_namespace --hostid "$(hostname)"
Available metrics are: cpu, memory, swap, disk, docker-health, docmer-stats
.
Use ./cwmonitor --help
to see a description of the other command line arguments.
CWMonitor is also available as a docker image and can be run with
docker run --rm --name=cwmonitor dedalusj/cwmonitor --metrics cpu,memory --interval 60 --namespace a_namespace --hostid "$(hostname)"