Thanks a lot for the hint. Now we believe Ganglia is using the new config file, but the sampling rate is still 15 seconds. Maybe I will ask to the Ganglia team for this.
Regards Fabio On Mon, Mar 2, 2015 at 7:23 PM, Yusaku Sako <[email protected]> wrote: > Hi Fabio, > > Since Ambari manages these files, you need to make modifications to > corresponding files > under /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/GANGLIA on > the Ambari Server instead of /etc/ganglia, /usr/lib/exec/hdp/ganglia, etc. > Once you modify appropriate files, you need to do "ambari-server restart" > to let the Ambari Server reload these changes. Then you go to Ambari Web > UI and restart Ganglia to push the files out to the nodes. > The same procedure can be applied for other services that you might want > to customize. > > I hope this helps. > > Yusaku > > From: "Fabio C." <[email protected]> > Reply-To: "[email protected]" <[email protected]> > Date: Sunday, March 1, 2015 10:41 PM > To: "[email protected]" <[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 >
