testcloud: increase nagios checks running VMs limits

This commit is contained in:
Martin Krizek 2016-02-10 11:34:48 +00:00
parent 83476e0a8c
commit 1c1c66ab30

View file

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