root / templates / munstrap / README.md @ d8c30923
Historique | Voir | Annoter | Télécharger (1,36 ko)
| 1 |
Munstrap |
|---|---|
| 2 |
======== |
| 3 |
|
| 4 |
Alternative Munin 2.x templates based on Twitter Bootstrap 3. |
| 5 |
From February 2015 the Munstrap template has been added to the [munin-monitoring/contrib](https://github.com/munin-monitoring/contrib) repo. |
| 6 |
Please use that location in future. |
| 7 |
|
| 8 |
 |
| 9 |
|
| 10 |
Installation |
| 11 |
------------ |
| 12 |
|
| 13 |
Clone the munin-monitoring/contrib repo to a temporary location: |
| 14 |
|
| 15 |
``` |
| 16 |
cd /opt |
| 17 |
git clone https://github.com/munin-monitoring/contrib.git |
| 18 |
``` |
| 19 |
|
| 20 |
Replace the Munin stock template with Munstrap (the -b options makes a backup of the official template for rolling back): |
| 21 |
|
| 22 |
``` |
| 23 |
cd /etc/munin |
| 24 |
cp -rb /opt/contrib/templates/munstrap/templates . |
| 25 |
cp -rb /opt/contrib/templates/munstrap/static . |
| 26 |
``` |
| 27 |
|
| 28 |
Clean the old generated files: |
| 29 |
|
| 30 |
``` |
| 31 |
rm -rf /var/www/munin/* |
| 32 |
``` |
| 33 |
|
| 34 |
Take a coffee and wait some minutes for the html generation by Munin. |
| 35 |
|
| 36 |
Upgrades |
| 37 |
-------- |
| 38 |
|
| 39 |
Get the last changes from Munstrap: |
| 40 |
|
| 41 |
``` |
| 42 |
cd /opt/munstrap |
| 43 |
git pull |
| 44 |
``` |
| 45 |
|
| 46 |
Replace the old munstrap version with the new one: |
| 47 |
|
| 48 |
``` |
| 49 |
cd /etc/munin |
| 50 |
rm -rf templates static |
| 51 |
cp -r /opt/contrib/templates/munstrap/templates . |
| 52 |
cp -r /opt/contrib/templates/munstrap/static . |
| 53 |
``` |
| 54 |
|
| 55 |
Revert to Official Munin Template |
| 56 |
--------------------------------- |
| 57 |
|
| 58 |
``` |
| 59 |
cd /etc/munin |
| 60 |
rm -rf templates static |
| 61 |
mv templates~ templates |
| 62 |
mv static~ static |
| 63 |
``` |
| 64 |
|
| 65 |
Samples |
| 66 |
------- |
| 67 |
|
| 68 |
View of a specific node: |
| 69 |
 |
| 70 |
|
| 71 |
Zoom feature: |
| 72 |
 |
