← Back to team overview

touch-packages team mailing list archive

[Bug 1470009] Re: Conky does not Monitor ntp network connections

 

NTP uses UDP port 123. The pasted conky configuration doesn't monitor
any UDP ports.

Thanks

** Information type changed from Private Security to Public

** Changed in: ntp (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/1470009

Title:
  Conky does not Monitor ntp network connections

Status in ntp package in Ubuntu:
  Invalid

Bug description:
  Hi,
  again found a Problem with NTP!!!

  Now im up on 15.04 x64 with Kernel 3.19.0-21-generic
  Got fullpack new Hardware.

  I use Conky to monitor my Network now i recognize that when i Boot up
  my Lubuntu the ntpd was connecting to sync time, but conky shows only
  download rate, but not show the IPs or any othe information about this
  connection any othe connection was monitored.

  So i ran Wireshark on Startup the system, to see what is going on and
  like i say, its NTP still connecting to sync time but conky dosent
  show any information about the connection.

  So here is a Copy of my conkyrc so you be able to check what im doing
  wrong or what else the Problem come from:

  background no
  use_xft yes
  xftfont Bitstream Vera Sans Mono:size=9
  xftalpha 0.8
  update_interval 0.5
  total_run_times 0
  own_window yes
  own_window_type normal
  own_window_transparent no
  own_window_colour black
  own_window_hints skip_pager,skip_taskbar
  double_buffer yes
  minimum_size 260 5
  draw_shades no
  draw_outline no
  draw_borders no
  draw_graph_borders no
  stippled_borders 0
  border_margin 4
  border_width 0
  default_color white
  default_shade_color black
  default_outline_color black
  alignment top_right
  gap_x 12
  gap_y 8
  no_buffers yes
  uppercase no
  cpu_avg_samples 1
  net_avg_samples 1
  override_utf8_locale yes
  use_spacer yes
  mpd_host localhost
  mpd_portPort 6060
  #mpd_password 


  TEXT
  ${font Verdana:style=Bold:size=16}${color #009bf9}${alignc}${time %a %d. %b %k:%M}
  $font${color #44FF00}${alignc}$kernel
  ${color #009bf9}$stippled_hr
  ${color #009bf9}Processes:${color #44FF00} $processes  ${color #009bf9}Running:${color #44FF00}$running_processes ${color #44FF00} ${color #009bf9}Up:${color #44FF00} $uptime
  ${color #009bf9}$stippled_hr
  ${color #009bf9}CPU Temp ${color #44FF00} ${hwmon 0 temp 2}°C ${color #009bf9} MB Temp ${color #44FF00} ${hwmon 0 temp 1}°C${iconv_stop}
  ${color #009bf9}CPU Fan ${color #44FF00} ${hwmon 0 fan 1} Rpm
  ${color #009bf9}$stippled_hr
  ${color #009bf9}${voffset 5}Core1:${goto 40}${color #44FF00} ${freq_g 1}GHz ${cpu cpu1}% ${color #009bf9} ${alignr}${cpubar cpu1 6,150}
  ${color #009bf9}Core2:${goto 40}${color #44FF00} ${freq_g 2}GHz ${cpu cpu2}% ${color #009bf9} ${alignr}${cpubar cpu2 6,150}
  ${color #009bf9}Core3:${goto 40}${color #44FF00} ${freq_g 3}GHz ${cpu cpu3}% ${color #009bf9} ${alignr}${cpubar cpu3 6,150}
  ${color #009bf9}Core4:${goto 40}${color #44FF00} ${freq_g 4}GHz ${cpu cpu4}% ${color #009bf9} ${alignr}${cpubar cpu4 6,150}
  ${color #009bf9}Core5:${goto 40}${color #44FF00} ${freq_g 2}GHz ${cpu cpu5}% ${color #009bf9} ${alignr}${cpubar cpu5 6,150}
  ${color #009bf9}Core6:${goto 40}${color #44FF00} ${freq_g 3}GHz ${cpu cpu6}% ${color #009bf9} ${alignr}${cpubar cpu6 6,150}
  ${color #009bf9}Core7:${goto 40}${color #44FF00} ${freq_g 4}GHz ${cpu cpu7}% ${color #009bf9} ${alignr}${cpubar cpu7 6,150}
  ${color #009bf9}Core8:${goto 40}${color #44FF00} ${freq_g 4}GHz ${cpu cpu8}% ${color #009bf9} ${alignr}${cpubar cpu8 6,150}
  ${color #009bf9}$stippled_hr
  $font${color #009bf9}Connections${alignr}${color #009bf9}In:$color ${tcp_portmon 1 32767 count}  ${color #009bf9}Out:$color ${tcp_portmon 32768 61000 count}   ${color #009bf9}ALL:$color ${tcp_portmon 1 65535 count}
  ${color #009bf9}$stippled_hr
  ${color #009bf9}Down:${color #44FF00} ${downspeed wlan0} k/s${color #44FF00}${offset 80}${color #009bf9}Up:${color #44FF00} ${upspeed wlan0} k/s
  ${downspeedgraph wlan0 18,120 009bf9 ffffff} ${offset 40} ${upspeedgraph wlan0 18,120 009bf9 ffffff}
  ${color #009bf9}IPs:${color #44FF00} ${addr wlan0} ${offset 20}
  ${color #009bf9}$stippled_hr
  ${color #009bf9}Inbound Connection ${alignr} Local Service/Port${color #44FF00}
  ${font Monospace:size=8} ${tcp_portmon 1 32767 rip 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
   ${tcp_portmon 1 32767 rip 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
   ${tcp_portmon 1 32767 rip 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
   ${tcp_portmon 1 32767 rip 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
   ${tcp_portmon 1 32767 rip 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
   ${tcp_portmon 1 32767 rip 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
   ${tcp_portmon 1 32767 rip 6} ${alignr} ${tcp_portmon 1 32767 lservice 6}
   ${tcp_portmon 1 32767 rip 7} ${alignr} ${tcp_portmon 1 32767 lservice 7}
  $font${color #009bf9}Outbound Connection ${alignr} Remote Service/Port${color #44FF00}
  ${font Monospace:size=8} ${tcp_portmon 32768 61000 rip 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
   ${tcp_portmon 32768 61000 rip 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
   ${tcp_portmon 32768 61000 rip 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
   ${tcp_portmon 32768 61000 rip 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
   ${tcp_portmon 32768 61000 rip 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
   ${tcp_portmon 32768 61000 rip 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
   ${tcp_portmon 32768 61000 rip 6} ${alignr} ${tcp_portmon 32768 61000 rservice 6}
   ${tcp_portmon 32768 61000 rip 7} ${alignr} ${tcp_portmon 32768 61000 rservice 7}
   ${tcp_portmon 32768 61000 rip 8} ${alignr} ${tcp_portmon 32768 61000 rservice 8}
   ${tcp_portmon 32768 61000 rip 9} ${alignr} ${tcp_portmon 32768 61000 rservice 9}
   ${tcp_portmon 32768 61000 rip 10} ${alignr} ${tcp_portmon 32768 61000 rservice 10}
  ${color #009bf9}$stippled_hr
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 6} ${alignr} ${tcp_portmon 32768 61000 rservice 6}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 7} ${alignr} ${tcp_portmon 32768 61000 rservice 7}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 8} ${alignr} ${tcp_portmon 32768 61000 rservice 8}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 9} ${alignr} ${tcp_portmon 32768 61000 rservice 9}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 10} ${alignr} ${tcp_portmon 32768 61000 rservice 10}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 11} ${alignr} ${tcp_portmon 32768 61000 rservice 11}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 12} ${alignr} ${tcp_portmon 32768 61000 rservice 12}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 13} ${alignr} ${tcp_portmon 32768 61000 rservice 13}
  ${color #44FF00}${tcp_portmon 32768 61000 rhost 14} ${alignr} ${tcp_portmon 32768 61000 rservice 14}
  $font${color #009bf9}$stippled_hr

  I want Conky to show when ever NTP is connecting to a Server.

  Greetz Onimusha

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1470009/+subscriptions