Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add doc for installing python-munin #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,32 @@ Description
This library provides helper classes for writing plugins for the server
monitoring tool Munin. It also comes with some prebuilt plugins for
various services including PostgreSQL, Memcached, and Nginx.

Installation
------------

Sample installation on Debian distribution

**dev base requirement**

.. code-block:: console

apt-get install python-pip git

**Install python-munin**

.. code-block:: console

cd /usr/local/src/
git clone https://github.com/samuel/python-munin.git
pip install python-munin/

**Sample activation plugin** (ex: mysql_replication)

.. code-block:: console

apt-get install python-mysqldb
cd /etc/munin/plugins
ln -s /usr/local/src/python-munin/plugins/mysql_replication mysql_replication
vi /etc/munin/plugin-conf.d/mysql_replication # edit options
/etc/init.d/munin-node restart