Giter Site home page Giter Site logo

chef-mongodb-mms-agent's Introduction

DESCRIPTION:

Opscode Chef cookbook for MongoDB Monitoring System (MMS) agent. MMS is a hosted monitoring service, provided by 10gen, Inc. Once the small python agent program is installed on the MongoDB host, it automatically collects the metrics and upload them to the MMS server. The graphs of these metrics are shown on the web page. It helps a lot for tackling MongoDB related problems, so MMS is the baseline for all production MongoDB deployments.

NOTE: This cookbook only installs the MMS agent program, not MongoDB itself. Using this cookbook together with edelight’s great MongoDB cookbook is recommended.

INSTALLATION:

The knife-github-cookbooks gem is a plugin for knife that supports installing cookbooks directly from a GitHub repository. To install with this plugin, please follow these steps:

$ gem install knife-github-cookbooks
$ cd chef-repo
$ knife cookbook github install treasure-data/chef-mongodb-mms-agent

REQUIREMENTS:

This cookbook has these external dependencies.

  • python cookbook

  • runit cookbook

ATTRIBUTES:

API Key, and the Secret Key are required. Please get them at your MMS Settings page.

  • node[:api_key] (required)

  • node[:secret_key] (required)

USAGE:

This is an example role file, together with edelight’s great MongoDB cookbook.

name "mongo"
description "mongo server role."
run_list(
  "recipe[mongodb::10gen_repo]",
  "recipe[python]",
  "recipe[runit]",
  "recipe[mms-agent]",
)
override_attributes(
  # for mongodb
  :mongodb => {
    :cluster_name => "cluster_foo",
    :dbpath       => "/md0/mongo/db/",
    :logpath      => "/md0/mongo/logs/",
    :port         => 27017,
  },
  # for mms-agent
  :mms_agent => {
    :api_key => 'foo',
    :secret_key => 'bar'
  }
)

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.