Révision 3e5627a2
[plugins/disk/du-2] Doc and autoconf updates
| plugins/disk/du-2 | ||
|---|---|---|
| 7 | 7 |
|
| 8 | 8 |
=head1 AUTHOR AND COPYRIGHT |
| 9 | 9 |
|
| 10 |
Copyright 2011-2012 Luc Didry <luc AT didry.org>
|
|
| 10 |
Copyright 2011-2013 Luc Didry <luc AT didry.org>
|
|
| 11 | 11 |
|
| 12 | 12 |
=head1 HOWTO CONFIGURE AND USE : |
| 13 | 13 |
|
| 14 | 14 |
=over |
| 15 | 15 |
|
| 16 |
=item - /etc/munin/plugins/du |
|
| 17 |
cp du /etc/munin/plugins/ |
|
| 18 |
|
|
| 16 | 19 |
=item - /etc/munin/plugin-conf.d/du_ |
| 17 | 20 |
|
| 18 | 21 |
[du] |
| ... | ... | |
| 22 | 25 |
env.suppr /home/ # PLEASE USE \# INSTEAD OF # |
| 23 | 26 |
timeout 900 # 15 MINUTES IN SECONDS |
| 24 | 27 |
|
| 25 |
=item - /etc/munin/plugins-enabled |
|
| 26 |
|
|
| 27 |
ln -svf ../plugins-available/site/du |
|
| 28 |
|
|
| 29 |
|
|
| 30 | 28 |
=item - restart Munin node |
| 31 | 29 |
|
| 32 |
sudo killall -TERM munin-node
|
|
| 30 |
/etc/init.d/munin-node restart
|
|
| 33 | 31 |
|
| 34 | 32 |
=back |
| 35 | 33 |
|
| ... | ... | |
| 73 | 71 |
|
| 74 | 72 |
##### autoconf |
| 75 | 73 |
if( (defined $ARGV[0]) && ($ARGV[0] eq "autoconf") ) {
|
| 76 |
print "yes\n";
|
|
| 74 |
print "no\n";
|
|
| 77 | 75 |
## Done ! |
| 78 | 76 |
munin_exit_done(); |
| 79 | 77 |
} |
Formats disponibles : Unified diff