Cloud

AWS Classic Load Balancer unhealthy check

Description:

clb_unhealthyCheck.py
Objective
Get metric of AWS CLB UnHealthyHostCount.

Author: Asaf Shabat

Current Version

1.0.0

Last Release Date

2018-03-09

Compatible With

  • Nagios 4.x

Owner


Project Notes
Prerequisites Python3 boto3 extention (using: pip install boto3) AWS cli installed AWS Access key, Secret key and Region configured Usage ./clb_unhealthyCheck.py [-h] [--loadbalancer LOADBALANCER] [--period PERIOD] [--statistics STATISTICS] [--unit UNIT] [--ok_threshold OK_THRESHOLD] [--critical_threshold CRITICAL_THRESHOLD] Arguments -h, --help Show this help message and exit --loadbalancer LOADBALANCER Classic Load Balancer provides basic load balancing across multiple Amazon EC2 instances and operates at both the request level and connection level. For example: awseb-e-m-AWSEBLoa-Numbers&Characters --period PERIOD A period is the length of time associated with a specific Amazon CloudWatch statistic. For example: to specify a period of 5 minutes, use 300 as the period value. --statistics STATISTICS Statistics are metric data aggregations over specified periods of time. For example: Average --unit UNIT Each statistic has a unit of measure. For example: Count --ok_threshold OK_THRESHOLD Threshold which reflects the OK status value. (Recommended threshold: 0) --critical_threshold CRITICAL_THRESHOLD Threshold which reflects the Critical status value. (Recommended threshold: 0)
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
6,193