How to split up hosts in Ganglia?


 
Thread Tools Search this Thread
Operating Systems Linux How to split up hosts in Ganglia?
# 1  
Old 12-17-2009
How to split up hosts in Ganglia?

I have 3 server 'farms': prod, staging, and qa. I have Ganglia setup and gathering stats fine, but I want to separate the 3 server farms using the same Ganglia server. How can I do this?

Any input would be appreciated!
-KBS
# 2  
Old 12-30-2009
split host in ganglia

Hey there.
you should create 3 different clinet files and edit the server conf file.

in client file: /etc/gmond.conf

change the name of the cluster ( prod, staging, qa ) and the port (8691,8692,8693)
copy client conf file to each correspoing client,and run:
/sbin/service gmond restart

change:
cluster {
name = "prod"
owner = "yourname"
latlong = "unspecified"
url = "unspecified"
}

udp_send_channel {
mcast_join = 239.2.11.71
port = 8691
ttl = 1
}
udp_recv_channel {
mcast_join = 239.2.11.71
port = 8691
bind = 239.2.11.71
}
tcp_accept_channel {
port = 8691
}

in client file: /etc/ganglia/gmetad.conf

add the data_source for of the each cluster ( prod, staging, qa ) and the port (8691,8692,8693) with at least one clinet from that farm.

data_source "prod" 10 prod-client-hostname:8691
data_source "staging" 10 staging-client-hostname:8692
data_source "qa" 10 qa-client-hostname:8693

once you changed the server file run:
/sbin/service gmetad restart

now, refresh the web client....

enjoy
-J
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Solaris

How to copy a tar file on a series of remote hosts and untar it on those hosts?

Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh. Actions to perform within a single ssh session via shell script - copy a file - untar at destination (remote host) OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
3 Replies

2. Infrastructure Monitoring

ganglia with one server and one client

HeY till now i configured ganglia3.1.7 on rhel for localhost monitoring traffic evrything was ok but now i want another system in my lan for load moniotring I installed gmond &gmond-python on it biut i face this log error on system 1 Sep 7 16:01:58 HAPROXY1 /usr/sbin/gmond: Can't call... (2 Replies)
Discussion started by: rrwww
2 Replies

3. AIX

aix tcp wrappers hosts.allow hosts.deny?

hi all just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box. it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames. the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies

4. UNIX and Linux Applications

Ganglia config

Hello all I have a concept anderstanding problem with Ganglia. I have one server ubuntu where I install gmetad and web server + apache and php. Then I have the web interface up and running. I have several nodes to monitor, so I install gmond in each one. The problem I have is to know what IP... (0 Replies)
Discussion started by: ldiaz2106
0 Replies

5. UNIX for Dummies Questions & Answers

Hosts.allow and hosts.deny

Hello everyone, This is my first posts and I did search for a questions but did not find a question that answered my question unless of course I overlooked it. I'm running Solaris 8. I use ssh for the users but I have a user called "chatterbox" that uses telnet but I need for chatterbox to... (1 Reply)
Discussion started by: huddlestonsnk
1 Replies

6. UNIX for Dummies Questions & Answers

hosts.allow & hosts.deny

Hi! Im trying to use host.allow & host.deny to resrtic access to my sun machine, but it doesnt seem to work... I want to allow full access from certain IPīs (ssh,http,ftp,etc...) but deny all kind of conections from outsideworld, the way that im doing that is: hosts.allow ALL:127.0.0.1... (2 Replies)
Discussion started by: Sorrento
2 Replies
Login or Register to Ask a Question