Daniel Pocock: Monitoring with Ganglia: an O'Reilly community book project
I recently had the opportunity to contribute to an O'Reilly community book project, developing the book Monitoring with Ganglia in collaboration with other members of the Ganglia team

The project itself, as a community book, pays no royalties back to the contributors, as we have chosen to donate all proceeds to charity. People who contributed to the book include
Robert Alexander, Jeff Buchbinder, Frederiko Costa, Alex Dean, Dave Josephsen, Bernard Li, Matt Massie, Brad Nicholes, Peter Phaal and Vladimir Vuksan and we also had generous assistance from various members of the open source community who assisted in the review process. Ganglia itself started at University of California, Berkeley as an initiative of Matt Massie, for monitoring HPC cloud infrastructure My own contact with Ganglia only began in 2008 when I was offered the opportunity to work full-time on the enterprise-wide monitoring systems for a large investment bank. Ganglia had been chosen for this huge project due to it's small footprint, support for many platforms and it's ability to work on a heterogeneous network as well as providing dedicated features for the bank's HPC grid. This brings me to one important point about Ganglia: it's not just about HPC any more. While it is extremely useful for clusters, grids and clouds, it is also quite suitable for a mixed network of web servers, mail servers, databases and all the other applications you may find in a small business, education or ISP environment. Instantly up and running with packages One of the most compelling features, even for small sites with less than 10 nodes, is the ease of installation: install the packages on Debian, Ubuntu, Fedora, OpenCSW and some other platforms, and it just works. Ganglia nodes will find each other over multicast, instantly, no manual configuration changes necessary. On one of the nodes, the web interface must be installed for viewing the statistics. Dare I say it: it is so easy, you hardly even need the book for a small installation. Where the book is really compelling is if you have hundreds or thousands of nodes, if you want custom charts or custom metrics or anything else beyond just installing the package. If monitoring is more than 10% of your job, the book is probably a must-have. Excellent open source architecture Ganglia's simplicity is largely thanks to the way it leverages other open source projects such as Tobi Oetiker's RRDtool and PHP Anybody familiar with these tools will find Ganglia is particularly easy to work with and customise. Custom metrics: IO service times
One of my own contributions to the project has been the creation of ganglia-modules-linux, some plugins for Linux-specific metrics and ganglia-modules-solaris providing some similar metrics for Solaris.
These projects on github provide an excellent base for people to fork and implement their own custom metrics in C or C++
The book provides a more detailed account of how to work with the various APIs for Python, C/C++, gmetric (command line/shell scripts) and Java.
The new web interface
For people who had tried earlier versions of Ganglia (and for those people who installed versions < 3.3.0 and still haven't updated), the new web interface is a major improvement and well worth the effort to install.
It is available on the most recent packages (for example, it is in Debian 7 (wheezy) but not in Debian 6.)
It was originally promoted as a standalone project (code-named gweb2) but was adopted as the official Ganglia web interface around the release of Ganglia 3.3.0. This web page provides a useful overview of what has changed and here is the original release announcement.

The project itself, as a community book, pays no royalties back to the contributors, as we have chosen to donate all proceeds to charity. People who contributed to the book include
Robert Alexander, Jeff Buchbinder, Frederiko Costa, Alex Dean, Dave Josephsen, Bernard Li, Matt Massie, Brad Nicholes, Peter Phaal and Vladimir Vuksan and we also had generous assistance from various members of the open source community who assisted in the review process. Ganglia itself started at University of California, Berkeley as an initiative of Matt Massie, for monitoring HPC cloud infrastructure My own contact with Ganglia only began in 2008 when I was offered the opportunity to work full-time on the enterprise-wide monitoring systems for a large investment bank. Ganglia had been chosen for this huge project due to it's small footprint, support for many platforms and it's ability to work on a heterogeneous network as well as providing dedicated features for the bank's HPC grid. This brings me to one important point about Ganglia: it's not just about HPC any more. While it is extremely useful for clusters, grids and clouds, it is also quite suitable for a mixed network of web servers, mail servers, databases and all the other applications you may find in a small business, education or ISP environment. Instantly up and running with packages One of the most compelling features, even for small sites with less than 10 nodes, is the ease of installation: install the packages on Debian, Ubuntu, Fedora, OpenCSW and some other platforms, and it just works. Ganglia nodes will find each other over multicast, instantly, no manual configuration changes necessary. On one of the nodes, the web interface must be installed for viewing the statistics. Dare I say it: it is so easy, you hardly even need the book for a small installation. Where the book is really compelling is if you have hundreds or thousands of nodes, if you want custom charts or custom metrics or anything else beyond just installing the package. If monitoring is more than 10% of your job, the book is probably a must-have. Excellent open source architecture Ganglia's simplicity is largely thanks to the way it leverages other open source projects such as Tobi Oetiker's RRDtool and PHP Anybody familiar with these tools will find Ganglia is particularly easy to work with and customise. Custom metrics: IO service times
One of my own contributions to the project has been the creation of ganglia-modules-linux, some plugins for Linux-specific metrics and ganglia-modules-solaris providing some similar metrics for Solaris.
These projects on github provide an excellent base for people to fork and implement their own custom metrics in C or C++
The book provides a more detailed account of how to work with the various APIs for Python, C/C++, gmetric (command line/shell scripts) and Java.
The new web interface
For people who had tried earlier versions of Ganglia (and for those people who installed versions < 3.3.0 and still haven't updated), the new web interface is a major improvement and well worth the effort to install.
It is available on the most recent packages (for example, it is in Debian 7 (wheezy) but not in Debian 6.)
It was originally promoted as a standalone project (code-named gweb2) but was adopted as the official Ganglia web interface around the release of Ganglia 3.3.0. This web page provides a useful overview of what has changed and here is the original release announcement.
Interesting times.. While the big disasters are ongoing, little ones have
been spicing up my life lately.
A pleasant week by the beach ended with a tropical storm passing over the
beach house. I've never experienced this before, and though Andrea was
diminished by passing over land, it was still more wind than I've ever
seen. I love wind, and this was thrilling, right on the edge of
danger but not quite there. At least, if you have sense to stay out of the
water. Leaving the beach, I heard of someone who tried to go surfing that
day, and drowned.
The night before last, I was startled to find nearly an inch of water
seeping up from underneath the tile floor of the kitchen. Probably it has
something to do with the pressure tank pumping system, which was repaired
while I was away, and means I actually have indoor running water here.
(Overrated.) This saw me scrambling to close every water valve, and out
with a flashlight at 2 am closing the cutoff at the 1000 gallon water
reservoir before it all drained into the house. While sopping up dozens of
gallons of water from the floor at 3 am probably doesn't sound like fun, I
found myself going through the motions elatedly.. Because this means I
finally am coming to understand the source of the damp that infests the
most earth-sheltered corner of this house. It's not condensation. It's bad
plumbing!
Then yesterday, I went out to try a dip in the river, stopped by the
neighborhood eatery and bait shop, and ended up sitting out on the back
deck eating ribs and listening to a band with "possum playboys" in their
name (which makes the full name fairly irrelevant), while looking out over
the river and the old-timey green metal bridge. Which was unexpected fun,
and the kind of thing you have to take in when it happens, but getting
stuck in a newly installed hole in my driveway was not. My car was
spinning, and I gave up and called it a night.
Here's the thing. I could feel my brain working on this stupid
"underpowered car is stuck in a small rut" issue all night long. Same
mental pathways activating that chew over bugs and design issues. Got up
this morning with a set of plans and contingency plans all ready to go. The
first one, of jacking it up and putting something under the tire was
stymied; it seems I am missing a jack. But the second, of digging out all
around the tire, and then filling in with gravel and cat litter (a tip from
some offroading website I blearily surfed last night), and then riding the
gas while releasing the bake, worked great.
All of which is to say, bring em on! But I still prefer my disasters in the
form of software bugs.
Hi folks,
I used to work at F5, and I pulled a bunch of equipment out of the recycle bin while I was there in order to help me populate the customer end premesis device inventory for a carrier network / ISP I am setting up. They decided to terminate my employment at the end of August last year, and I ve been wondering what to do with all of this equipment. I figured that it s been long enough that I can give them a call, so I did. I asked them whether I should consider buying BIG-IP hardware off of e-Bay if it said that it did not come with a license. The customer service agent told me that I should probably not consider doing any such thing, since I would have to pay a hefty fee to F5 before they would even provide a license.
It looks like I d have to shell out fifty thousand dollars to get a proper F5 Networks Inc. license for these many surplus BIG-IP devices I have. I guess I ll just have to go with an improper (or maybe I mean not for profit) operating system like Debian. I wonder if I can get the current linux kernel to pick up these broadcom 10GE chips or whether I ll have to wait for someone to release Free as in speech firmware for them that I can make use of.
Do any of you DDs want a shell on a linux box with a 10-port 10GE switch attached by PCI-e? I bet I could get a Debian chroot environment running in the system s stock rescue firmware. I bet I could then determine why the watchdog timer keeps tripping when I boot with other kernels
If you decide to accept the offer of a shell on this box, please try to avoid rebooting it. It tends to pop my breakers and I have to run to the shop before the UPSs run out of juice.
Nonetheless, the existence of this app may well be an even bigger problem for the NSA right now than it is for single women. US Government officials in damage control mode over the


If all goes well, a new release of dput-ng will hit the archive this week (depending on when I can find time to close the last 2 bigger bugs) - anyone interested in getting a new feature into dput-ng should email me (or file a reportbug bug at dput-ng)
Small list of changes so far:
* Add per-host loading of command files by partially parsing command
line arguments.
* Add disallowed_distributions.
* Add codename groupping support.
* Add codename groups to vital targets, limit security uploads
I've been singing for a long time. The first time I was a
member of a choir was when I was around 6-7 years old, and it was as a
member of the children's choir 'De Lambertijnen' in Ekeren, Belgium. Not
by coincidence, Ekeren is where I grew up.
However, I didn't remain a member of 'De Lambertijnen' for very long.
After a year or two, I was over the maximum age for members of that
choir, and "promoted" to Carmina, another children's choir of the
I've set up a windows machine yesterday (& today since this takes so
long). on my own old laptop. at home. & it's running in my apartment.
feels strange after living in windows-free apartments for quite some years.
& I'm still not sure how I feel about it.
the purpose of resurrecting my old laptop is to run a
Seeing
Normally Skype isn't mentioned by name on this blog, but today I'm making an exception.
When a new scandal broke out in the Australian Army today, one of the first questions asked was how does it compare to the
While the Skype scandal involved cadets behaving much like college kids elsewhere, this latest scandal involves the officer corp, the most senior officer implicated is allegedly a Lieutenant Colonel. Senior ranking officers like this have given many years of dedicated service to the country. They are widely respected and the vast majority of officers in these positions are unlikely to ever be implicated in such a scandal.
Officers are in leadership roles, it should be no surprise if they have top secret security clearances.
After the revelation that
Another maintenance release of
My hunch has just been exposed rather dramatically today:
As an Australian, my own rights and those of my family are more heavily protected and respected living in Europe than if I lived in my country of birth. Australia does not have a
Where did all the data go?
As the music industry has found out the hard way, digital data can be copied at will with the originator having no control.
The revelations that Britain and Australia are in on the PRISM shenanigans only confirms that this data is seen as a new form of currency for exchange in geo-political posturing. While used weapons take decades to work their way down the chain, data can spread at the speed of light.
With the new gitweb version available on alioth after the upgrade to wheezy (thanks to the alioth admins for their work on alioth), there is a new feature available I want to advertise a bit here: listing only a subtree of all repositories.
Before now one could only either look at a specific repository or get the list of all repositories
and the list of all repositories is quite large and slow.
With the new feature you can link to all the repositories in your alioth project. For example in reprepro's case that is