mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -3,7 +3,7 @@
|
|||
# Plugin to monitor the % of allocated area of a LVM snapshot
|
||||
#
|
||||
# Parameters:
|
||||
#
|
||||
#
|
||||
# config
|
||||
# autoconf
|
||||
#
|
||||
|
@ -12,7 +12,7 @@
|
|||
#
|
||||
#%# family=auto
|
||||
#%# capabilities=autoconf
|
||||
#
|
||||
#
|
||||
# 2011/05/20 - pmoranga - initial version
|
||||
#
|
||||
# 2012/01/27 - Sébastien Gross
|
||||
|
@ -35,7 +35,7 @@ fi
|
|||
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
echo 'graph_title Allocated space for snapshot'
|
||||
echo 'graph_title Allocated space for snapshot'
|
||||
echo 'graph_vlabel %'
|
||||
echo 'graph_category disk'
|
||||
echo 'graph_args -l 0 -u 100 -r'
|
||||
|
@ -48,7 +48,7 @@ ${lvdisplay} -C | awk '$3 ~ /^s/{print}' | while read line; do
|
|||
origin="$(echo $line | awk '{print $5}')"
|
||||
origin="$(clean_fieldname "$origin")"
|
||||
percent="$(echo $line | awk '{print $6}')"
|
||||
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
echo "$id.label $name snapshot of $origin"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue