2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Merge pull request #420 from ldidry/update-du-2

[plugins/disk/du-2] Doc and autoconf updates
This commit is contained in:
Steve Schnepp 2014-01-08 12:51:04 -08:00
commit 8f719ef600

View File

@ -7,12 +7,15 @@
=head1 AUTHOR AND COPYRIGHT =head1 AUTHOR AND COPYRIGHT
Copyright 2011-2012 Luc Didry <luc AT didry.org> Copyright 2011-2014 Luc Didry <luc AT didry.org>
=head1 HOWTO CONFIGURE AND USE : =head1 HOWTO CONFIGURE AND USE :
=over =over
=item - /etc/munin/plugins/du
cp du /etc/munin/plugins/
=item - /etc/munin/plugin-conf.d/du_ =item - /etc/munin/plugin-conf.d/du_
[du] [du]
@ -22,14 +25,9 @@
env.suppr /home/ # PLEASE USE \# INSTEAD OF # env.suppr /home/ # PLEASE USE \# INSTEAD OF #
timeout 900 # 15 MINUTES IN SECONDS timeout 900 # 15 MINUTES IN SECONDS
=item - /etc/munin/plugins-enabled
ln -svf ../plugins-available/site/du
=item - restart Munin node =item - restart Munin node
sudo killall -TERM munin-node /etc/init.d/munin-node restart
=back =back
@ -73,7 +71,7 @@ my $TIMEFILE="$Munin::Plugin::pluginstatedir/du.time";
##### autoconf ##### autoconf
if( (defined $ARGV[0]) && ($ARGV[0] eq "autoconf") ) { if( (defined $ARGV[0]) && ($ARGV[0] eq "autoconf") ) {
print "yes\n"; print "no\n";
## Done ! ## Done !
munin_exit_done(); munin_exit_done();
} }