Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

ganglia

Harald Schilly edited this page Aug 30, 2015 · 1 revision

The following are effective configuration settings, i.e. these are the diffs against the default settings.

master lmfdb

/etc/ganglia/gmetad.conf

data_source "Number Theory" 192.168.122.1:8649
RRAs "RRA:AVERAGE:0.5:1:40000" "RRA:AVERAGE:0.5:4:40160" "RRA:AVERAGE:0.5:40:52704"

/etc/ganglia/gmond.conf

ganglia/gmond.conf
/* This configuration is as close to 2.5.x default behavior as possible 
   The values closely match ./gmond/metric.h definitions in 2.5.x */ 
globals {                    
  daemonize = yes              
  setuid = yes             
  user = ganglia              
  debug_level = 0               
  max_udp_msg_len = 1472        
  mute = no             
  deaf = no             
  host_dmax = 0 /*secs */ 
  cleanup_threshold = 300 /*secs */ 
  gexec = no             
  send_metadata_interval = 0     
} 

/* If a cluster attribute is specified, then all gmond hosts are wrapped inside 
 * of a <CLUSTER> tag.  If you do not specify a cluster tag, then all <HOSTS> will 
 * NOT be wrapped inside of a <CLUSTER> tag. */ 
cluster { 
  name = "Number Theory" 
  owner = "" 
  latlong = "" 
  url = "" 
} 

/* 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 { 
  # mcast_join = 239.2.11.71 
  host = 137.205.56.254
  port = 8649 
  ttl = 1 
} 
/* 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 = 137.205.56.254
} 

ganglia client

attention: set them to being deaf, otherwise 100% cpu!

/etc/ganglia/gmond.conf

globals {                    
  daemonize = yes              
  setuid = yes             
  user = ganglia              
  debug_level = 0               
  max_udp_msg_len = 1472        
  mute = no             
  deaf = yes
  host_dmax = 0 /*secs */ 
  cleanup_threshold = 300 /*secs */ 
  gexec = no             
  send_metadata_interval = 0     
} 

cluster { 
  name = "Number Theory" 
  owner = "" 
  latlong = "" 
  url = "" 
} 

/* 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 { 
  # mcast_join = 239.2.11.71 
  host =  137.205.56.254
  port = 8649 
  ttl = 1 
} 

/* 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 
} 
*/
Clone this wiki locally