Hi Fabio,

You can change default RRD storage settings? in

common-services/GANGLIA/3.5.0/package/files/gmetadLib.sh? line 120 before 
ganglia server start


If you want to change sampling rate to 5 second, you would have

?

RRAs "RRA:AVERAGE:0.5:1:732" "RRA:AVERAGE:0.5:24:244" "RRA:AVERAGE:0.5:168:244" 
"RRA:AVERAGE:0.5:672:244" \
     "RRA:AVERAGE:0.5:5760:374"


instead of


RRAs "RRA:AVERAGE:0.5:1:244" "RRA:AVERAGE:0.5:24:244" "RRA:AVERAGE:0.5:168:244" 
"RRA:AVERAGE:0.5:672:244" \
     "RRA:AVERAGE:0.5:5760:374"


RRA:AVERAGE:0.5:1:732? means 732 samples per 1 hour




BR,


Dmytro sen





________________________________
From: Fabio C. <[email protected]>
Sent: Monday, March 02, 2015 8:41 AM
To: [email protected]
Subject: Permanent changes to Ganglia config (how to)

Hi everyone,

I was trying to change the Ganglia sampling rate (let's say from 15 to 5 
seconds). I made some changes on the ambari-server node in the file 
/etc/ganglia/hdp/gmetad.conf but, when I restart the Ganglia service in Ambari, 
it is reverted to the original one.
Then I modified the file /usr/libexec/hdp/ganglia/gmetadLib.sh, which looks 
like the generator of the gmetad.conf, but even this file is then reverted to 
the original one.

How can I make a permanent change to the gmetad.conf? Will this changes be 
broadcasted to all the other nodes?

Thanks a lot

Fabio

Reply via email to