Re: [Ganglia-general] Unicast or Multicast
Hi Arne: On Thu, Nov 18, 2010 at 3:02 AM, Arne Brutschy wrote: > I am using Ganglia for a cluster of ~70 nodes - single monitor, single, > flat network. What's the recommended type of operation for this, unicast > or multicast? What are the (dis)advantages of each mode? I would start simple and use the default settings (multicast), it is fairly easy to set up. Network administrators have mentioned that multicast is "chatty" and causes jitter. If the workload on your cluster is sensitive to that, you might consider switching to unicast. I am sure Google and the mail archives is a great source of knowledge regarding these. I just added this to the FAQs -- hope this helps. Comments/thoughts on the subject welcome! https://sourceforge.net/apps/trac/ganglia/wiki/FAQ Thanks, Bernard -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] spoofed hosts in Ganglia
Hi Bryan: Are you using unicast for your Ganglia setup? Perhaps this has something to do with send_metadata_interval? Another thing you can try out is the sFlow integration in trunk. hsflowd (which is the host daemon you install on your host) supports libvirt. There is a nice writeup here: http://blog.sflow.com/2010/10/ganglia.html Cheers, Bernard On Wed, Nov 10, 2010 at 7:26 AM, bwbwcool wrote: > Hi, > > > > I have been using the Gmond Python metric modules > (http://sourceforge.net/apps/trac/ganglia/wiki/ganglia_gmond_python_modules) > to monitor network activity from virtual machines using the spoof host > functionality. I have followed the examples of spfexample.py and > spfexample.pyconf in the ganglia codebase. I'm using Ganglia 3.1.2 in > Ubuntu 10.04. > > > > I created a list of spoof hosts by retrieving host names from libvirt 0.8.3 > (using the python libvirt library -this list of spoof hosts gets dynamically > filled in the metric_init() function in spfexample.py). I have the problem > that whenever I start new virtual instances, they do not appear in ganglia > (no rrd files for the spoofed VMs) until I restart gmond on the host. > > > > I know that normally, ganglia would not detect these new instances (as I'm > pulling data from libivirt - these new instances do not have gmond installed > on them). Has anyone else tried monitoring VMs like this or know of a > possible work-around (without having to install gmond on the VMs or restart > gmond on the host every time I start up a new machine?). > > > > The same goes for when I kill an instance. My spoofed heartbeat function > shows that the instance is dead (I pull the state of the VM from libvirt > every 10 seconds), but the instance still shows as running in the ganglia > web portal after it's terminated (unless I restart gmond). Has anyone tried > this as well? Thanks! > > > > -Bryan > > -- > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > > -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] Yet another Ganglia module for Varnish
Hi Lars: This would be a great candidate to be contributed to our gmond_python_modules repo in GitHub: https://github.com/ganglia/gmond_python_modules Thanks! Bernard On Tue, Nov 9, 2010 at 1:24 PM, Lars Kellogg-Stedman wrote: > I was looking for a metrics module for gmond that used the Python > module interface, rather than calling gmetric (because the module > interface can provide some additional metadata about metrics), and > didn't find anything...so I wrote my own. It's available here, if > anyone finds it useful: > > https://github.com/larsks/ganglia-plugin-varnish > > The good: > > - It will generate a configuration for you automatically. > - It tries to identify the metric types (count vs. rate) automatically > > The bad: > > - Not much in the way of error checking right now. > - Only used in a very small environment. > > -- > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] newbie question - web frontend templates
> P.S. Any of your customizations could be contributed to the project > generically? :) I thought about it and I would do it gladly, but it was/is a multidirection development process which started with a messy code, continued with code strips to enhance readability and modifications which suit my use case. Let me share the idea and current status first. I manage disjoint groups of servers and I use ganglia to get a general overview and metric monitoring with nagios, and if I need closer look I use collectd on each host (collectd has a whole load of plugins readily available). For all this to work I had to modify the following stuff with ganglia: - python modules for: ---> disk IOPS, ---> disk time, ---> interrupts, ---> context switches ---> process creation rate ---> (I really missed these things in form of a built-in C module) - additional report graphs for aforementioned plugins and variations (like average time per disk operation, average network packet size etc) - (change RRA definitions - I know this is a custom setting but I was very disappointed to notice there were no min/max values stored in RRDs by default) - created grid overview which displays all report graphs at once (I skim over this page to get a glance of what is going on) - talking about 12 report graphs here (graphs are clickable, see below) - changed grid report view to grid mesh view (or it should be called cluster mesh) which displays all previously mentioned reports in per-cluster manner - click on report graph in grid overview shows clicked graph as first one in cluster list, so I can easily locate malfunctioning cluster, click on a report from cluster goes to cluster view and shows given report for all hosts in cluster (this is standard, I just added html anchor) - in grid overview, at each report graph I have a link that takes you to page which displays given report for each and every host in grid - in this view I am able to normalize Y-axis scale across all graphs so I can compare in absolute terms what is going on with each server in comparison to all others - in host view, I changed metric graph script to show min/avg/max values (not supported by distributed version of frontend) That is basically it. Now, the code is still a mess and it has become (by my opinion) too my-environment-specific to be easily adoptable by other users (I stripped away private clusters, multigrid support is not working, disk ops reports are mandatory etc). The whole programming was more of an experiment to see if I can get this done with ganglia It was successful, it serves it's purpose well for me, but the code is non-releaseable (I am ashamed of it, actually:). If one wants a .tar.gz I can send it, but you have been warned:) I am thinking of a total rewrite in due time (OO, with ZF templates probably, should not take more than a day or two for my use case) and when this happens I will have contributions to the project in mind, I promise (it makes my life easier if I don't have to modify original packages:). b. PS: If you would like a demo of my custom ganglia frontend (to click through and see if you like it), send me your static IP and I can open it up for you for a day or two. On 29 November 2010 20:04, Bernard Li wrote: > Hi Bostjan: > > On Mon, Nov 29, 2010 at 8:26 AM, Bostjan Skufca wrote: > >> I would be glad to know this before I started making customizations to >> frontend, just 3 weeks ago. I know, my fault, I did not ask about it >> :) > > Sorry for not making the announcement more obvious, but the switch > between TemplatePower to Dwoo is not that bad. I was able to do the > switch of the entire web codebase in less than a week. > > But please do let us know if you run into any problems (perhaps better > discussed in the -developers mailing-list). And realistically we > won't be releasing new frontend code for at least a couple of months I > think, so it depends on your timeline :) > >> Anyway, I seriously hope that Dwoo supports 'if' statement in >> templates. Working without it kinda sucks (TemplatePower). > > Yes it does, please see here: > > http://wiki.dwoo.org/index.php/Blocks:if > > > Cheers, > > Bernard > -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] newbie question - web frontend templates
Hi Chris: On Mon, Nov 29, 2010 at 9:04 AM, Chris Hunter wrote: > Besides Rocks are there any other custom templates generally available ? > I really don't know _what_ we can do with templates. The _how_ part I > could figure out from other custom templates. As far as I know Rocks and Jobmonarch are the only two projects that have provided Ganglia templates. Perhaps some other "commercial" solutions make use of that, but I'm not too sure. If development picks up on the templating front, we could add another section in GitHub for that ;-) Cheers, Bernard -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] newbie question - web frontend templates
Hi Bostjan: On Mon, Nov 29, 2010 at 8:26 AM, Bostjan Skufca wrote: > I would be glad to know this before I started making customizations to > frontend, just 3 weeks ago. I know, my fault, I did not ask about it > :) Sorry for not making the announcement more obvious, but the switch between TemplatePower to Dwoo is not that bad. I was able to do the switch of the entire web codebase in less than a week. But please do let us know if you run into any problems (perhaps better discussed in the -developers mailing-list). And realistically we won't be releasing new frontend code for at least a couple of months I think, so it depends on your timeline :) > Anyway, I seriously hope that Dwoo supports 'if' statement in > templates. Working without it kinda sucks (TemplatePower). Yes it does, please see here: http://wiki.dwoo.org/index.php/Blocks:if P.S. Any of your customizations could be contributed to the project generically? :) Cheers, Bernard -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] New UI enhancements
Answers are inline On Mon, 29 Nov 2010 10:27:18 -0800, Rick Cobb wrote: > A couple of questions -- and maybe I should take this back to the developer > list. One: the current (and your) implementation of both cluster & host > view waste a lot of vertical space on the controls. Especially when I'm > looking @ a large cluster (dozens of nodes) or a lot of metrics in a host, > it's a nuisance to scroll to the top to get at those controls (time > selection, metric search, etc). Have you considered using one or another > of > the floating-left-hand-side widgets to collect those? That could be an option in the future. I'll look into it. > Secondly, when you've combining graphs from multiple hosts into a view > (nice > feature!), it might be a good idea to set up the default graph titles to > include the hostnames. Having them buried in the captions makes it harder > to > quickly see what you're looking at. That's easy to fix. I can add text above the picture with hostname and metric. > Third, have you (or anybody) started to think through similar enhancements > at the cluster or meta-view level? In particular, when I'm looking at a > grid full of similar clusters, it'd be nice to be able to choose the > summary > metrics in meta view. Also, when working on capacity planning, being able > to view the whole grid's metrics as if the grid were a single host or > cluster (why do we collect 100s of summaries when we can only view a few?) > is very useful. The ability to search for a host amid 1000s is also useful. One of the problems is that I have tried to address use cases that scratch a particular itch for me (and I believe tons of other people). I am sure there are tons of other uses cases I am not seeing since I don't have things like multigrid etc. I would hope that someone who has such a setup could help. > I'd suggest that your json view structures look to not have considered > deployment in a multicluster, multigrid world. Multicluster works because the unique identifier is hostname. I suppose this could break if hostname is in multiple clusters. This can be addressed but I can't see the use case where you'd put same hostname in multiple clusters. Correct me if I'm wrong. > I may have missed an enhancement or three dozen while hooked into the 3.0 > world for so long, but it seems like the use cases for large-scale > deployments (many grids of dozens of clusters) need some of the same sort > of > thinking as you've applied to the single-cluster, lots of hosts with lots > of > metric cases.. Vladimir -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] New UI enhancements (was Re: Fwd: Re: newbie question - web frontend templates)
Nice work, Vladimir, and thanks for putting the video together so we can see all the features you've been working on. A couple of questions -- and maybe I should take this back to the developer list. One: the current (and your) implementation of both cluster & host view waste a lot of vertical space on the controls. Especially when I'm looking @ a large cluster (dozens of nodes) or a lot of metrics in a host, it's a nuisance to scroll to the top to get at those controls (time selection, metric search, etc). Have you considered using one or another of the floating-left-hand-side widgets to collect those? Secondly, when you've combining graphs from multiple hosts into a view (nice feature!), it might be a good idea to set up the default graph titles to include the hostnames. Having them buried in the captions makes it harder to quickly see what you're looking at. Third, have you (or anybody) started to think through similar enhancements at the cluster or meta-view level? In particular, when I'm looking at a grid full of similar clusters, it'd be nice to be able to choose the summary metrics in meta view. Also, when working on capacity planning, being able to view the whole grid's metrics as if the grid were a single host or cluster (why do we collect 100s of summaries when we can only view a few?) is very useful. The ability to search for a host amid 1000s is also useful. I'd suggest that your json view structures look to not have considered deployment in a multicluster, multigrid world. I may have missed an enhancement or three dozen while hooked into the 3.0 world for so long, but it seems like the use cases for large-scale deployments (many grids of dozens of clusters) need some of the same sort of thinking as you've applied to the single-cluster, lots of hosts with lots of metric cases.. Thanks for moving the UI ahead so much! -- -- ReC On Mon, Nov 29, 2010 at 9:28 AM, Vladimir Vuksan wrote: > > Over the weekend I checked in Ganglia UI enhancements into the SVN branch. > > > You can view a screencast with about 3/4 of new features here > > http://vuksan.com/ganglia-ui.html > > If you want to try it out you can check it out here > > > https://ganglia.svn.sourceforge.net/svnroot/ganglia/branches/monitor-web-2.0/ > > Vladimir > > Original Message > Subject: Re: [Ganglia-general] newbie question - web frontend templates > Date: Mon, 29 Nov 2010 11:44:06 -0500 > From: Jesse Becker > To: Bostjan Skufca > > On Mon, Nov 29, 2010 at 11:26, Bostjan Skufca wrote: > > "We are not using TemplatePower anymore, and have moved to using the > > Dwoo package instead." > > > > I would be glad to know this before I started making customizations to > > frontend, just 3 weeks ago. I know, my fault, I did not ask about it > > :) > > There was an announcement on the ganglia-developers list > ( > http://www.mail-archive.com/ganglia-develop...@lists.sourceforge.net/msg05653.html > ), > but only a passing reference on the -general list. > > > Anyway, I seriously hope that Dwoo supports 'if' statement in > > templates. Working without it kinda sucks (TemplatePower). > > It does include looping and conditional support. Dwoo was picked (I > believe) because it supports all of the features supported by > TemplatePower and is released under a BSD license (unlike > TemplatePower) > > > Any move towards an OO frontend? Because current code is a mess... (no > > disrespect intended, just personal observation). > > There was some discussion about frontend development in IRC recently. > A transcript was kept, and posted here: > http://therealms.org/oss/ganglia/ganglia_frontend_rewrite_irc_101310.txt > > -- > Jesse Becker > > > -- > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > > > -- > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > -- Increase Visibility of
[Ganglia-general] Fwd: Re: newbie question - web frontend templates
Over the weekend I checked in Ganglia UI enhancements into the SVN branch. You can view a screencast with about 3/4 of new features here http://vuksan.com/ganglia-ui.html If you want to try it out you can check it out here https://ganglia.svn.sourceforge.net/svnroot/ganglia/branches/monitor-web-2.0/ Vladimir Original Message Subject: Re: [Ganglia-general] newbie question - web frontend templates Date: Mon, 29 Nov 2010 11:44:06 -0500 From: Jesse Becker To: Bostjan Skufca On Mon, Nov 29, 2010 at 11:26, Bostjan Skufca wrote: > "We are not using TemplatePower anymore, and have moved to using the > Dwoo package instead." > > I would be glad to know this before I started making customizations to > frontend, just 3 weeks ago. I know, my fault, I did not ask about it > :) There was an announcement on the ganglia-developers list (http://www.mail-archive.com/ganglia-develop...@lists.sourceforge.net/msg05653.html), but only a passing reference on the -general list. > Anyway, I seriously hope that Dwoo supports 'if' statement in > templates. Working without it kinda sucks (TemplatePower). It does include looping and conditional support. Dwoo was picked (I believe) because it supports all of the features supported by TemplatePower and is released under a BSD license (unlike TemplatePower) > Any move towards an OO frontend? Because current code is a mess... (no > disrespect intended, just personal observation). There was some discussion about frontend development in IRC recently. A transcript was kept, and posted here: http://therealms.org/oss/ganglia/ganglia_frontend_rewrite_irc_101310.txt -- Jesse Becker -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] newbie question - web frontend templates
A custom template was created for the "Job Monarch" project that attempts to displace queue stats on cluster_view pages within ganglia. See https://subtrac.sara.nl/oss/jobmonarch/wiki/Documentation/Screenshots for examples. The answer to "what?" is "anything you'd like." The templates are HTML based, with various template-related syntactic bits sprinkled throughout. They define almost everything about the webpages--the layout, the look, the interface, navigation, etc. You can, if you want, make a template that just dumps all of the rrd files for a single metric, across all hosts (similar to MRTG, I suppose). or, you could re-do the entire interface with lots of javascript and other stuff with a completely new "look". However, that will almost certainly require changes to the various php files as well. Unfortunately, the PHP code and the templates are pretty closely intertwined--thus the recent discussion about a front-end rewrite. On Mon, Nov 29, 2010 at 12:04, Chris Hunter wrote: > Besides Rocks are there any other custom templates generally available ? > I really don't know _what_ we can do with templates. The _how_ part I could > figure out from other custom templates. > > So, what are templates used for ? > > Thanks, > Chris Hunter > Yale University > > Jesse Becker wrote: >> >> There isn't any specific documentation about making a new template >> (alas!). There isn't even something as simple as a list of variables >> which will be expanded in the HTML template files. :-/ >> >> I suggest that you make a copy of the GANGLIA_WWW/template/default >> directory, and start making your changes from there. The variables >> are pretty obvious. >> >> Also, note that the templating engine has *changed* in the trunk >> release. We are not using TemplatePower anymore, and have moved to >> using the Dwoo package instead. I believe that the forthcoming 3.2.0 >> release will use this. Dwoo has a similar, but different template >> language, and I suggest that you make your changes against trunk, and >> not the 3.1.x series. >> >> On Thu, Nov 18, 2010 at 17:07, Chris Hunter wrote: >>> >>> Hi, >>> >>> I have been maintaining an instance of ganglia 3.0.3 installed by my >>> predecessor. The last guy was a php programmer and did all sorts of >>> fancy things to our ganglia frontend. >>> >>> I am starting a fresh install of ganglia 3.1.7; I have the basics done. >>> I have our gmond-3.0.x clusters talking to the gmetad-3.1.7 host. I have >>> the web frontend running. >>> >>> Next I want to create a custom template. I'll start with simple stuff >>> like adding a custom logo bitmap to the metapage, maybe some URL links >>> to our department website, etc. >>> >>> Can anyone point me to some documentation about creating custom >>> templates ? What is 'best practice' to integrate a template with a >>> ganglia-3.1.x installation ? >>> >>> Thank-you in advance, >>> >>> Chris Hunter >>> Yale University >>> >>> >>> -- >>> Beautiful is writing same markup. Internet Explorer 9 supports >>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >>> Spend less time writing and rewriting code and more time creating great >>> experiences on the web. Be a part of the beta today >>> http://p.sf.net/sfu/msIE9-sfdev2dev >>> ___ >>> Ganglia-general mailing list >>> Ganglia-general@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/ganglia-general >>> >> >> >> > > -- Jesse Becker -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] newbie question - web frontend templates
Besides Rocks are there any other custom templates generally available ? I really don't know _what_ we can do with templates. The _how_ part I could figure out from other custom templates. So, what are templates used for ? Thanks, Chris Hunter Yale University Jesse Becker wrote: > There isn't any specific documentation about making a new template > (alas!). There isn't even something as simple as a list of variables > which will be expanded in the HTML template files. :-/ > > I suggest that you make a copy of the GANGLIA_WWW/template/default > directory, and start making your changes from there. The variables > are pretty obvious. > > Also, note that the templating engine has *changed* in the trunk > release. We are not using TemplatePower anymore, and have moved to > using the Dwoo package instead. I believe that the forthcoming 3.2.0 > release will use this. Dwoo has a similar, but different template > language, and I suggest that you make your changes against trunk, and > not the 3.1.x series. > > On Thu, Nov 18, 2010 at 17:07, Chris Hunter wrote: >> Hi, >> >> I have been maintaining an instance of ganglia 3.0.3 installed by my >> predecessor. The last guy was a php programmer and did all sorts of >> fancy things to our ganglia frontend. >> >> I am starting a fresh install of ganglia 3.1.7; I have the basics done. >> I have our gmond-3.0.x clusters talking to the gmetad-3.1.7 host. I have >> the web frontend running. >> >> Next I want to create a custom template. I'll start with simple stuff >> like adding a custom logo bitmap to the metapage, maybe some URL links >> to our department website, etc. >> >> Can anyone point me to some documentation about creating custom >> templates ? What is 'best practice' to integrate a template with a >> ganglia-3.1.x installation ? >> >> Thank-you in advance, >> >> Chris Hunter >> Yale University >> >> -- >> Beautiful is writing same markup. Internet Explorer 9 supports >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >> Spend less time writing and rewriting code and more time creating great >> experiences on the web. Be a part of the beta today >> http://p.sf.net/sfu/msIE9-sfdev2dev >> ___ >> Ganglia-general mailing list >> Ganglia-general@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ganglia-general >> > > > -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] newbie question - web frontend templates
On Mon, Nov 29, 2010 at 11:26, Bostjan Skufca wrote: > "We are not using TemplatePower anymore, and have moved to using the > Dwoo package instead." > > I would be glad to know this before I started making customizations to > frontend, just 3 weeks ago. I know, my fault, I did not ask about it > :) There was an announcement on the ganglia-developers list (http://www.mail-archive.com/ganglia-develop...@lists.sourceforge.net/msg05653.html), but only a passing reference on the -general list. > Anyway, I seriously hope that Dwoo supports 'if' statement in > templates. Working without it kinda sucks (TemplatePower). It does include looping and conditional support. Dwoo was picked (I believe) because it supports all of the features supported by TemplatePower and is released under a BSD license (unlike TemplatePower) > Any move towards an OO frontend? Because current code is a mess... (no > disrespect intended, just personal observation). There was some discussion about frontend development in IRC recently. A transcript was kept, and posted here: http://therealms.org/oss/ganglia/ganglia_frontend_rewrite_irc_101310.txt -- Jesse Becker -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] newbie question - web frontend templates
"We are not using TemplatePower anymore, and have moved to using the Dwoo package instead." I would be glad to know this before I started making customizations to frontend, just 3 weeks ago. I know, my fault, I did not ask about it :) Anyway, I seriously hope that Dwoo supports 'if' statement in templates. Working without it kinda sucks (TemplatePower). Any move towards an OO frontend? Because current code is a mess... (no disrespect intended, just personal observation). b. On 29 November 2010 15:30, Jesse Becker wrote: > There isn't any specific documentation about making a new template > (alas!). There isn't even something as simple as a list of variables > which will be expanded in the HTML template files. :-/ > > I suggest that you make a copy of the GANGLIA_WWW/template/default > directory, and start making your changes from there. The variables > are pretty obvious. > > Also, note that the templating engine has *changed* in the trunk > release. We are not using TemplatePower anymore, and have moved to > using the Dwoo package instead. I believe that the forthcoming 3.2.0 > release will use this. Dwoo has a similar, but different template > language, and I suggest that you make your changes against trunk, and > not the 3.1.x series. > > On Thu, Nov 18, 2010 at 17:07, Chris Hunter wrote: >> Hi, >> >> I have been maintaining an instance of ganglia 3.0.3 installed by my >> predecessor. The last guy was a php programmer and did all sorts of >> fancy things to our ganglia frontend. >> >> I am starting a fresh install of ganglia 3.1.7; I have the basics done. >> I have our gmond-3.0.x clusters talking to the gmetad-3.1.7 host. I have >> the web frontend running. >> >> Next I want to create a custom template. I'll start with simple stuff >> like adding a custom logo bitmap to the metapage, maybe some URL links >> to our department website, etc. >> >> Can anyone point me to some documentation about creating custom >> templates ? What is 'best practice' to integrate a template with a >> ganglia-3.1.x installation ? >> >> Thank-you in advance, >> >> Chris Hunter >> Yale University >> >> -- >> Beautiful is writing same markup. Internet Explorer 9 supports >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >> Spend less time writing and rewriting code and more time creating great >> experiences on the web. Be a part of the beta today >> http://p.sf.net/sfu/msIE9-sfdev2dev >> ___ >> Ganglia-general mailing list >> Ganglia-general@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ganglia-general >> > > > > -- > Jesse Becker > > -- > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] newbie question [2] - customize ganglia-web templates
Your four steps below look correct to start a new template. On Fri, Nov 19, 2010 at 11:22, Chris Hunter wrote: > The ganglia-web sub-directory templates/defaults has the files: >> cluster_extra.tpl header-nobanner.tpl images show_node.tpl >> cluster_view.tpl header.tpl meta_view.tpl >> footer.tpl host_extra.tpl node_extra.tpl >> grid_tree.tpl host_view.tpl physical_view.tpl > > If I want to create a custom template with a new header logo, I would: > > 1) create a new subdirectory templates/new > 2) copy the file templates/default/header.tpl to templates/new/header.tpl > 3) edit templates/new/header.tpl with my new logo > 4) edit conf.php for Stemplate_name = "new"; > > Does this makes sense ? > > Thanks, > > Chris Hunter > Yale University > >> Hi, >> >> I have been maintaining an instance of ganglia 3.0.3 installed by my >> predecessor. The last guy was a php programmer and did all sorts of >> fancy things to our ganglia frontend. >> >> I am starting a fresh install of ganglia 3.1.7; I have the basics done. >> I have our gmond-3.0.x clusters talking to the gmetad-3.1.7 host. I have >> the web frontend running. >> >> Next I want to create a custom template. I'll start with simple stuff >> like adding a custom logo bitmap to the metapage, maybe some URL links >> to our department website, etc. >> >> Can anyone point me to some documentation about creating custom >> templates ? What is 'best practice' to integrate a template with a >> ganglia-3.1.x installation ? >> >> Thank-you in advance, >> >> Chris Hunter >> Yale University >> > > > -- > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > -- Jesse Becker -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] newbie question - web frontend templates
There isn't any specific documentation about making a new template (alas!). There isn't even something as simple as a list of variables which will be expanded in the HTML template files. :-/ I suggest that you make a copy of the GANGLIA_WWW/template/default directory, and start making your changes from there. The variables are pretty obvious. Also, note that the templating engine has *changed* in the trunk release. We are not using TemplatePower anymore, and have moved to using the Dwoo package instead. I believe that the forthcoming 3.2.0 release will use this. Dwoo has a similar, but different template language, and I suggest that you make your changes against trunk, and not the 3.1.x series. On Thu, Nov 18, 2010 at 17:07, Chris Hunter wrote: > Hi, > > I have been maintaining an instance of ganglia 3.0.3 installed by my > predecessor. The last guy was a php programmer and did all sorts of > fancy things to our ganglia frontend. > > I am starting a fresh install of ganglia 3.1.7; I have the basics done. > I have our gmond-3.0.x clusters talking to the gmetad-3.1.7 host. I have > the web frontend running. > > Next I want to create a custom template. I'll start with simple stuff > like adding a custom logo bitmap to the metapage, maybe some URL links > to our department website, etc. > > Can anyone point me to some documentation about creating custom > templates ? What is 'best practice' to integrate a template with a > ganglia-3.1.x installation ? > > Thank-you in advance, > > Chris Hunter > Yale University > > -- > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today > http://p.sf.net/sfu/msIE9-sfdev2dev > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > -- Jesse Becker -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] New to ganglia and need Sysstat metrics to be collected .
Hi Ganglians , I'm new to ganglia and I'm planning to graph most of the metrics collected using SADC utility or sysstat , By default ganglia provides some of these metrics but I'm not sure whether those will be sufficient for my requirement . Collecting these metrics for graphite seems to be easy but i'm not sure how should I go ahead with ganglia , Should i create a module from scratch for it ? If yes should i use C or python ? Or someone already has done it , Please point me to it :) Also I would like to know how does ganglia treats metrics which are indexed via some means , Say diskstats for each block devices , network metrics of each interface or lets say Metrics for each Java tomcat containers . I'm a heavy user of CACTI so i'm pretty much aware about their lengthy process of defining indexes via SNMP . Is there any DOC about this for ganglia which i can quickly refer ? Sysstat metrics for which I'm interested in are : http://pastebin.com/X8wrfRuW Thanks in advance , Saurabh Verma -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general