Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Nagios Plugin "check_cloudwatch" usage: 1) install CloudWatch API Tools pre-requirement: Amazon CloudWatch API Tools installed http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2534&categoryID=88 2) copy check_cloudwatch script to appropriate directory ($USER1$ = /usr/lib/nagios/plugins/ recommended ) where Nagios user can read. 3) copy aws.cfg to appropriate directory (/etc/nagios/objects/) and register to nagios.cfg --- cfg_file=/etc/nagios/objects/aws.cfg --- 4) edit aws.cfg - add instance by setting EC2 Instance ID or RDS Instance Name to alias section of the host - register instance to region = Hostgroup - add host name to service definitions as needed Tips: If you call the script every 5 mins, you should specify 360 seconds (6 minutes) as you might not retrieve the last minute's data. Call the script or mon-get-stats command directly if you want to adjust parameters. history 1.4 - support empty Dimension parameter, allow passing extra arguments (such as AWS credentials) to mon-get-stats 1.3 - made any "Bytes" unit return in a human readable format - allyunion 1.2 - arguments changed due to support for multiple regions 1.1 - added support to check thresholds are below than norma state 1.0 - 1st release Disclaimer: This script is provided as is without any guarantees or warranty. Use it at your own risk. twitter: @j3tm0t0