summaryrefslogtreecommitdiffstats
path: root/sysinfo.conf
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-04-16 10:30:15 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-04-16 10:30:15 +0200
commit55783753ae8f2d857a7225b7a93c1d47039e5a90 (patch)
treee077b61b0f004141712e7d16876f9c19175ac681 /sysinfo.conf
downloadconky-55783753ae8f2d857a7225b7a93c1d47039e5a90.tar.gz
conky-55783753ae8f2d857a7225b7a93c1d47039e5a90.tar.bz2
conky-55783753ae8f2d857a7225b7a93c1d47039e5a90.tar.xz
conky-55783753ae8f2d857a7225b7a93c1d47039e5a90.zip
OpenShift monitoring
Diffstat (limited to 'sysinfo.conf')
-rw-r--r--sysinfo.conf109
1 files changed, 109 insertions, 0 deletions
diff --git a/sysinfo.conf b/sysinfo.conf
new file mode 100644
index 0000000..d34a79b
--- /dev/null
+++ b/sysinfo.conf
@@ -0,0 +1,109 @@
+update_interval 5
+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
+
+double_buffer yes
+background no
+minimum_size 450 0
+maximum_width 450
+
+#cpu_avg_samples 1
+#net_avg_samples 1
+
+use_xft yes
+xftfont DejaVu Sans Mono:size=9
+xftalpha 0.8
+override_utf8_locale yes
+
+gap_x 100
+gap_y 0
+
+show_graph_scale yes
+#draw_borders yes
+#border_margin 1
+#border_width 3
+#default_color gray
+
+lua_load /etc/conky/support.lua
+
+# 2 - standard width in characters
+# 3 - network timeout
+# 5 - interactive apps (xmms)
+# 6 - local apps
+# 7 - networking
+# 8 - ping + remote scripts
+template2 45
+template3 2
+template5 120
+template6 300
+template7 600
+template8 600
+
+#template0 ${if_match ${execi ${template8} /etc/conky/scripts/ping.pl \1} > 0}${color green}${else}${color red}${endif}*${color}
+template0 ${lua_parse check_server_status \1 22 -}
+
+#Servers checked once a minute
+#Scale for I/O ~ 50 MB (looks like in kilobits)
+#Scale for Net ~ 1 MB/s (looks like in kilobytes)
+
+TEXT
+${font DejaVu Sans Mono:size=11}${color orange}$nodename ${time %H:%M:%S}${color white}${font}, $uptime_short up
+$sysname $kernel, $machine $freq_g GHz
+$hr
+${color yellow}CPU Load${color white}: ${cpu cpu0}% ${color gray}(6 cores, average)
+#${color white}${cpugraph cpu0 32,220 00ff00 00ff00} ${cpugraph cpu1 32,220 00ff00 00ff00}
+${color white}${cpugraph cpu1 32,143 00ff00 00ff00} ${cpugraph cpu2 32,143 00ff00 00ff00} ${cpugraph cpu3 32,143 00ff00 00ff00}
+${color white}${cpugraph cpu4 32,143 00ff00 00ff00} ${cpugraph cpu5 32,143 00ff00 00ff00} ${cpugraph cpu6 32,143 00ff00 00ff00}
+${color yellow}RAM Usage :$color $memperc% ($mem of $memmax)
+${color green}${membar}
+${color yellow}Swap Usage:$color $swapperc% ($swap of $swapmax)
+${color green}${swapbar}
+${color yellow}I/O Read${color white} : ${diskio_read}${goto 235}${color yellow}I/O Write${color white} : ${diskio_write}
+${color white}${diskiograph_read 32,220 00ff00 00ff00 409600} ${diskiograph_write 32,220 00ff00 00ff00 409600}
+${color gray}${goto 0}${diskio sda}${goto 120}${diskio sdb}${goto 235}${diskio sdc}${goto 355}${diskio sdd}
+
+${color grey}root $color${fs_free /} of ${fs_size /} ${goto 250}${fs_bar 6 /}
+${color grey}raid $color${fs_free /mnt/raid} of ${fs_size /mnt/raid} ${goto 250}${fs_bar 6 /mnt/raid}
+${color grey}rest $color${fs_free /mnt/image} of ${fs_size /mnt/image} ${goto 250}${fs_bar 6 /mnt/image}
+${color grey}fast $color${fs_free /mnt/fast} of ${fs_size /mnt/fast} ${goto 250}${fs_bar 6 /mnt/fast}
+${color white}$hr${lua set_width $template2}${lua set_timeout $template3}
+${color yellow}Host${color white} : ${lua filter_real_ip br0}
+${color yellow}Connections${color white}: ${color gray}in ${color white}${tcp_portmon 1 32767 count}${color white}, ${color gray}out ${color white}${tcp_portmon 32768 65535 count}${color}
+${color yellow}Received${color white} : ${downspeed eth0}${color yellow}${goto 235}Sent${color white}: ${upspeed eth0}
+${color white}${downspeedgraph eth0 32,220 00ff00 00ff00 1024} ${upspeedgraph eth0 32,220 00ff00 00ff00 1024}
+${color white}DarkSide ${lua_parse check_server_status darksoft.org} ${template0 192.168.21.1} ${color grey}$color ${downspeed tun0} ${color grey} ${goto 300}$color ${upspeed tun0}
+#${color white}Serv2 ${lua_parse check_server_status serv2.suren.me} ${template0 192.168.22.1} ${color grey}$color ${downspeed tun2} ${color grey} ${goto 300}$color ${upspeed tun2}
+${color white}Serv4 ${lua_parse check_server_status serv4.suren.me} ${template0 192.168.24.1} ${color grey}$color ${downspeed tun3} ${color grey} ${goto 300}$color ${upspeed tun3}
+${color white}FZK/Suren ${lua_parse check_server_status suren.fzk.de 24} ${template0 192.168.15.1} ${color grey}$color ${downspeed tun1} ${color grey} ${goto 300}$color ${upspeed tun1}
+${color white}FZK/Serv ${lua_parse check_server_status 192.168.26.120}
+#${color white}Yerevan ${template0 217.113.10.181} ${color grey}* ${color grey}$color ${downspeed ppp0} ${color grey} ${goto 300}$color ${upspeed ppp0}
+#${color white}Yerevan ${template0 217.113.10.181} ${template0 192.168.24.106} ${color grey}$color ${downspeed ppp0} ${color grey} ${goto 300}$color ${upspeed ppp0}
+${color white}Virtual ${color grey}$color ${downspeed vlan0} ${color grey} ${goto 300}$color ${upspeed vlan0}
+${color yellow}Routing ${lua_parse check_server_status google.de 80 -}
+${color white}DarkSide ${lua_parse check_server_ traffic darksoft.org 22 5 10}
+#${color white}Serv2 ${lua_parse check_server_ traffic serv2.suren.me 22 5 10}
+${color white}Serv4 ${lua_parse check_server_ traffic serv4.suren.me 22 5 10}
+${color white}FZK/Suren ${lua_parse check_server_ traffic suren.fzk.de 24}${color white}${lua_parse print_server_errors $template8 conky_sysinfo}
+${hr}
+${color yellow}Processes :$color $processes ${color grey}Running:$color $running_processes
+${font DejaVu Sans Mono:size=8}${color yellow}CPU usage PID CPU% MEM% IO%
+${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top io_perc 1}
+${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${top io_perc 2}
+${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${top io_perc 3}
+${color yellow}Mem usage PID CPU% RSS VMEM
+${color lightgrey} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1}${goto 300}${top_mem mem_res 1}${goto 375}${top_mem mem_vsize 1}
+${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2}${goto 300}${top_mem mem_res 2}${goto 375}${top_mem mem_vsize 2}
+${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3}${goto 300}${top_mem mem_res 3}${goto 375}${top_mem mem_vsize 3}
+${color yellow}I/O usage PID CPU% Read Write
+${color lightgrey} ${top_io name 1} ${top_io pid 1} ${top_io cpu 1}${goto 300}${top_io io_read 1}${goto 375}${top_io io_write 1}
+${color lightgrey} ${top_io name 2} ${top_io pid 2} ${top_io cpu 2}${goto 300}${top_io io_read 2}${goto 375}${top_io io_write 2}
+${color lightgrey} ${top_io name 3} ${top_io pid 3} ${top_io cpu 3}${goto 300}${top_io io_read 3}${goto 375}${top_io io_write 3}
+#${font}$hr
+#${execi $template6 fortune -s | fold -s -w$template2}
+
+#${color yellow}Xmms : ${color white}${execi $template5 xmmsctrl title | iconv -f KOI8-R -t UTF-8 }