summaryrefslogtreecommitdiffstats
path: root/netstat.conf
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-04 22:06:01 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-04 22:06:01 +0200
commit6db35a5230578e296d9f493b28e6330e22569c8f (patch)
tree86ccb8725d2ae1a779459e2d8c01087c07a37e58 /netstat.conf
parent78f3f37d3d8b213887fa6d47e32c5f9f05c0e299 (diff)
downloadconky-6db35a5230578e296d9f493b28e6330e22569c8f.tar.gz
conky-6db35a5230578e296d9f493b28e6330e22569c8f.tar.bz2
conky-6db35a5230578e296d9f493b28e6330e22569c8f.tar.xz
conky-6db35a5230578e296d9f493b28e6330e22569c8f.zip
Integrate also nagios-based monitoring here
Diffstat (limited to 'netstat.conf')
-rw-r--r--netstat.conf18
1 files changed, 11 insertions, 7 deletions
diff --git a/netstat.conf b/netstat.conf
index 54c1b24..96bb9f6 100644
--- a/netstat.conf
+++ b/netstat.conf
@@ -40,7 +40,7 @@ template8 900
#template0 ${if_match ${execi $template8 /etc/conky/scripts/ping.pl \1:3389} > 0}${color green}${else}${color red}${endif}*${color}
#template0 ${lua_parse check_server_status \1 3389 -}
template0 ${lua_parse check_server_status \1 22 -}
-template1 ${lua_parse check_server_status \1 3306 -}
+template1 ${lua_parse check_server_status \1 3632 -}
lua_load /etc/conky/support.lua
@@ -58,14 +58,18 @@ ${color white}ipekatrin2 ${goto 160}${lua_parse check_server_status ipekatrin2.i
${color white}ipekatrin3 ${goto 160}${lua_parse check_server_status ipekatrin3.ipe.kit.edu 22 uptime}
${color yellow}ADEI ${hr}${lua set_width $template2}${lua set_timeout $template3}
-${color white}KaaS ${goto 160}${lua_parse check_service_ adei kaas adei-katrin.kaas.kit.edu/adei 'db_server=fpd&db_name=katrin_rep&db_group=0'}${color white}
-# ${color white}ipekatrinadei ${goto 160}${lua_parse check_service_ adei katrin katrin.kit.edu/adei-katrin-orig 'db_server=fpd&db_name=katrin_rep&db_group=0'}${color white}
-${color white}pcebessadei ${goto 160}${lua_parse check_service_ adei pcebess pcebessadei.competence-e.kit.edu/adei-battery}${color white}
-${color white}ipemkmastadei ${goto 160}${lua_parse check_service_ adei imkmast imkmastadei.ka.fzk.de/adei}${color white}
-# ${color white}itepmtadei ${goto 160}${lua_parse check_service_ adei itepmt itepmtadei.itep.kit.edu/adei}${color white}
-${color white}CRD ${goto 160}${lua_parse check_service_ adei crd adei.crd.yerphi.am/adei}${color white}
+${color white}KaaS ${goto 160}${lua_parse check_service_ adei kaas 'db_server=fpd&db_name=katrin_rep&db_group=0'}${color white}
+${color white}pcebessadei ${goto 160}${lua_parse check_service_ adei pcebess}${color white}
+${color white}ipemkmastadei ${goto 160}${lua_parse check_service_ adei imkmast}${color white}
+${color white}CRD ${goto 160}${lua_parse check_service_ adei crd}${color white}
+
+${color yellow}Build Farm ${hr}${lua set_width $template2}${lua set_timeout $template3}
+#${color white}Compute4 ${goto 160}${template0 192.168.21.1} ${template1 192.168.21.1}${color white}
+${color white}Compute4 ${goto 160}${lua_parse check_service_ distcc ipepdvcompute4}${color white}
+
${lua_parse print_server_errors $template8 conky_netstat}
+
${color yellow}Network Connections ${hr}
${color white}Incomming connections${color gray}:
${execpi $template5 /etc/conky/scripts/netstat-in.sh | grep -v "android-d855cbd1c9f827d" | grep -v "pdv-time-capsule-2.ipe.kit.edu" | awk -e '{ print "${goto 18}", $1, "${goto 720} to", $2 }' }