check_testcloud: proper syntax helps

This commit is contained in:
Martin Krizek 2016-02-16 16:27:40 +00:00
parent b8eb69d20f
commit 66645c1a6f

View file

@ -1,8 +1,8 @@
#!/bin/bash
RUNNING_VMS=`testcloud instance list | grep -i 'running' | wc -l`
$CRITICAL=20
$WARNING=15
CRITICAL=20
WARNING=15
if [ $RUNNING_VMS -gt $CRITICAL ]