Differences
This shows you the differences between the selected revision and the current version of the page.
howto:munin_monitoring 2012/09/05 11:31 | 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 69: | Line 69: | ||
- | The 'df' script (/ffp/share/munin/plugins/df) not work properly becase the busybox df command is less about. | + | The 'df' script (/ffp/share/munin/plugins/df) not work properly because the busybox df command is less about. |
- | replace the following line | + | Change the original line to the repaired line: |
+ | |||
+ | The original line: | ||
my $dfopts = "-P -l".join(' -x ',('',split('\s+',$exclude))); | my $dfopts = "-P -l".join(' -x ',('',split('\s+',$exclude))); | ||
- | my $dfopts = "-k "; | + | The repaired line |
+ | my $dfopts = "-k | grep -v -e /dev/loop0 -e rootfs"; | ||
+ | |||
+ | or use this script: | ||
+ | #!/ffp/bin/sh | ||
+ | |||
+ | 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 -e \/dev\/loop0 -e rootfs";/' > /ffp/share/munin/plugins/df | ||
+ | ln -s /ffp/share/munin/plugins/df /ffp/etc/munin/plugins | ||
+ | killall -9 munin-node | ||
+ | /ffp/start/munin-node.sh restart | ||
Be aware that some plugins may require additional dependencies. | Be aware that some plugins may require additional dependencies. |