summaryrefslogtreecommitdiffstats
path: root/archive/netstat.conf.adei
diff options
context:
space:
mode:
Diffstat (limited to 'archive/netstat.conf.adei')
-rw-r--r--archive/netstat.conf.adei91
1 files changed, 91 insertions, 0 deletions
diff --git a/archive/netstat.conf.adei b/archive/netstat.conf.adei
new file mode 100644
index 0000000..a2010b0
--- /dev/null
+++ b/archive/netstat.conf.adei
@@ -0,0 +1,91 @@
+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 3306 -}
+
+lua_load /etc/conky/support.lua
+
+TEXT
+${color yellow}KIT ${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}ipepdvcompute1 ${goto 160}${lua_parse check_server_status ipepdvcompute1.ipe.kit.edu}
+${color white}ipepdv ${goto 160}${lua_parse check_server_status ipepdv.ipe.kit.edu 22 adei}${color white}
+ ${color cyan}Office ${color white}: ${lua_parse check_adei_source ipepdv.ipe.kit.edu 22 adei rrd rrd office}
+# ${color cyan}Virtual Server ${color white}: ${lua_parse check_adei_source ipepdv.ipe.kit.edu 22 adei rrd rrd ipepdvsrv1}
+# ${color cyan}Katrin Server ${color white}: ${lua_parse check_adei_source ipepdv.ipe.kit.edu 22 adei rrd rrd ipekatrinadei}
+# ${color cyan}Compute Server ${color white}: ${lua_parse check_adei_source ipepdv.ipe.kit.edu 22 adei rrd rrd ipepdvcompute1}
+# ${color cyan}UFO Server ${color white}: ${lua_parse check_adei_source ipepdv.ipe.kit.edu 22 adei rrd rrd ufosrv1}
+# ${color cyan}Tango ${color white}: ${lua_parse check_adei_source ipepdv.ipe.kit.edu 22 adei tango tango hdb .*}
+${color white}ipekatrinadei ${goto 160}${lua_parse check_server_status katrin.kit.edu 22 adei}${color white}
+ ${color cyan}FPD ${color white}: ${lua_parse check_adei_source katrin.kit.edu 22 adei katrin fpd katrin_rep}
+ ${color cyan}MOS/ZEUS ${color white}: ${lua_parse check_adei_source katrin.kit.edu 22 adei katrin mos Monitorspeczeus_rep}
+ ${color cyan}MOS/OPC ${color white}: ${lua_parse check_adei_source katrin.kit.edu 22 adei katrin mos0 MonitorSpec_rep HV}
+ ${color cyan}Air Coils ${color white}: ${lua_parse check_adei_source katrin.kit.edu 22 adei katrin aircoils aircoils_rep}
+ ${color cyan}Magnetometer ${color white}: ${lua_parse check_adei_source katrin.kit.edu 22 adei katrin magnetometer0 dbMagnet-archive_rep}
+# ${color cyan}Control System ${color white}: ${lua_parse check_adei_source katrin.kit.edu 22 adei katrin cs0 ControlSystem_rep .*}
+${color white}ikkatrinadei ${goto 160}${lua_parse check_server_status 192.168.110.67 22 adei}${color white}
+ ${color cyan}FPD ${color white}: ${lua_parse check_adei_source 192.168.110.67 22 adei detector detector katrin}
+ ${color cyan}MOS ${color white}: ${lua_parse check_adei_source 192.168.110.67 22 adei detector monitorspec monitorspec}
+ ${color cyan}Air Coils ${color white}: ${lua_parse check_adei_source 192.168.110.67 22 adei detector aircoils aircoils}
+${color white}imkmastadei ${goto 160}${lua_parse check_server_status imkmastadei.ka.fzk.de 22 adei}${color white}
+ ${color cyan}Weather Tower ${color white}: ${lua_parse check_adei_source imkmastadei.ka.fzk.de 22 adei wt mast Mastdaten_rep '.*(Licor|Sonic|Calc|Archive)'}
+#${color white}cube-router${goto 160}${lua_parse check_server_status cube-router.ipe.kit.edu 24 adei}${color white}
+# ${color cyan}KIT Cube ${color white}: ${lua_parse check_adei_source cube-router.ka.fzk.de 24 adei kitcube kitcube kitcube_actual .*}
+${color white}itepmtadei ${goto 160}${lua_parse check_server_status itepmtadei.itep.kit.edu 22 adei}${color white}
+ ${color cyan}TOSKA ${color white}: ${lua_parse check_adei_source itepmtadei.itep.kit.edu 22 adei toska toska \\#1 .*}
+${color white}pcebessadei ${goto 160}${lua_parse check_server_status pcebessadei.competence-e.kit.edu 22 adei}${color white}
+ ${color cyan}BESS50 ${color white}: ${lua_parse check_adei_source pcebessadei.competence-e.kit.edu 22 adei battery battery \\#1 .*}
+ ${color cyan}BESS32/Socket ${color white}: ${lua_parse check_adei_source pcebessadei.competence-e.kit.edu 22 adei battery bess32-ac-sock \\#1 .*}
+ ${color cyan}BESS32/MDF ${color white}: ${lua_parse check_adei_source pcebessadei.competence-e.kit.edu 22 adei battery bess32-ac-mdf \\#1 .*}
+ ${color cyan}BESS32/MDF ${color white}: ${lua_parse check_adei_source pcebessadei.competence-e.kit.edu 22 adei battery bess32-ac-mdf \\#1 .*}
+ ${color cyan}PV1000 ${color white}: ${lua_parse check_adei_source pcebessadei.competence-e.kit.edu 22 adei battery pvcn1000 \\#1 .*}
+ ${color cyan}Weather ${color white}: ${lua_parse check_adei_source pcebessadei.competence-e.kit.edu 22 adei battery mast Mastdaten_rep .*}
+#${color white}Tango${goto 160}${template1 ipepdvtango2.ipe.kit.edu}
+${color white}IpeCube ${goto 160}${template0 ipecube.ipe.kit.edu}${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 }' }
+#${lua_parse conky_eval $${lua_parse multiply_line ${tcp_portmon 1 32767 count} $${goto 18}$${tcp_portmon 1 32767 rhost @i@}:$${tcp_portmon 1 32767 rport @i@}$${goto 720}to$${offset 18} $${tcp_portmon 1 32767 lport @i@}}}
+${color white}Outgoing connections${color gray}:
+#${lua_parse conky_eval $${lua_parse multiply_line ${tcp_portmon 32768 65535 count} $${goto 18}$${tcp_portmon 32768 65535 rhost @i@}:$${tcp_portmon 32768 65535 rport @i@}$${goto 400}from $${tcp_portmon 32768 65535 lport @i@}}}
+${lua_parse conky_outcon 18 720}