mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
2078cab690
Bootstrap sets box-sizing to border-box to make lay-outing easier, but this damages the scaling of the munin graphs, which get a border to indicate their warning state. This patch makes all images have box-sizing: content-box, so that the graphs are actually the intended size, rather than the intended size minus the border, causing a blurry image. |
||
---|---|---|
.. | ||
static | ||
templates | ||
LICENSE | ||
README.md | ||
sample-node.jpg | ||
sample-zoom.jpg | ||
sample.jpg |
Munstrap
Alternative Munin 2.x templates based on Twitter Bootstrap 3.
From February 2015 the Munstrap template has been added to the munin-monitoring/contrib repo.
Please use that location in future.
Installation
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
cp -rb /opt/contrib/templates/munstrap/templates .
cp -rb /opt/contrib/templates/munstrap/static .
Clean the old generated files:
rm -rf /var/www/munin/*
Take a coffee and wait some minutes for the html generation by Munin.
Upgrades
Get the last changes from Munstrap:
cd /opt/munstrap
git pull
Replace the old munstrap version with the new one:
cd /etc/munin
rm -rf templates static
cp -r /opt/contrib/templates/munstrap/templates .
cp -r /opt/contrib/templates/munstrap/static .
Revert to Official Munin Template
cd /etc/munin
rm -rf templates static
mv templates~ templates
mv static~ static