2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Updated README with addresses to munin-monitoring/contrib repo

This commit is contained in:
Jonny McCullagh 2015-02-27 21:01:33 +00:00
parent a0f3adede1
commit 04a1a32881

View File

@ -1,25 +1,28 @@
Munstrap Munstrap
======== ========
Alternative Munin 2.x templates based on Twitter Bootstrap 3 Alternative Munin 2.x templates based on Twitter Bootstrap 3.
From February 2015 the Munstrap template has been added to the [munin-monitoring/contrib](https://github.com/munin-monitoring/contrib) repo.
Please use that location in future.
![Sample](sample.jpg) ![Sample](sample.jpg)
Installation Installation
------------ ------------
Get Munstrap: Clone the munin-monitoring/contrib repo to a temporary location:
```
cd /opt
git clone https://github.com/munin-monitoring/contrib.git
```
Replace the Munin stock template with Munstrap (the -b options makes a backup of the official template for rolling back):
``` ```
cd /etc/munin cd /etc/munin
git clone https://github.com/jonnymccullagh/munstrap.git cp -rb /opt/contrib/templates/munstrap/templates .
``` cp -rb /opt/contrib/templates/munstrap/static .
Replace the Munin stock template by Munstrap (don't worry, there is a backup of the old files):
```
cp -rb munstrap/templates .
cp -rb munstrap/static .
``` ```
Clean the old generated files: Clean the old generated files:
@ -36,21 +39,21 @@ Upgrades
Get the last changes from Munstrap: Get the last changes from Munstrap:
``` ```
cd /etc/munin/munstrap cd /opt/munstrap
git pull git pull
``` ```
Replace the old version by the new one: Replace the old munstrap version with the new one:
``` ```
cd /etc/munin cd /etc/munin
rm -rf templates static rm -rf templates static
cp -r munstrap/templates . cp -r /opt/contrib/templates/munstrap/templates .
cp -r munstrap/static . cp -r /opt/contrib/templates/munstrap/static .
``` ```
Revert to stock Revert to Official Munin Template
--------------- ---------------------------------
``` ```
cd /etc/munin cd /etc/munin