Sponsored Content
Operating Systems Linux How to split up hosts in Ganglia? Post 302383552 by jarjarb on Wednesday 30th of December 2009 06:55:39 AM
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
 

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
rrpc_inq_stats(3ncs)													      rrpc_inq_stats(3ncs)

Name
       rrpc_inq_stats - obtain statistics about a server

Syntax
       #include <idl/c/rrpc.h>

       void rrpc_$inq_stats(handle, max_stats, stats, l_stat, status)
       handle_t handle;
       unsigned long max_stats;
       rrpc_$stat_vec_t stats;
       unsigned long *l_stat;
       status_$t *status;

Arguments
       handle	 A remote procedure call (RPC) handle .

       max_stats The maximum number of elements in the array of statistics.

       stats	 An  array  of 32-bit integers representing statistics about the server.  A set of rrpc_$sv constants defines indices for the ele-
		 ments in this array.  The following list describes the statistic indexed by each rrpc_$sv constant:

		   rrpc_$sv_calls_in
			     The number of calls processed by the server.

		   rrpc_$sv_rcvd
			     The number of packets received by the server.

		   rrpc_$sv_sent
			     The number of packets sent by the server.

		   rrpc_$sv_calls_out
			     The number of calls made by the server.

		   rrpc_$sv_frag_resends
			     The number of fragments sent by the server that duplicated previous sends.

		   rrpc_$sv_dup_frags_rcvd
			     The number of duplicate fragments received by the server.

       l_stat	 The index of the last element in the returned array.

       status	 The completion status.  If the completion status returned in is equal to status_$ok , then the routine that supplied it was  suc-
		 cessful.

Description
       The routine returns an array of integer statistics about a server.

Restrictions
       On  the	client	side,  because	of the way the calls are defined and implemented in the run-time library you must explicitly call into the
       entry point vector table for the interface to send an request across the network. The following is an example  of  a  call  that  works	as
       desired:
       (*rrpc_$client_epv.rrpc_$inq_stats)(handle,
	       (unsigned long) max_stats, stats, &l_stat ,&status);

       The server sidestub routine calls the entry oint on behalf of the client.  The results of the call are then passed back to the client.

Files
See Also
       intro(3ncs)

															      rrpc_inq_stats(3ncs)
All times are GMT -4. The time now is 12:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy