Differences
This shows you the differences between the selected revision and the current version of the page.
howto:munin_monitoring 2012/09/05 16:57 | howto:munin_monitoring 2017/09/06 18:38 current | ||
---|---|---|---|
Line 13: | Line 13: | ||
# chdir /mnt/HD_a2 | # chdir /mnt/HD_a2 | ||
# wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-5.10-2.tgz | # wget http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/perl-5.10-2.tgz | ||
- | # wget -O munin-node-1.4.5-2.tgz http://forum.dsmg600.info/attachment.php?item=662 | + | # wget -O munin-node-1.4.5-2.tgz http://dns323.kood.org/forum/attachment.php?item=662 |
- | # wget -O perl-mod-Net-Server-0.99-1.tgz http://forum.dsmg600.info/attachment.php?item=661 | + | # wget -O perl-mod-Net-Server-0.99-1.tgz http://dns323.kood.org/forum/attachment.php?item=661 |
When the download is complete the packages should be installed | When the download is complete the packages should be installed | ||
Line 75: | Line 75: | ||
my $dfopts = "-P -l".join(' -x ',('',split('\s+',$exclude))); | my $dfopts = "-P -l".join(' -x ',('',split('\s+',$exclude))); | ||
The repaired line | The repaired line | ||
- | my $dfopts = "-k | grep -v /dev/loop0 | grep -v rootfs"; | + | my $dfopts = "-k | grep -v -e /dev/loop0 -e rootfs"; |
or use this script: | or use this script: | ||
Line 81: | Line 81: | ||
cp /ffp/share/munin/plugins/df /ffp/share/munin/plugins/df_bak | cp /ffp/share/munin/plugins/df /ffp/share/munin/plugins/df_bak | ||
- | cat /ffp/share/munin/plugins/df_bak | sed 's/my \$dfopts = "-P -l".*$/my $dfopts = "-k | grep -v \/dev\/loop0 | grep -v rootfs";/' > /ffp/share/munin/plugins/df | + | cat /ffp/share/munin/plugins/df_bak | sed 's/my \$dfopts = "-P -l".*$/my $dfopts = "-k | grep -v -e \/dev\/loop0 -e rootfs";/' > /ffp/share/munin/plugins/df |
ln -s /ffp/share/munin/plugins/df /ffp/etc/munin/plugins | ln -s /ffp/share/munin/plugins/df /ffp/etc/munin/plugins | ||
killall -9 munin-node | killall -9 munin-node |