ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| A nagios plugin for ensuring that load balancers have at least a certain | |
| number of healthy nodes. | |
| Usage: | |
| Nagios Command: | |
| define command { | |
| command_name check_elb_healthy_hosts |
Here are some LXC links:
- https://github.com/portertech/kitchen-lxc
- https://github.com/chrisroberts/vagabond/blob/master/USAGE.md (lxc based alternative to Vagrant)
- https://github.com/fgrehm/vagrant-lxc and http://fabiorehm.com/blog/2013/04/28/lxc-provider-for-vagrant/
- http://webcache.googleusercontent.com/search?q=cache:http://stgraber.org/2012/05/04/lxc-in-ubuntu-12-04-lts/
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000This is what they use.
- http://graphite.wikidot.com/screen-shots | Screen Shots - Graphite
- https://github.com/etsy/statsd/blob/master/docs/graphite.md | statsd/docs/graphite.md at master · etsy/statsd · GitHub
- http://ericfarkas.com/posts/statsd-graphite-ubuntu/ | Setting up statsd + graphite on Ubuntu 12.04 LTS
- https://github.com/janoside/ubuntu-statsd-graphite-setup | janoside/ubuntu-statsd-graphite-setup · GitHub
- http://drupalcode.org/project/statsd.git/tree/refs/heads/7.x-1.x | drupalcode.org Git - project/statsd.git/tree
- http://collectd.org/ | Start page – collectd – The system statistics collection daemon
- http://hackerific.net/2012/02/27/monitoring-things-with-collectd/ | Monitoring Things with collectd
- https://github.com/sensu/sensu-community-plugins | sensu/sensu-community-plugins · GitHub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # With Vagrantfile's chef.json: | |
| chef.json = { | |
| "postgresql" => { | |
| "version" => "9.2" | |
| } | |
| } | |
| # Calling a premade databag item, from a recipe | |
| # ! This probably will require modifications |
- RVM (or rbenv, but this will use RVM)
- You're using RVM or rbenv to manage your rubies, right? If not, you should be.
- Virtualbox
- some cookbooks you wrote and want to test
We don't want to mess up our carefully crafted Chef 10.x environment, right? We'll use rvm gemsets to make a disposable set of gems. If something goes wrong, just close the terminal you're in, or run rvm gemset use default. You'll drop back to the default gemset.
Since this is on Hacker News and reddit...
- No, I don't distribute my résumé like this. A friend of mine made a joke about me being the kind of person who would do this, so I did (the link on that page was added later). My actual résumé is a good bit crazier.
- I apologize for the use of
_tin my types. I spend a lot of time at a level where I can do that; "reserved for system libraries? I am the system libraries". - Since people kept complaining, I've fixed the assignments of string literals to non-const
char *s. - My use of
type * name, however, is entirely intentional. - If you're using an older compiler, you might have trouble with the anonymous unions and the designated initializers - I think gcc 4.4 requires some extra braces to get them working together. Anything reasonably recent should work fine. Clang and gcc (newer than 4.4, at le
This tutorial guides you through creating your first Vagrant project.
We start with a generic Ubuntu VM, and use the Chef provisioning tool to:
- install packages for vim, git
- create user accounts, as specified in included JSON config files
- install specified user dotfiles (.bashrc, .vimrc, etc) from a git repository
Afterwards, we'll see how easy it is to package our newly provisioned VM