Nagios plugin to check AWS CloudWatch metrics
Project description
This plugin for checks AWS CloudWatch metrics. It uses the popular boto library to gather metric values. This plugin does not currently have a means of directly supplying AWS credentials - for this, consult the boto docs.
Setup
pip install nagios-cloudwatch-plugin
/usr/local/bin/check_cloudwatch.py -h:
usage: check_cloudwatch.py [-h] -n NAMESPACE -m METRIC [-d DIMENSIONS] [-s {Average,Sum,SampleCount,Maximum,Minimum}] [-p PERIOD] [-l LAG] [-w RANGE] [-c RANGE] [-v] Nagios plugin to check cloudwatch metrics optional arguments: -h, --help show this help message and exit -n NAMESPACE, --namespace NAMESPACE namespace for cloudwatch metric -m METRIC, --metric METRIC metric name -d DIMENSIONS, --dimensions DIMENSIONS dimensions of cloudwatch metric in the format dimension=value[,dimension=value...] -s {Average,Sum,SampleCount,Maximum,Minimum}, --statistic {Average,Sum,SampleCount,Maximum,Minimum} statistic used to evaluate metric -p PERIOD, --period PERIOD the period in seconds over which the statistic is applied -l LAG, --lag LAG delay in seconds to add to starting time for gathering metric. useful for ec2 basic monitoring which aggregates over 5min periods -w RANGE, --warning RANGE warning if threshold is outside RANGE -c RANGE, --critical RANGE critical if threshold is outside RANGE -v, --verbose increase verbosity (use up to 3 times)
Develop
Fork me on Github.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for nagios-cloudwatch-plugin-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d2be16cdf2fc3a8a9ce94d9557660ba28dc3eeedf0abcaff38af738472cb84 |
|
MD5 | 7ee36cec64b312dc293f2ebb6633c964 |
|
BLAKE2b-256 | b11bccd583b885257ad46fb986eb7093056d4a6a90cf6c8c341f4c72cb5dd8ac |