mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-02 06:08:23 +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
|
@ -4,8 +4,8 @@
|
|||
#
|
||||
# Author: Šarūnas Burdulis, sarunas(a)mail.saabnet.com, 2008
|
||||
#
|
||||
# Runs 'condor_status' and counts virtual machines by their
|
||||
# reported Condor "activity" (Idle, Busy, Suspended, Vacating, Benchmarking).
|
||||
# Runs 'condor_status' and counts virtual machines by their
|
||||
# reported Condor "activity" (Idle, Busy, Suspended, Vacating, Benchmarking).
|
||||
#
|
||||
# Parameters understood:
|
||||
#
|
||||
|
@ -18,7 +18,7 @@
|
|||
# env.condor_status - Path to condor_status executable,
|
||||
# defaults to /usr/local/condor/bin/condor_status
|
||||
# env.constraint - Condor ClassAds constraint(s), as they are
|
||||
# specified on the condor_status command line. For example,
|
||||
# specified on the condor_status command line. For example,
|
||||
# to monitor 64-bit Linux nodes set:
|
||||
# env.constraint 'arch=="x86_64" && opsys=="linux"'
|
||||
#
|
||||
|
@ -49,7 +49,7 @@ if [ ! -z "$constraint" ]; then
|
|||
else
|
||||
CONS=
|
||||
fi
|
||||
|
||||
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
echo "no"
|
||||
exit 1
|
||||
|
@ -73,7 +73,7 @@ if [ "$1" = "config" ]; then
|
|||
echo "idl.label Idle"
|
||||
echo "idl.draw AREA"
|
||||
echo "idl.type GAUGE"
|
||||
echo "idl.info Idle VMs"
|
||||
echo "idl.info Idle VMs"
|
||||
echo "bus.label Busy"
|
||||
echo "bus.draw STACK"
|
||||
echo "bus.type GAUGE"
|
||||
|
@ -94,12 +94,12 @@ if [ "$1" = "config" ]; then
|
|||
fi
|
||||
|
||||
echo -n "idl.value "
|
||||
eval $CS $CONS | grep Idle | wc -l
|
||||
eval $CS $CONS | grep Idle | wc -l
|
||||
echo -n "bus.value "
|
||||
eval $CS $CONS | grep Busy | wc -l
|
||||
eval $CS $CONS | grep Busy | wc -l
|
||||
echo -n "sus.value "
|
||||
eval $CS $CONS | grep Suspended | wc -l
|
||||
eval $CS $CONS | grep Suspended | wc -l
|
||||
echo -n "vac.value "
|
||||
eval $CS $CONS | grep Vacating | wc -l
|
||||
eval $CS $CONS | grep Vacating | wc -l
|
||||
echo -n "ben.value "
|
||||
eval $CS $CONS | grep Benchmarking | wc -l
|
||||
eval $CS $CONS | grep Benchmarking | wc -l
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue