diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-08-25 06:06:41 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-08-25 06:06:41 +0200 |
commit | 16e27beaa24c6c551eaa0d3e6d115017939593a1 (patch) | |
tree | 61aea994bfc76e9f0053b26a42406e456c2a962e /remote/adei.sh | |
parent | b2d1ca40d5bd1015a37cc243000b636eefc3d128 (diff) | |
download | conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.tar.gz conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.tar.bz2 conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.tar.xz conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.zip |
Support multi-reports
Diffstat (limited to 'remote/adei.sh')
-rw-r--r--[-rwxr-xr-x] | remote/adei.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/remote/adei.sh b/remote/adei.sh index d5325a6..0b5c42d 100755..100644 --- a/remote/adei.sh +++ b/remote/adei.sh @@ -1,6 +1,6 @@ #! /bin/bash -. lib/status.sh +[ -z $report ] && source lib/status.sh function check_adei { check "KaaS" "kaas" "check_service adei <host> adei-katrin.kaas.kit.edu/adei 'db_server=fpd&db_name=katrin_rep&db_group=0'" @@ -9,5 +9,6 @@ function check_adei { check "CRD" "crd" "check_service adei <host> adei.crd.yerphi.am/adei" } + print "ADEI\n" -standart_report "check_adei" +report "check_adei" |