Home Directory Plugins Cloud AWS ECS service monitor

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

Directory Tree

AWS ECS service monitor

Current Version
2.0.0
Last Release Date
2018-02-15
Compatible With
  • Nagios 4.x
Hits
7849
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Get metrics of AWS ECS Service Memory & CPU.

Author: Asaf Shabat
Objective
Get metrics of AWS ECS service Memory & CPU.

Prerequisites
Python3
boto3 extention (using: pip install boto3)
AWS cli installed
AWS Access key, Secret key and Region configured

Usage
./ecs_service_memory_cpu.py [-h] [--namespace NAMESPACE] [--metricname METRICNAME] [--clustername CLUSTERNAME]
[--servicename SERVICENAME] [--period PERIOD] [--statistics STATISTICS]
[--unit UNIT] [--ok_threshold OK_THRESHOLD] [--warning_threshold WARNING_THRESHOLD]
[--critical_threshold CRITICAL_THRESHOLD]
Arguments
-h, --help
Show this help message and exit

--namespace NAMESPACE
CloudWatch namespaces are containers for metrics.
For example: AWS/ECS

--metricname METRICNAME
Metrics are data about the performance of your systems.
For example: MemoryUtilization

--clustername CLUSTERNAME
This dimension filters the data you request for all resources in a specified cluster.

--servicename SERVICENAME
This dimension filters the data you request for all resources in a specified service within a specified cluster.

--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: Percent

--ok_threshold OK_THRESHOLD
Threshold which reflects the OK status value. (Recommended threshold: 86)

--warning_threshold WARNING_THRESHOLD
Threshold which reflects the Warning status value. (Recommended threshold: 86)

--critical_threshold CRITICAL_THRESHOLD
Threshold which reflects the Critical status value. (Recommended threshold: 96)