Variables are case sensitive
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
b51369be69
commit
47532ab615
1 changed files with 3 additions and 3 deletions
|
@ -7,13 +7,13 @@ $WARNING=4
|
||||||
|
|
||||||
if [ $RUNNING_VMS -gt $CRITICAL ]
|
if [ $RUNNING_VMS -gt $CRITICAL ]
|
||||||
then
|
then
|
||||||
echo "Testcloud: CRITICAL Number of VMs running: $running_vms"
|
echo "Testcloud: CRITICAL Number of VMs running: $RUNNING_VMS"
|
||||||
exit 2
|
exit 2
|
||||||
elif [ $RUNNING_VMS -gt $WARNING ]
|
elif [ $RUNNING_VMS -gt $WARNING ]
|
||||||
then
|
then
|
||||||
echo "Testcloud: WARNING Number of VMs running: $running_vms"
|
echo "Testcloud: WARNING Number of VMs running: $RUNNING_VMS"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "Testcloud: OK Number of VMs running: $running_vms"
|
echo "Testcloud: OK Number of VMs running: $RUNNING_VMS"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue