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:
commit
8f719ef600
@ -7,12 +7,15 @@
|
||||
|
||||
=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 :
|
||||
|
||||
=over
|
||||
|
||||
=item - /etc/munin/plugins/du
|
||||
cp du /etc/munin/plugins/
|
||||
|
||||
=item - /etc/munin/plugin-conf.d/du_
|
||||
|
||||
[du]
|
||||
@ -22,14 +25,9 @@
|
||||
env.suppr /home/ # PLEASE USE \# INSTEAD OF #
|
||||
timeout 900 # 15 MINUTES IN SECONDS
|
||||
|
||||
=item - /etc/munin/plugins-enabled
|
||||
|
||||
ln -svf ../plugins-available/site/du
|
||||
|
||||
|
||||
=item - restart Munin node
|
||||
|
||||
sudo killall -TERM munin-node
|
||||
/etc/init.d/munin-node restart
|
||||
|
||||
=back
|
||||
|
||||
@ -73,7 +71,7 @@ my $TIMEFILE="$Munin::Plugin::pluginstatedir/du.time";
|
||||
|
||||
##### autoconf
|
||||
if( (defined $ARGV[0]) && ($ARGV[0] eq "autoconf") ) {
|
||||
print "yes\n";
|
||||
print "no\n";
|
||||
## Done !
|
||||
munin_exit_done();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user