summaryrefslogtreecommitdiffstats
path: root/remote/darksoft.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 /remote/darksoft.sh
parent5e6c83d51d0f52ecb464f137ad68f0bd1a83f5e4 (diff)
downloadconky-c8c277200169dfadf88dd176e5c056967550e059.tar.gz
conky-c8c277200169dfadf88dd176e5c056967550e059.tar.bz2
conky-c8c277200169dfadf88dd176e5c056967550e059.tar.xz
conky-c8c277200169dfadf88dd176e5c056967550e059.zip
Add remote services
Diffstat (limited to 'remote/darksoft.sh')
-rwxr-xr-xremote/darksoft.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/remote/darksoft.sh b/remote/darksoft.sh
new file mode 100755
index 0000000..5c75d7c
--- /dev/null
+++ b/remote/darksoft.sh
@@ -0,0 +1,13 @@
+#! /bin/bash
+
+. 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 "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"