1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 10:28:36 +00:00

Converted the documentation to POD

This commit is contained in:
Niall Donegan 2012-07-24 14:01:01 +01:00
parent da50b3f8cc
commit 7e736ea705

View file

@ -1,27 +1,48 @@
#!/bin/sh #!/bin/sh
# # -*- sh -*-
# Script to monitor disk usage.
# : << EOF
# By PatrickDK =head1 NAME
#
# Parameters understood: lvm_ - Wildcard plugin for monitoring disk usage on LVM. Each Volume Group is graphed separately.
#
# config (required) =head1 CONFIGURATION
# autoconf (optional - used by munin-config)
# suggest This plugin needs to run as the root user in order to have permission to run lvs and vgs
#
# Needs to be run as root, so the following needs to be added to the config: [lvm_*]
# user root
# [lvm_*]
# user root =head1 AUTHOR
#
# $Log$ =over 4
#
# Magic markers (optional - used by munin-config and installation =item * PatrickDK (Original Author)
# scripts):
# =item * Niall Donegan
#%# family=auto
#%# capabilities=autoconf suggest =back
=head1 LICENSE
Unknown license
=head1 MAGIC MARKERS
=begin comment
These magic markers are used by munin-node-configure when installing
munin-node.
=end comment
#%# family=auto
#%# capabilities=autoconf suggest
=cut
EOF
if [ "$1" = "autoconf" ]; then if [ "$1" = "autoconf" ]; then
if ! which lvs 2>/dev/null; then if ! which lvs 2>/dev/null; then