Giter Site home page Giter Site logo

munin-plugins's Introduction

Munin plugins collection

Introduction

This is my collection of munin plugins that I use to monitor production servers. This servers include the following services: - Nginx - Multiple virtual hosts - Rails applications - Static web sites - Git repositories

Requirements

  • awk

  • ps -oe support

Install

This guide will allow you to install the plugins on ubuntu 10.04 LTS. However, It may work on other debian / ubuntu distribution

In order to install this scripts you need to enable the plugins on each munin-node.

# Set up nginx plugins
cp nginx_* /usr/share/munin/plugins
for file in `ls /usr/share/munin/plugins/nginx_*`
  do
  ln -s $file /etc/munin/plugins
done
# Set up users plugins
cp byuser_* /usr/share/munin/plugins
for file in `ls /usr/share/munin/plugins/byuser_*`
  do
  ln -s $file /etc/munin/plugins
done

Now you need to set up the plugins by setting the users you want to monitor. Edit the file /etc/munin/plugin-conf.d/munin-node

[byuser_cpu]
env.USERS "user_app1 user_app2"
[byuser_mem]
env.USERS "user_app1 user_app2"

Now you need to restart munin-node

service munin-node restart

Later check on your munin server.

Supported plugins

We recommend the following plugins:

  • postgres_*

To install this plugins run:

# Set up postgres_* plugins
for file in `ls /usr/share/munin/plugins/postgres_*`
  do
  ln -s $file /etc/munin/plugins
done

Extra plugins

Notice that ubuntu 10.04 includes extra plugins that you can install

aptitude install munin-plugins-extra

munin-plugins's People

Contributors

framallo avatar

Stargazers

 avatar

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.