User Tools

Site Tools


docs:tips_n_tricks:munin:index.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docs:tips_n_tricks:munin:index.html [06.04.2011 13:54 CEST] peterdocs: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 "http://sourceforge.net/projects/munin/files/munin%20stable/1.2.6/munin_1.2.6.tar.gz/download"   wget -c "http://sourceforge.net/projects/munin/files/munin%20stable/1.2.6/munin_1.2.6.tar.gz/download"
Line 7: Line 9:
   patch -p0 < Makefile.config.patch   patch -p0 < Makefile.config.patch
   mkdir /opt/munin-1.2.6   mkdir /opt/munin-1.2.6
 +  groupadd -g $GID munin
   ln -s munin-1.2.6 /opt/munin   ln -s munin-1.2.6 /opt/munin
   make DESTDIR=/opt/munin install-node install-node-plugins   make DESTDIR=/opt/munin install-node install-node-plugins
 +  cp -p dists/suse/munin-node.rc /opt/munin/etc/init.d/munin-node
 +  cd /opt/munin/etc/init.de
 +  patch -p0 < munin-node.patch
 +  ln -s /opt/munin/etc/init.d/munin-node /etc/init.d/munin-node
 +  PERL5LIB=/opt/munin/lib/perl5/site_perl /opt/munin/sbin/munin-node-configure --shell | sh
 +
 +
 +Apply the fix to bug [[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486887|#486887]] manually
 +
 +Add your Munin server to the list of allowed IPs at the bottom of ''/opt/munin/etc/munin-node.conf''.
 +
 +You have to set
 +
 +  PERL5LIB=/opt/munin/lib/perl5/site_perl
 +  export PERL5LIB
 +
 +wherever you intend to invoke the munin scripts or plugins.
 +
 +==== Patches ====
  
  
Line 58: Line 80:
    OSTYPE     = $(shell uname | tr '[A-Z]' '[a-z]')    OSTYPE     = $(shell uname | tr '[A-Z]' '[a-z]')
  
 +
 +''munin-node.patch'':
 +
 +  --- dists/suse/munin-node.rc      2005-03-29 22:32:59.000000000 +0200
 +  +++ /opt/munin/etc/init.d/munin-node    2011-04-06 14:53:44.000000000 +0200
 +  @@ -16,7 +16,10 @@
 +   # Source SuSE config
 +   . /etc/rc.status
 +   
 +  -MUNIN_BIN=/usr/sbin/munin-node
 +  +PERL5LIB=/opt/munin/lib/perl5/site_perl
 +  +export PERL5LIB
 +  +
 +  +MUNIN_BIN=/opt/munin/sbin/munin-node
 +    test -x $MUNIN_BIN || exit 5
 +   
 +   # Shell functions sourced from /etc/rc.status:
 +   
 +{{tag>Munin Monitoring}}
 +{{entry>Munin}}
 +{{entry>Monitoring}}
docs/tips_n_tricks/munin/index.html.1302090851.txt.gz · Last modified: 06.04.2011 13:54 CEST by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki