Re: [Ganglia-general] Ganglia cannot find a data source.
On 11/17/2009 at 10:04 AM, in message b1eec58d0911170904r2f2613ads9244341a82b85...@mail.gmail.com, Ryan Robertson 89esp...@gmail.com wrote: I too have been bangin my head on this for a few weeks. After much googling i cannot seem to find the answer, so i hope someone (developer maybe) can help. I was successfully using ganglia 2.5 and 3.0.x. At some point i upgraded to 3.1.x and things went sour. I've even tried to revert back to a known working condition to no avail. So here's my current setup. GMETAD 3.1.4 running under suse 11.1 ppc. Using a basic gmetad.conf file monitoring itself (localhost) for troubleshooting purposes: ---snip from /etc/gmetad.conf --- data_source my cluster localhost gpipnim01 data_source sap_app gpiptcpeap02 ---snip- XML on localhost seems fine. I can telnet to localhost 8469 and get proper results. FWIW : GANGLIA_XML VERSION=3.1.4 SOURCE=gmond RRD's are updating properly in /var/lib/ganglia/rrds/ gmond (on localhost) in debug mode is sending updates (obviously since RRD's are being created). gmond -m shows modules are loaded. Web frontend: When I hit the webpage i get Ganglia cannot find a data source. Is gmond running? When you telnet to 8652 what do you get? Localhost 8649 is the output from gmond on localhost. Localhost 8652 is the interactive port from gmetad which is the port that the web frontend uses to get the metric data. Brad -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Ganglia cannot find a data source.
Ahh yes, i knew there was one other telnet snippet question. I am able to telnet to localhost 8652 and feed it /?filter=summary I get outputthe output scrolled off the screen, but you get the idea that it's returning... --snip- /METRICS METRICS NAME=swap_total SUM=2019320 NUM=1 TYPE=double UNITS=KB SLOPE=zero SOURCE=gmond EXTRA_DATA EXTRA_ELEMENT NAME=GROUP VAL=memory/ EXTRA_ELEMENT NAME=DESC VAL=Total amount of swap space displayed in KBs/ EXTRA_ELEMENT NAME=TITLE VAL=Swap Space Total/ /EXTRA_DATA /METRICS METRICS NAME=part_max_used SUM=40.2 NUM=1 TYPE=double UNITS=% SLOPE=both SOURCE=gmond EXTRA_DATA EXTRA_ELEMENT NAME=GROUP VAL=disk/ EXTRA_ELEMENT NAME=DESC VAL=Maximum percent used for all partitions/ EXTRA_ELEMENT NAME=TITLE VAL=Maximum Disk Space Used/ /EXTRA_DATA /METRICS /CLUSTER /GRID /GANGLIA_XML snip -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Ganglia cannot find a data source.
Sounds to me like it could be a file permissions problems then. Is your apache server able to access the rrd files and/or port 8652? On 11/17/2009 at 1:00 PM, in message 0016e64c2536e598710478969...@google.com, 89esp...@gmail.com wrote: Ahh yes, i knew there was one other telnet snippet question. I am able to telnet to localhost 8652 and feed it /?filter=summary I get outputthe output scrolled off the screen, but you get the idea that it's returning... --snip- /METRICS METRICS NAME=swap_total SUM=2019320 NUM=1 TYPE=double UNITS=KB SLOPE=zero SOURCE=gmond EXTRA_DATA EXTRA_ELEMENT NAME=GROUP VAL=memory/ EXTRA_ELEMENT NAME=DESC VAL=Total amount of swap space displayed in KBs/ EXTRA_ELEMENT NAME=TITLE VAL=Swap Space Total/ /EXTRA_DATA /METRICS METRICS NAME=part_max_used SUM=40.2 NUM=1 TYPE=double UNITS=% SLOPE=both SOURCE=gmond EXTRA_DATA EXTRA_ELEMENT NAME=GROUP VAL=disk/ EXTRA_ELEMENT NAME=DESC VAL=Maximum percent used for all partitions/ EXTRA_ELEMENT NAME=TITLE VAL=Maximum Disk Space Used/ /EXTRA_DATA /METRICS /CLUSTER /GRID /GANGLIA_XML snip -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Ganglia cannot find a data source.
rrd dir and subdirs are owned by nobody. ls -ld /var/lib/ganglia/rrds drwxr-xr-x 7 nobody nobody 4096 May 28 2008 /var/lib/ganglia/rrds ls -l /var/lib/ganglia/rrds drwxr-xr-x 7 nobody root 4096 Sep 28 15:36 595 drwxr-xr-x 2 nobody root 4096 Sep 23 10:04 __SummaryInfo__ drwxr-xr-x 33 nobody root 4096 Sep 23 09:44 gpi drwxr-xr-x 12 nobody root 4096 Aug 20 2008 sap_app drwxr-xr-x 5 nobody root 4096 Nov 3 10:13 unspecified Apache is running under user wwwrun: wwwrun 9649 23799 0 11:48 ? 00:00:00 /usr/sbin/httpd2 -f /etc/apache2/httpd.conf -k start I dont see any errors in the Apache logs. Chowning /var/lib/ganglia/rrds to wwwrun didnt yield and changesh. I would think that even if apache didnt have access to the rrd files it would still show other html from the web frontend. How does apache access port 8652? Is there another way to test that? -Ryan On Nov 17, 2009 2:17pm, Brad Nicholes bnicho...@novell.com wrote: Sounds to me like it could be a file permissions problems then. Is your apache server able to access the rrd files and/or port 8652? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general