歡迎您光臨本站 註冊首頁

ganglia 監控不同 網段伺服器 只監控gmated隻身的網段

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

ganglia 監控不同 網段伺服器 只監控gmated隻身的網段

大家好,請教一個 ganglia跨vlan 監控服務的問題 ?
現在 A 網段 的都能監控到 , B 網段的伺服器一台 也找不到?

A 網段  10.145.247.0/24 ;B 網段  10.109.194.0/24

這台是伺服器 10.145.247.23 安裝了 apache gmetad  gmond

10.145.27.23這個只做了data_source的修改:
gmetad.conf
# data_source "another source" 1.3.4.7:8655  1.3.4.8

data_source "hnt" localhost 10.109.194.118:8469






10.109.194.118 的增加了host 欄位
gmond.conf
cluster {
  name = "hnt"
  owner = "hnt group"
  latlong = "unspecified"
  url = "unspecified"
}

/* The host section describes attributes of the host, like the location */
host {
  location = "unspecified"
}

/* Feel free to specify as many udp_send_channels as you like.  Gmond
   used to only support having a single channel */
udp_send_channel {
  #bind_hostname = yes # Highly recommended, soon to be default.
                       # This option tells gmond to use a source address
                       # that resolves to the machine's hostname.  Without
                       # this, the metrics may appear to come from any
                       # interface and the DNS names associated with
                       # those IPs will be used to create the RRDs.
#  mcast_join = 239.2.11.71
host = 10.145.247.23
port = 8649
  ttl = 3
}

/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel {
#  mcast_join = 239.2.11.71
  port = 8649
#  bind = 239.2.11.71
  retry_bind = true
}

/* You can specify as many tcp_accept_channels as you like to share
   an xml description of the state of the cluster */
tcp_accept_channel {
  port = 8649
}
《解決方案》

自己頂下 ,求大神~!
《解決方案》

還沒有 解決。各位有人看看 ~~~~~~!
《解決方案》

在頂~~~~~~~~~~!
《解決方案》

都沒有人看啊 `~~~~~~!
《解決方案》

親,ganglia 技術比較新,自己研究下吧,

[火星人 ] ganglia 監控不同 網段伺服器 只監控gmated隻身的網段已經有1265次圍觀

http://coctec.com/docs/service/show-post-77.html