Giter Club home page Giter Club logo

puppet-monit's Introduction

Monit Puppet Module

Very simple module for installing and configuring monit.

Quick Start

Download the module and put it in your "modules" folder:

$ git clone tom@[email protected]:tompurl/puppet-monit.git

Add this to your manifest:

class { 'monit': 
  alert_address  => "[email protected]",
  smtp_host      => "smtp.mandrillapp.com",
  smtp_port      => 587,
  smtp_user_name => "[email protected]",
  smtp_password  => "thisIsReallyClever",
}

Visit the page with a console-based web browser (like elinks) from the local server console:

$ elinks http://localhost:2812
# username => admin, pass => monit    

You can change the username and password by setting the following parameters:

  • web_username
  • web_password

Overview

This is a very simple module that simply installs monit with a lightweight config file. Any additional configuration information should be placed in files that are stored in one of the following directories:

  • /etc/monit/conf.d
  • /etc/monit/monitrc.d #Seems to be preferred on Debian

Why Do I Need An Email Address?

The main way that monit communicates with you is by email. I recommend mandrill as a good, simple SMTP service.

Tested Platforms

Debian 7 on x64 and Raspbian. No effort has yet been made to make it work with anything else.

monit class parameters

Parameter Type Default Description
alert_address string none The address to which monit will send notifications
smtp_host string none The host names for your SMTP server
smtp_port int none Duh :)
smtp_user_name string none The username for your SMTP account
smtp_password string none The password associated with the $smtp_user_name value
web_username string admin The username that you want to use to log into monitweb
web_password string monit The password that you want to use with monitweb

puppet-monit's People

Contributors

tompurl avatar

Stargazers

Francisco Lois Rúa avatar

Watchers

 avatar James Cloos avatar Chuck 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.