docs:tips_n_tricks:munin:index.html
This is an old revision of the document!
Munin
Installing Munin Node 1.2.6 on SuSE 10.1
wget -c "http://sourceforge.net/projects/munin/files/munin%20stable/1.2.6/munin_1.2.6.tar.gz/download" tar -xvkpzf munin_1.2.6.tar.gz cd munin-1.2.6 patch -p0 < Makefile.config.patch mkdir /opt/munin-1.2.6 ln -s munin-1.2.6 /opt/munin make DESTDIR=/opt/munin install-node install-node-plugins
Makefile.config.patch
:
--- Makefile.config 2008-01-20 20:32:46.000000000 +0100 +++ Makefile.config 2011-04-06 13:47:43.000000000 +0200 @@ -10,7 +10,7 @@ PREFIX = $(DESTDIR)/opt/munin # Where Munin keeps its configurations (server.conf, client.conf, ++) -CONFDIR = $(DESTDIR)/etc/opt/munin +CONFDIR = $(PREFIX)/etc # Server only - where to put munin-cron BINDIR = $(PREFIX)/bin @@ -32,18 +32,18 @@ CGIDIR = $(HTMLDIR)/cgi # Client only - Where to put RRD files and other intenal data -DBDIR = $(DESTDIR)/var/opt/munin +DBDIR = $(PREFIX)/var/ # Client only - Where plugins should put their states. Must be writable by # group "munin", and should be preserved between reboots PLUGSTATE = $(DBDIR)/plugin-state # Where Munin should place its logs. -LOGDIR = $(DESTDIR)/var/log/munin +LOGDIR = $(PREFIX)/var/log/munin # Location of PID files and other statefiles. On the server, must be # writable by the user "munin". -STATEDIR = $(DESTDIR)/var/run/munin +STATEDIR = $(PREFIX)/var/run/munin # The perl interpreter to use PERL = $(shell which perl) @@ -65,7 +65,8 @@ BASH = /bin/bash # Server only - Where to install the perl libraries -PERLLIB = $(DESTDIR)$(shell $(PERL) -V:sitelib | cut -d"'" -f2) +PERLLIB = $(PREFIX)/lib/perl5/site_perl +# $(shell $(PERL) -V:sitelib | cut -d"'" -f2) # Client only - Install plugins for this architecture OSTYPE = $(shell uname | tr '[A-Z]' '[a-z]')
docs/tips_n_tricks/munin/index.html.1302090851.txt.gz · Last modified: 06.04.2011 13:54 CEST by peter