Hi Vladimir

A plain file in /var/www/html/ganglia called config.php containing just the one 
line (taken from conf_default.php):


$conf['case_sensitive_hostnames'] = false;

The presence of this file seemed to blow the graphing - when I removed it they 
came back.

Simon

From: Vladimir Vuksan [mailto:vli...@veus.hr]
Sent: 08 December 2014 13:19
To: ganglia-general@lists.sourceforge.net
Subject: Re: [Ganglia-general] FW: Ganglia and sFlow

What does your conf.php look like ?

Vladimir

On 12/08/2014 06:15 AM, Simon Ambridge wrote:
Hi Neil

Thanks for the update. I'm new to the whole Ganglia thing so I hadn't thought 
of breaking the servers into sub groups like that - it sounds like it could be 
a workable solution for me.

For the host identifier the idea of using IP and reverse lookup sounds sensible 
too. I'm not sure that automatically lower-casing the server name would be a 
problem - I'd expect DNS to be immune to that. I'll have a play and see what 
works.

Do you have any thoughts on the third point - why does it all go blank if (as 
recommended) I create my own conf.php

Many thanks
Simon

From: Neil Mckee [mailto:neil.mckee...@gmail.com]
Sent: 05 December 2014 18:33
To: Simon Ambridge
Cc: 
ganglia-general@lists.sourceforge.net<mailto:ganglia-general@lists.sourceforge.net>
Subject: Re: [Ganglia-general] FW: Ganglia and sFlow

Simon,

I don't know if this is still an issue for you,  but my understanding is that 
the cluster name comes from the gmond instance that you send the sFlow to.    
So if you have 1000 hosts running hsflowd and you want to divide them into 10 
clusters then you would run 10 instances of gmond somewhere (with each 
listening on different udp/tcp ports if they are all on the same host).   Then 
when gmetad gets the latest stats from each one it will do the right thing.   I 
hope someone else will jump in if I got this wrong.

Separately,  the hostname case-sensitivity thing is tricky.  If we ignore the 
hostname that hsflowd sends and submit the stats using only the IP address then 
gmond/gmetad will use a reverse-DNS lookup as the name.  That might work for 
some users if their DNS server is consistent and reliable.  Alternatively,   we 
could automatically lowercase the hostname that we get from hsflowd.  That 
might work in other places,  but it might also make things worse because now 
you have an identifier that might not match either the DNS name or the Windows 
case-sensitive hostname.   We could try adding new config options for this that 
apply to the sFlow receiver in gmond,   but I don't want to do that if it's  
just going to make things more confusing.  What hostname treatment option do 
you think would work for you?

Neil



On Thu, Sep 18, 2014 at 1:10 PM, Simon Ambridge 
<simon.ambri...@qubix.com<mailto:simon.ambri...@qubix.com>> wrote:
Hi

I've installed Ganglia 3.6.0 gmetad and gmond on an Oracle Linux collector and 
can successfully collect metrics from Oracle Linux gmond nodes.
I also need to collect metrics from Windows 2012 R2 hosts too, so I installed 
sFlow 1.23.4-x64 - but I then found that I had blank graphs for the Windows 
node. The Windows machine has an upper-case file name and I saw that the 
directory under /var/lib/ganglia/rrds was in lower case. I changed 
$conf['case_sensitive_hostnames'] = false; to true and I now do not get blank 
graphs for the detailed stats for the Windows node. So far so good.

However, I still have the following problems with blank stats on the main page, 
sFlow node cluster names and how to use conf.php:


1.       Even though I get the detailed stats for the Windows machine, the big 
load_one stacked graph on the main page does not display any details for it. If 
I link the upper-case directory in /var/lib/ganglia/rrds to a lower-case name 
it correctly display. So that means that the 'case_sensitive_hostnames' 
directive is respected by the node stats page but *not* the load_one stacked 
graph on the main page. The main page also behaves differently because in the 
drop-down list of nodes the Windows machine is listed in upper-case but on it's 
detailed stats page it is titled in lower-case.

2.       The Oracle Linux nodes are defined in gmond.conf as belonging to their 
named cluster. The Windows machine is automatically lumped into that same 
cluster - how do I define a cluster group for an sFlow node?

3.       If I create a conf.php override file as recommended and put 
$conf['case_sensitive_hostnames'] = false; in there, I don't get any graphs 
displayed at all for anything. Remove the file and the graphs come back. What 
am I doing wrong with conf.php?

Many thanks
Simon Ambridge

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net<mailto:Ganglia-general@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ganglia-general





------------------------------------------------------------------------------

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<mailto:Ganglia-general@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/ganglia-general

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

Reply via email to