GithubHelp home page GithubHelp logo

isabella232 / monit-deployment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quodis/monit-deployment

0.0 0.0 0.0 96 KB

Includes sample configuration file and instructions on how to setup a new monit install.

monit-deployment's Introduction

Install monit from the package manager

  • sudo apt-get install monit

Or install it from source

Make it run on boot

  • sudo vim /etc/default/monit
  • change "startup=0" to "startup=1"

Configure monit

  • Clone the sample config file from git: git clone git://github.com/quodis/Monit-Deployment.git into /etc/monit
  • Remember to change all instances of YOURSERVER.com to the correct server address!
  • Also remember to set a username & password for the web server. Search for "allow admin:monit" and change it. This is VERY IMPORTANT!

Make sure mysql.pid is there

  • If this file is not present on your system, edit your mysql configuration in /etc/mysql/my.cnf. Under "basic settings" set pid-file = /var/run/mysqld/mysqld.pid
  • Restart mysql using /etc/init.d/mysql restart ( or service mysql restart )

Configure iptables to accept connections from port 2812

  • iptables -A INPUT -p tcp --dport 2812 -j ACCEPT

Start monitoring!

  • /etc/init.d/monit start
  • View current status using "sudo monit status" or by accessing "YOURSERVER.com:2812"

Helpful resources

monit-deployment's People

Contributors

inf0rmer 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.