summaryrefslogtreecommitdiffstats
path: root/remote/darksoft.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-25 06:06:41 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-25 06:06:41 +0200
commit16e27beaa24c6c551eaa0d3e6d115017939593a1 (patch)
tree61aea994bfc76e9f0053b26a42406e456c2a962e /remote/darksoft.sh
parentb2d1ca40d5bd1015a37cc243000b636eefc3d128 (diff)
downloadconky-16e27beaa24c6c551eaa0d3e6d115017939593a1.tar.gz
conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.tar.bz2
conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.tar.xz
conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.zip
Support multi-reports
Diffstat (limited to 'remote/darksoft.sh')
-rw-r--r--[-rwxr-xr-x]remote/darksoft.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/remote/darksoft.sh b/remote/darksoft.sh
index 5c75d7c..f8f6949 100755..100644
--- a/remote/darksoft.sh
+++ b/remote/darksoft.sh
@@ -1,13 +1,13 @@
#! /bin/bash
-. lib/status.sh
+[ -z $report ] && source lib/status.sh
function check_darksoft {
- check "DarkSoft" "darksoft.org" "check_server_status <host> vpn/192.168.21.1" "check_server_ traffic <host> 20 5"
+ check "DarkSoft" "darksoft.org" "check_server_status <host> vpn/192.168.21.1" "check_server_ traffic <host> 20 50"
check "Suren.me" "suren.me" "check_server_status <host>"
check "Serv4" "serv4.suren.me" "check_server_status <host> vpn/192.168.24.1" "check_server_ traffic <host> 5 10"
check "Suren/KIT" "suren.data.kit.edu:24" "check_server_status <host> vpn/192.168.15.1" "check_server_ traffic <host> 50 100"
}
print "DarkSoft Systems\n"
-standart_report "check_darksoft" # "cat | print_table | column -t -o ' ' | decorate_table"
+report "check_darksoft" # "cat | print_table | column -t -o ' ' | decorate_table"