Re: [Ganglia-general] ganglia data source shown as unspecified

2014-12-03 Thread Lavi Buchnik
Hi,

Managed to solve this issue.
The problem was on the first client in the list.
Found it with:

# telnet localhost 8649 | grep -i "CLUSTER NAME"

This client return this output:



The fix was in two ways:

1.   Changing the order of the clients (the other clients return correct 
cluster_name), so that client won't be the first in line fix the issue.

2.   Restart gmond on that client, fixed the issue on the client (seems 
like it was a cache issue).

Bottom line, the cluster name showed in the WEB GUI was taken from the first 
client in the list (which was wrong).
Hoping it will help to anyone facing this issue in the future.
Lavi

From: Lavi Buchnik
Sent: Monday, December 01, 2014 5:30 PM
To: 'ganglia-general@lists.sourceforge.net'
Subject: ganglia data source shown as unspecified

Hi,

My configuration as follows:

1.   Server gmetad.conf have many data source defined, each one have a list 
of many servers.

2.   All data source appears correctly on the ganglia portal (grid combo 
box) except one data source which shown as "unspecified". Still it is showing 
the clients monitoring correctly.

3.   Still, when checking the data source which doesn't appears correctly 
by its name (instead appears as "unspecified"), can't find anything wrong in 
the server configuration (gmetad.conf ) or in the clients configuration 
(gmond.conf), both configuration have the correct data source name.

4.   The version we are using is:

a.   Server side:

libganglia-3.4.0-1.x86_64

ganglia-web-3.5.3-1.noarch

ganglia-gmond-3.4.0-1.x86_64

ganglia-gmetad-3.4.0-1.x86_64

ganglia-gmond-modules-python-3.4.0-1.x86_64

b.  Client side:

ganglia-gmond-3.4.0-1.x86_64

libganglia-3.4.0-1.x86_64

ganglia-gmond-modules-python-3.4.0-1.x86_64

Please advise.

Thanks,

Lavi Buchnik




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


Re: [Ganglia-general] Problems getting rrdcached working with Ganglia

2014-12-03 Thread Chris Hunter
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 +
> From: "Poirier, Keith" 
> Subject: [Ganglia-general] Problems getting rrdcached working with
>   Ganglia
> To: "ganglia-general@lists.sourceforge.net"
>   
> Message-ID:
>   
>   
> 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