Hi Lawrence,
--- [EMAIL PROTECTED] wrote:
> Hi:
>
> My gmetad host is a double NIC machine that runs gmonds and servers
> as the head node to on cluster. Gmond runs on the workers nodes.
> I cannot get the webfrontend to display statistics for the worker
> nodes.
>
Do you get any error messages in your webservers logfiles? Is the
webserver the same as the gmetad server?
> From the gmetad host I can successfully get output from: telnet node1
> 8649, where node1 is a worker node.
>
This sounds good. "gmetad" is basically doing the same.
On the host running the webserver, can you try to connect to gmetad.
There are two ports. The XML port (default 8651) and the "interactive"
port (default 8652) that the webfrontend uses.
$telnet gmetad-host 8651
$telnet gmetad-host 8652
quit
> Here is my gmond.conf file:
>
> /* global variables */
> globals {
> mute = "no"
> deaf = "no"
> debug_level = "0"
> setuid = "yes"
> user="nobody"
> gexec = "yes"
> host_dmax = "3600"
> }
>
> /* info about cluster */
> cluster {
> name = "XXXXX"
> owner = "XXXX"
> latlong = "N37.0303 W76.34"
> url="http://xxx.xxx.xxx/web"
> }
>
> /* info about host */
> host {
> location = "HHHHHHHHHHHH"
> }
>
> /* channel to send multicast on mcast_channel:mcast_port */
> udp_send_channel {
> mcast_join = "239.2.11.71"
> port = "8649"
> ttl="1"
> /* mcast_if = "eth1" */
> }
>
> /* channel to receive multicast from mcast_channel:mcast_port */
> udp_recv_channel {
> mcast_join = "239.2.11.71"
> port = "8649"
> bind = "239.2.11.71"
> /* mcast_if = "eth1" */
> }
>
> /* channel to export xml on xml_port */
> tcp_accept_channel {
> port = "8649"
> /* your trusted_hosts assuming ipv4 mask*/
> acl{
> default="deny"
> access {
> ip="10.1.1.0"
> mask = 24
> action = "allow"
> }
> access {
> ip="xxx.xxx.xxx.xxx"
> mask = 32
> action = "allow"
> }
> }
> }
> ..
> ..
> ..
>
> Is it best to use unicast here? I don't understand why this wont
> work.
> Thanks
>
Hard to what is better. How big is your cluster? Multicast will likely
create more traffic than unicast. Also some switches create trouble for
multicast.
Cheers
Martin
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de