GithubHelp home page GithubHelp logo

renovate-tests / check-aws-ec2-mainte Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ntrv/check-aws-ec2-mainte

0.0 0.0 0.0 139 KB

๐ŸŸ Detect EC2 Retirement using in Mackerel (Indev)

License: Apache License 2.0

Go 92.83% Makefile 3.87% Ruby 3.30%

check-aws-ec2-mainte's Introduction

check-aws-ec2-mainte

Mackerel plugin to detect EC2 Retirement

GoDoc CI GitHub release Maintainability Test Coverage Go Report Card Renovate Go1.13 GitHub

Install

mkr

mkr plugin install ntrv/check-aws-ec2-mainte

HomeBrew

brew install https://raw.githubusercontent.com/ntrv/check-aws-ec2-mainte/master/Formula/check-aws-ec2-mainte.rb

Usage

$ TZ=Asia/Tokyo AWS_PROFILE=foo AWS_REGION=ap-northeast-1 ./check-aws-ec2-mainte --all
EC2 Mainte WARNING: Code: system-reboot, InstanceId: i-1234abcd, Date: 2019-03-29T21:00:00+09:00 - 2019-03-29T23:00:00+09:00, Description: scheduled reboot

Example of mackerel-agent.conf

[plugin.check.ec2mainte]
command = ["/path/to/check-aws-ec2-mainte", "-c", "48h"]
env = { AWS_REGION = "ap-northeast-1", TZ = "US/Pacific" }
max_check_attempts = 3
timeout_seconds = 15

ToDo

  • Detect Spot Instance Interruptions

check-aws-ec2-mainte's People

Contributors

ntrv avatar renovate-bot 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.