update_interval 30 alignment top_left own_window yes own_window_transparent no own_window_type override own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_colour 21449c minimum_size 800 0 maximum_width 800 double_buffer yes background no text_buffer_size 1024 use_xft yes xftfont Bitstream Vera Sans Mono:size=9 xftalpha 0.8 #override_utf8_locale yes #font -xos4-terminus-medium-r-normal--12-120-72-72-c-60-koi8-r gap_x 600 gap_y 0 # 2 - standard width in characters # 3 - network timeout # 5 - interactive apps (xmms) # 6 - local apps # 7 - networking # 8 - ping + remote scripts template2 80 template3 2 template5 120 template6 300 template7 600 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 3632 -} lua_load /etc/conky/support.lua TEXT ${color yellow}Cluster ${hr}${lua set_width $template2}${lua set_timeout $template3} ${color white}KaaS ${goto 160}${lua_parse check_service_ kaas kaas.kit.edu 3}${color white} ${color white}KaaS/Gluster ${goto 160}${lua_parse check_service_ gluster kaas.kit.edu}${color white} ${color white}KaaS/Router ${goto 160}${lua_parse check_service_ router iperouter}${color white} ${color yellow}Servers ${hr}${lua set_width $template2}${lua set_timeout $template3} ${color white}ipepdvsrv1 ${goto 160}${lua_parse check_server_status ipepdvsrv1.ipe.kit.edu} ${color white}ipepdvsrv2 ${goto 160}${lua_parse check_server_status ipepdvsrv2.ipe.kit.edu} ${color white}katrin ${goto 160}${lua_parse check_server_status katrin.kit.edu} ${color white}ipekatrin1 ${goto 160}${lua_parse check_server_status ipekatrin1.ipe.kit.edu 22 uptime} ${color white}ipekatrin2 ${goto 160}${lua_parse check_server_status ipekatrin2.ipe.kit.edu 22 uptime} ${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 '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 }' } ${color white}Outgoing connections${color gray}: ${lua_parse conky_outcon 18 720}