Giter Club home page Giter Club logo

aws-nagios-checks's Introduction

AWS Nagios Checks

Nagios checks based on AWS Cloudwatch metrics

Installation

pip install -r requirements.txt

Usage

AWS Nagios Check
Nagios checks based on AWS Cloudwatch metrics

Usage:
  aws-nagios-check [--aws-profile=<profile>] [--aws-region=<region>] --metric=<metric> --resource=<resource> --warn=<warn> --crit=<critical>

  --aws-profile=<profile>                           AWS Profile
  --metric=<metric>                                 Metric to be feteched
  --resource=<resource>                             Resource get the data
  --warn=<warn>                                     Warning threeshold
  --crit=<critical>                                 Critical threeshold

Options:
  -h --help                                         Show this screen.

Metrics Prefix:
    - AELB_                                         ApplicationELB Metrics
    - RDSCluster_[Reader|Writer]                    RDS Cluster Metrics

Metric Example:
    [Metric Prefix]_[CW Metric Name]
    RDSCluster_ReaderCPUUtilization

Example

Run a check

aws-nagios-check --aws-profile=default1 --aws-region=eu-west-1 --metric=RDSCluster_WriterCPUUtilization --resource=myclust --warn=90 --crit=95

Check return code

echo $?

Available Metrics

Application ELB

  • AELB_ActiveConnectionCount
  • AELB_HTTPCode_Target_2XX_Count
  • AELB_HTTPCode_Target_3XX_Count
  • AELB_HTTPCode_Target_5XX_Count
  • AELB_HTTPCode_ELB_2XX_Count
  • AELB_HTTPCode_ELB_3XX_Count
  • AELB_HTTPCode_ELB_5XX_Count
  • AELB_TargetResponseTime
  • AELB_RequestCount
  • AELB_ClientTLSNegotiationError

RDS

  • RDSCluster_[Writer|Reader]CommitLatency
  • RDSCluster_[Writer|Reader]DatabaseConnections
  • RDSCluster_[Writer|Reader]DDLThroughput
  • RDSCluster_[Writer|Reader]NetworkReceiveThroughput
  • RDSCluster_[Writer|Reader]BlockedTransactions
  • RDSCluster_[Writer|Reader]SelectThroughput
  • RDSCluster_[Writer|Reader]InsertLatency
  • RDSCluster_[Writer|Reader]UpdateThroughput
  • RDSCluster_[Writer|Reader]NetworkTransmitThroughput
  • RDSCluster_[Writer|Reader]DeleteThroughput
  • RDSCluster_[Writer|Reader]DMLLatency
  • RDSCluster_[Writer|Reader]CommitThroughput
  • RDSCluster_[Writer|Reader]DeleteLatency
  • RDSCluster_[Writer|Reader]DMLThroughput
  • RDSCluster_[Writer|Reader]LoginFailures
  • RDSCluster_[Writer|Reader]SelectLatency
  • RDSCluster_[Writer|Reader]ActiveTransactions
  • RDSCluster_[Writer|Reader]BufferCacheHitRatio
  • RDSCluster_[Writer|Reader]AuroraBinlogReplicaLag
  • RDSCluster_[Writer|Reader]BinLogDiskUsage
  • RDSCluster_[Writer|Reader]ResultSetCacheHitRatio

aws-nagios-checks's People

Contributors

jddcarreira avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.