summaryrefslogtreecommitdiffstats
path: root/service/check_kaas.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-25 03:49:35 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-25 03:49:35 +0200
commitc8c277200169dfadf88dd176e5c056967550e059 (patch)
treeec1a519ef550c2206c7863503627388e343778a3 /service/check_kaas.sh
parent5e6c83d51d0f52ecb464f137ad68f0bd1a83f5e4 (diff)
downloadconky-c8c277200169dfadf88dd176e5c056967550e059.tar.gz
conky-c8c277200169dfadf88dd176e5c056967550e059.tar.bz2
conky-c8c277200169dfadf88dd176e5c056967550e059.tar.xz
conky-c8c277200169dfadf88dd176e5c056967550e059.zip
Add remote services
Diffstat (limited to 'service/check_kaas.sh')
-rwxr-xr-xservice/check_kaas.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/check_kaas.sh b/service/check_kaas.sh
index 792cf55..546bef5 100755
--- a/service/check_kaas.sh
+++ b/service/check_kaas.sh
@@ -29,7 +29,7 @@ if [ $healthy -ne 0 ]; then
ready=$(echo "$nodes" | grep Ready | wc -l)
active=$(echo "$nodes" | grep Ready | grep -vi SchedulingDisabled | wc -l)
if [ $ready -ge $e_nodes ]; then
- nodes=" / \${color gray}$etcd etcd, $ready nodes"
+ nodes=" \${color gray}/ $etcd etcd, $ready nodes"
if [ $active -ne $ready ]; then
nodes="$nodes ($active active)"
fi
@@ -37,7 +37,7 @@ if [ $healthy -ne 0 ]; then
echo "$nodes" | grep -v "STATUS" | grep -v "Ready" | awk '{ print $1, $2 }' | sed 's/^/* /'
offline=$(echo "$nodes" | grep -v "STATUS" | grep -v "Ready" | wc -l)
- nodes=" / \${color gray}$etcd etcd, $ready ready, $offline offline"
+ nodes=" \${color gray}/ $etcd etcd, $ready ready, $offline offline"
healthy=2
fi
fi