Re: [Ganglia-developers] [gweb2] aggregate with y-label containing # fails in view

2012-04-12 Thread Jeff Buchbinder
On Thu, Apr 12, 2012 at 8:29 AM, Ramon Bastiaans
ramon.bastia...@sara.nl wrote:
 When I make an aggregate graph which has a Y-axis label containing the #
 character, it works fine under the Aggregate Graphs tab.

 However, if I add that graph to a view using the + button, it does not
 display properly anymore.

 Removing the # from the Y-axis label in view_name.json fixes the issue.

 Perhaps there is a escaping issue somewhere.

 --
 ing. R. Bastiaans, B.ICT
 * Senior Systems Programmer
 * Operations, Support and Development

 SARA
 Science Park 140     PO Box 94613
 1098 XG Amsterdam NL 1090 GP Amsterdam NL
 P.+31 (0)20 592 3000 F.+31 (0)20 668 3167

Please create an issue for this here:

https://github.com/ganglia/ganglia-web/issues/new

Thanks!

--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
___
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers


Re: [Ganglia-developers] [Ganglia-general] Ganglia for Windows

2012-04-12 Thread Bernard Li
[CC:ing ganglia-developers]

Steven:

Glad that you got things sorted out.

Someone should file a bug on this and somebody from the Gweb team should
take a look at the issue.

Thanks all,

Bernard

On Thursday, April 12, 2012, Burton, Steven wrote:

 Peter,

 I've attached the xml.

 The rrds are in /var/db/ganglia/rrds

 pc28040664# ls -l /var/db/ganglia/rrds/Shepherd2/
 total 10
 drwxr-xr-x  2 ganglia  ganglia  1024 Mar 29 16:23 172.17.1.40
 drwxr-xr-x  2 ganglia  ganglia  1536 Apr 12 10:34 __SummaryInfo__
 drwxr-xr-x  2 ganglia  ganglia  1024 Mar 29 15:46 pc28040664
 drwxr-xr-x  2 ganglia  ganglia  1024 Apr 12 10:34 pc28040830
 drwxr-xr-x  2 ganglia  ganglia  1024 Mar 29 16:10 scl-rsa3
 pc28040664#

 Aha scl-rsa3 in lower-case!
 So

  cd /var/db/ganglia/rrds/Shepherd2
  ln -s scl-rsa3 SCL-RSA3

 And I have metrics in graphs :))

 I know that's not pretty but it proves the point.

 Thanks you so much for walking me through this.

 It occurs to me that a DNS lookup would return the server name in
 lower-case but the in XML the original server uses it's given name which we
 capitalize here.

 Steve.

 S Burton BSc(Hons) MIEE MBCS MIEEE
 Network Manager
 Shepherd Construction Ltd
 Head Office
 Frederick House, Fulford Road, York, YO10 4EA
 Tel:  01904 660391 Fax: 01904 660577
 Web: www.shepherd-construction.co.uk
 Registered in England and Wales Company Number:  201860 Registered
 address: Huntington House, Jockey Lane, Huntington, York YO32 9XW

 The views or opinions presented in this e-mail are solely those of the
 author and do not necessarily represent those of the company.
 This email and any files transmitted with it are confidential and are
 intended solely for the individual or entity to which they are addressed.
 If you have received this e-mail in error, please notify
 sclc...@shepherd-construction.co.uk javascript:; quoting the name of
 the sender.
 Whilst every care has been taken to check this outgoing e-mail for viruses
 it is seen as your responsibility to check and sweep it, and any
 attachments, for viruses on receipt.

 -Original Message-
 From: Peter Phaal [mailto:peter.ph...@gmail.com javascript:;]
 Sent: 12 April 2012 15:25
 To: Burton, Steven
 Cc: Bernard Li; Ganglia
 Subject: Re: [Ganglia-general] Ganglia for Windows

 Can you send the output of an XML query to gmond? You can use telnet to
 connect to the tcp_accept_channel on the gmond machine:
 telnet localhost 8649

 It does sound like gmetad is successfully picking up the data and updating
 the RRDs. It does seem likely that there is an issue with the way that the
 web-UI is indexing and referencing the RRDs. What are the directory and
 file names under /var/lib/ganglia/rrds?
 ls /var/lib/ganglia/rrds/cluster
 ls /var/ib/ganglia/rrds/cluster/SCL-RSA3

 I am afraid I don't know much about how the UI deals with the data, but
 there must be something basic about how the data is being stored that is
 somehow different between the BSD and windows machines.

 Since Ganglia stores the data under directories keyed by hostname, I
 suspect that there could be some issue with the hostname? Perhaps the new
 Ganglia UI is case sensitive and doesn't like the capitalized hostnames
 exported from Windows? I have mostly used the old UI and there haven't been
 issues with monitoring Windows servers - it is possible that there are
 differences in the way hostnames are treated in the new code.

 On Thu, Apr 12, 2012 at 1:14 AM, Burton, Steven 
 sbur...@shepherd-construction.co.uk wrote:
  My setup is:
 
  FreeBSD 9 with gmetad 3.3.0, gmond 3.3.0 and web 3.3.1
 
  I can see metrics for this machine (which is a PC I'm using for the
  trial)
 
  FreeBSD 8.1 with 3.1.7
  I can see metrics for this machine (I installed 3.1.7 on a it is the
  latest port for FreeBSD - not really part of the trial)
 
  Windows Server 2003 with Host sflow v 1.20
 
  Alas, most of our servers run Windows 2003 so when someone on the list
 drew my attention to sflow, I jumped at it.
 
  I have looked at the rrds for the win server and the mod times are
  changing. Rrdtool dump shows that the contents are changing and 'rrdtool
 dump pkts_in.rrd | grep 'v' | grep -v NaN | wc -l' shows that the number
 of values that are not NaN is going down, all of which suggests to me that
 the data is being received, stored and aggregated.
 
  Is it possible I'm missing something from gweb2? I haven't been able to
 find a canonical list of requirements for it so it's entirely possible I've
 missed something.
 
  Steve.
 
  S Burton BSc(Hons) MIEE MBCS MIEEE
  Network Manager
  Shepherd Construction Ltd
  Head Office
  Frederick House, Fulford Road, York, YO10 4EA
  Tel:  01904 660391 Fax: 01904 660577
  Web: www.shepherd-construction.co.uk
  Registered in England and Wales Company Number:  201860 Registered
  address: Huntington House, Jockey Lane, Huntington, York YO32 9XW
 
  The views or opinions presented in this e-mail are solely those of the
 author and do not necessarily