1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

[plugins/disk/du-2] Doc and autoconf updates

This commit is contained in:
Luc Didry 2014-01-07 16:54:13 +01:00
parent 08241c1282
commit 3e5627a223

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-2013 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();
} }