Hi Keith, Below is our implementation of rrdcached w/RHEL56. We run this script on boot before we start gmetad.
When we installed the rrdcached rpm, it created rrdcached group & user entries. The issue is finding the right set of file perms for both gmetad and apache. > # set ganglia rrd perms for root > rrds_dir=/var/lib/ganglia2/rrds > chown -R nobody $rrds_dir > chgrp -R root $rrds_dir > > # start rrd as group "rrdcached" > /usr/bin/rrdcached -z 60 \ > -s rrdcached -l unix:/var/rrdtool/rrdcached/rrdcached.sock \ > -s rrdcached -P FLUSH,STATS,HELP -l > unix:/var/rrdtool/rrdcached/rrdcached.limited.sock \ > -b $rrds_dir -B > > # open perms on rrdcached unix sock so http/apache can read rrd info > chmod -v 2777 /var/rrdtool/rrdcached/* regards, chris hunter chris.hun...@yale.edu > Message: 2 > Date: Fri, 7 Nov 2014 14:37:44 +0000 > From: "Poirier, Keith" <keith.poir...@hp.com> > Subject: [Ganglia-general] Problems getting rrdcached working with > Ganglia > To: "ganglia-general@lists.sourceforge.net" > <ganglia-general@lists.sourceforge.net> > Message-ID: > <a73004155bb1464d8b0fcd4af97783b511422...@g2w2435.americas.hpqcorp.net> > > Content-Type: text/plain; charset="us-ascii" > > I'm trying to follow the instructions at > https://github.com/ganglia/monitor-core/wiki/Integrating-Ganglia-with-rrdcached > - are they the most updated when it comes to integrating gmetad/rrdcached? > > > The first issue appears trying to use the following in > /etc/sysconfig/rrdcached on RH 6.5: > > OPTIONS="-p /tmp/rrdcached.pid -s apache -m 664 -l unix:/tmp/rrdcached.sock > -s nogroup -m 777 -P FLUSH,STATS,HELP -l unix:/tmp/rrdcached.limited.sock -b > /var/lib/ganglia/rrds -B" > RRDC_USER=nobody > > Nogroup doesn't exist. "couldn't map "nogroup" to a group" > > > I've tried using apache instead for the group but I see lots of > > /usr/sbin/gmetad[25549]: RRD_update > (/var/lib/ganglia/rrds/__SummaryInfo__/tx_errs_eth1.rrd): rrdcached: > Permission denied. > > Pointers to more documentation would be appreciated. > > Thanks! > > Keith Poirier ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general