Giter Club home page Giter Club logo

grease's Introduction

GREASE

Automation as a Service

Build Status

GREASE

  • Guest
  • Reliability
  • Engineering
  • Automation
  • Solution
  • Engine

What it does

GREASE is designed as a system to enable generalized and large scale automation efforts. Rather than approaching automation via manual scripts, scheduled runs in a task runner system, GREASE is designed to be completely hands free. This enables true and actual automation and reduction of toil. GREASE is designed to stop the decades old mentality of operations and operators from break/fix work, and redirect their efforts to the principles of SRE. A common simile for GREASE is: "Let Operations STOP fighting all these fires (automated preventable incidents), install the sprinkler system (GREASE) and begin performing arson investigation (helping solutions portfolio working on & prioritizing their backlog/Designing better processes and infrastructure)

GREASE provides a simple JSON configuration schema for issue detection and a safe Python command class for implementing resolutions.

How it works

GREASE runs 24/7/365 monitoring sources you define and based on configuration can act on these sources. These actions can be anything you can do in python.

Out of the box GREASE is very minimal, it is but an engine. Similar to Django, you write your application, GREASE just serves it.

Installation & Requirements

Requirements

  1. PostgreSQL 9.4+
    • Provision the database with the database.sql file included here.
  2. Python2.7
  3. Pip
    • Requests
    • Psycopg2
    • PyMongo

Installation

  1. Setup Your Environment Variables
    • GREASE_DSN is the only one required at this point
  2. Install GREASE
    • python setup.py install
  3. Register with your database
    • grease enterprise bridge register
  4. Next Steps
    • Develop your module for GREASE Commands and Configurations
    • Setup your environment for this package:
      • GREASE_CONF_PKG: Your configuration Package
      • GREASE_CONF_DIR: The directory in your package for configurations to be loaded from
      • GREASE_SOURCES_PKG: The package to load sources from
    • if you plan to enable MongoDB for source de-duplication you'll need some additional variables set:
      • GREASE_MONGO_HOST: MongoDB Host Name
      • GREASE_MONGO_PORT: MongoDB Port (Defaults to 27017)
      • GREASE_MONGO_USER: MongoDB Auth Username
      • GREASE_MONGO_PASSWORD: MongoDB Auth Password
      • GREASE_MONGO_DB: Database Name (defaults to grease)

grease's People

Contributors

ggrammar avatar slushpupie avatar

Watchers

James Cloos avatar one3chens avatar

Forkers

one3chens

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.