- 论坛徽章:
- 4
|
大家好,请教一个 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
}
|
|