docs:tips_n_tricks:munin:index.html
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:tips_n_tricks:munin:index.html [06.04.2011 13:07 CEST] – created peter | docs:tips_n_tricks:munin:index.html [22.10.2012 16:49 CEST] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Munin ====== | ====== Munin ====== | ||
===== Installing Munin Node 1.2.6 on SuSE 10.1 ===== | ===== Installing Munin Node 1.2.6 on SuSE 10.1 ===== | ||
+ | |||
+ | Install the package perl-Server-Net | ||
wget -c " | wget -c " | ||
- | tar -xvkpzf | + | tar -xvkpzf munin_1.2.6.tar.gz |
+ | cd munin-1.2.6 | ||
+ | patch -p0 < Makefile.config.patch | ||
+ | mkdir / | ||
+ | groupadd -g $GID munin | ||
+ | ln -s munin-1.2.6 / | ||
+ | make DESTDIR=/ | ||
+ | cp -p dists/ | ||
+ | cd / | ||
+ | patch -p0 < munin-node.patch | ||
+ | ln -s / | ||
+ | PERL5LIB=/ | ||
+ | |||
+ | |||
+ | Apply the fix to bug [[http:// | ||
+ | |||
+ | Add your Munin server to the list of allowed IPs at the bottom of ''/ | ||
+ | |||
+ | You have to set | ||
+ | |||
+ | PERL5LIB=/ | ||
+ | export PERL5LIB | ||
+ | |||
+ | wherever you intend to invoke the munin scripts or plugins. | ||
+ | |||
+ | ==== Patches ==== | ||
+ | |||
+ | |||
+ | '' | ||
+ | |||
+ | |||
+ | --- Makefile.config | ||
+ | +++ Makefile.config | ||
+ | @@ -10,7 +10,7 @@ | ||
+ | | ||
+ | |||
+ | # Where Munin keeps its configurations (server.conf, | ||
+ | -CONFDIR | ||
+ | +CONFDIR | ||
+ | |||
+ | # Server only - where to put munin-cron | ||
+ | | ||
+ | @@ -32,18 +32,18 @@ | ||
+ | | ||
+ | |||
+ | # Client only - Where to put RRD files and other intenal data | ||
+ | -DBDIR | ||
+ | +DBDIR | ||
+ | |||
+ | # Client only - Where plugins should put their states. Must be writable by | ||
+ | # group " | ||
+ | | ||
+ | |||
+ | # Where Munin should place its logs. | ||
+ | -LOGDIR | ||
+ | +LOGDIR | ||
+ | |||
+ | # Location of PID files and other statefiles. On the server, must be | ||
+ | # writable by the user " | ||
+ | -STATEDIR | ||
+ | +STATEDIR | ||
+ | |||
+ | # The perl interpreter to use | ||
+ | | ||
+ | @@ -65,7 +65,8 @@ | ||
+ | | ||
+ | |||
+ | # Server only - Where to install the perl libraries | ||
+ | -PERLLIB | ||
+ | +PERLLIB | ||
+ | +# $(shell $(PERL) -V:sitelib | cut -d"'" | ||
+ | |||
+ | # Client only - Install plugins for this architecture | ||
+ | | ||
+ | |||
+ | |||
+ | '' | ||
+ | --- dists/ | ||
+ | +++ / | ||
+ | @@ -16,7 +16,10 @@ | ||
+ | # Source SuSE config | ||
+ | . / | ||
+ | |||
+ | -MUNIN_BIN=/ | ||
+ | +PERL5LIB=/ | ||
+ | +export PERL5LIB | ||
+ | + | ||
+ | +MUNIN_BIN=/ | ||
+ | test -x $MUNIN_BIN || exit 5 | ||
+ | |||
+ | # Shell functions sourced from / | ||
+ | |||
+ | {{tag> | ||
+ | {{entry> | ||
+ | {{entry> |
docs/tips_n_tricks/munin/index.html.1302088037.txt.gz · Last modified: 06.04.2011 13:07 CEST by peter