1 2 3 4 5 6 7 8 9 10 11 12 13 14
#! /bin/bash [ -z $report ] && source lib/remote/status.sh function check_adei { check "KaaS" "kaas" "check_service adei <host> 'db_server=fpd&db_name=katrin_rep&db_group=0'" check "BESS" "pcebess" "check_service adei <host>" check "IMK" "imkmast" "check_service adei <host>" check "CRD" "crd" "check_service adei <host>" } print "ADEI\n" report "check_adei"