LoginSignup
6
5

More than 5 years have passed since last update.

muninのtemplate変更(munin_dynamic_template, munstrap)

Last updated at Posted at 2016-01-19
  • debian7.2, munin2で実施

参考

munin_dynamic_template

例.png

git clone https://github.com/DaveMDS/munin_dynamic_template.git
mv munin_dynamic_template /etc/munin/
/etc/munin/munin.conf
- #tmpldir  /etc/munin/templates
+ tmpldir /etc/munin/munin_dynamic_template/munin2
- #staticdir /etc/munin/static
+ staticdir /etc/munin/munin_dynamic_template/munin2/static

munstrapの場合

git clone https://github.com/munin-monitoring/contrib.git
mv contrib /etc/munin/munstrap
/etc/munin/munin.conf
- #tmpldir  /etc/munin/templates
+ tmpldir /etc/munin/munstrap/templates
- #staticdir /etc/munin/static
+ staticdir /etc/munin/munstrap/static

反映

反映
mv /var/cache/munin /var/cache/munin.bak
mkdir /var/cache/munin
chown munin:munin /var/cache/munin

sudo /etc/init.d/munin-node restart
sudo -u munin /usr/bin/munin-cron
6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5