Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_aws.sh

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2013-05-31
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
  • Nagios Fusion
Owner
Hits
37181
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Get any Amazon AWS Cloud Watch metrics
Updated! Oct 1st.
I wrote this script to monitor my Amazon EC2 servers and LoadBalancers, this script is able to get any metrics
avaiable at the cloud-watch.

Requirements:
For it to work you will need the amazon api commands working.
http://felipeferreira.net/?p=1341


Usage: ./check_aws.sh [--d DIMENSION] [--n NAMESPACE] [--t TYPE] [--p PERIOD] [--w WARN] [--c CRITICAL] [-v|--verbose]

Example:
# ./check_aws.sh –d “InstanceId=i-26f36dc5e” –n “AWS/EC2? –p 60 –t CPUUtilization –w 15 –c 30
OK – Servidor InstanceId=i-26f36dc5e CPUUtilization = 5 |CPUUtilization=5