Giter Club home page Giter Club logo

monitor-ec2's Introduction

alarm_cmsd.py creates alarm for CPU, Memory, SWAP, DISK, It will be alarm if one of them is more than 80%.

monitor_activelog.py monitors line of activeLog.log and pushes line number to cloudwatch.
alarm_activelog.py can create alarm for line number of activeLog.log. It will be alarm if the line number of file is more than 200.


monitor_files_acp.py pushes data to cloudwatch for requestAdserver.log, requestClick.log and requestPixel.log. It pushes 1 to cloudwatch if the file is exist, else it will push 0. It also pushes line number of file to cloudwatch for three files.
alarm_files_acp.py creates alarm for exist and line number for requestAdserver.log, requestClick.log and requestPixel.log.It will be alarm if the size of file is less than 20 bytes. It will be alarm if the value of file equals 0. It will be alarm if the line number of file is less than 1.


monitor_files_cccps.py pushes line number to cloudwatch for cacheUpdater.log, cleaner.log, creativeUpdater.log, pixelUpdater.log and sender.log.
alarm_files_cccps.py creates alarm for line number of every file. It will be alarm if the line number of file is less than 20.


monitor_hadoop_file.py pushes file size to cloudwatch for current day about bucket hadoop.anonymous.com.
alarm_hadoop_file.py creates alarm for file size. It will be alarm if file size is less than 20 bytes.
vo_hadoop_file.py is a VO file. it can set/get name and size for file attribute.
The following folder that is monitored:
hadoop.anonymous.com/output/click_count_day
hadoop.anonymous.com/output/country_creative_day
hadoop.anonymous.com/output/creative_camp_day
hadoop.anonymous.com/output/creative_camp_hourly
hadoop.anonymous.com/output/creative_url_camp_day
hadoop.anonymous.com/output/dma_creative_day
hadoop.anonymous.com/output/dma_pixel_day
hadoop.anonymous.com/output/event_count_day
hadoop.anonymous.com/output/event_count_day
hadoop.anonymous.com/output/event_count_increment
hadoop.anonymous.com/output/impression_count_day
hadoop.anonymous.com/output/pcc
hadoop.anonymous.com/output/pvc
hadoop.anonymous.com/output/revenue_count_day
hadoop.anonymous.com/output/url_camp_day
hadoop.anonymous.com/output/url_domain_day
hadoop.anonymous.com/output/watched_video_count_day
hadoop.anonymous.com/output/xch_line_creative_click_count_day
hadoop.anonymous.com/output/xch_line_creative_impression_count_day
hadoop.anonymous.com/output/xch_line_creative_revenue_count_day
hadoop.anonymous.com/output/xch_line_creative_watched_video_count_day


alarm_email_sender can send alarm situations by email every hour.

monitor-ec2's People

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.