The Artima Developer Community
Sponsored Link

Python Buzz Forum
I’ve been busy around the Internets this week; most of this centres around collectd;...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Aaron Brady

Posts: 576
Nickname: insommeuk
Registered: Aug, 2003

Aaron Brady is lead developer for Crestsource
I’ve been busy around the Internets this week; most of this centres around collectd;... Posted: Mar 4, 2011 7:15 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Aaron Brady.
Original Post: I’ve been busy around the Internets this week; most of this centres around collectd;...
Feed Title: insom.me.uk
Feed URL: http://feeds2.feedburner.com/insommeuk
Feed Description: Posts related to using Python. Some tricks and tips, observations, hacks, and the Brand New Things.
Latest Python Buzz Posts
Latest Python Buzz Posts by Aaron Brady
Latest Posts From insom.me.uk

Advertisement

I’ve been busy around the Internets this week; most of this centres around collectd; monitoring tool extraordinaire.

  • I’ve gotten to know collectd’s very pleasant source code, and contributed some new functionality (which non-coincidentally work benefits from). You can use this to have threshold notifications constantly report their status (previously you could only configure collectd to constantly report failures and warnings, not ‘okay’ messages). Patches for ‘master’ and 4.10. (Or, if you use Ubuntu, keep reading).

  • If we’re going to roll out collectd, then 95th percentile lines on the graphs are a must. collectd-web was the closest match to work’s requirements, though in the end not an ideal fit. Either way, it’s a good basis, so there’s a 95th patch, as well as basic Varnish and Conntrack plugin definitions on my fork.

  • The jQuery goodies in collectd-web aren’t really what I wanted from a web interface. I miss the old-time HTML-ness of Munin, and have attempted to recreate some of that with my first Flask app, collectd-flask. No documentation is provided, if it did exist it would be likely to be longer than the source code.

  • Given that there’s now functionality in patches for collectd that I need rolled out to a lot of machines, the obvious thing to do is build Debian packages. However, lacking any kind of private repository, using Ubuntu’s (really excellent) personal package archives has been great. You just build a source package, use dftp to upload it and then a Xen instance somewhere in the cloud builds your package for you (or, not, depending on errors). There’s now a PPA for Lucid with the Varnish plugin and PersistOK patch, and for Maverick with just PersistOK.

  • The Lucid package is maintained in this Bazaar repo. Previously it was maintained by running “diff -ru” a bunch of times. Memories.

Basically all of the infrastructure to do this is available via hosted services, almost exclusively free. I developed the patches on an Ubuntu VM, though technically you can get one of those for free from Amazon for a year. If you were very confident or patient, you could actually develop with a compiler, using the PPA service as your build server. (Though, that’s probably a pretty anti-social use of a shared resource).

Coding in the cloud; it’s here, and I’m late to it.

Read: I’ve been busy around the Internets this week; most of this centres around collectd;...

Topic: Whomever invented these self-securing plasterboard plugs should... Previous Topic   Next Topic Topic: Work in a Swedish company? Self-employed American in Sweden needs your helps

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use