Add option to sort instances by UUID rather than name, useful for OpenStack deployments where the name in not guaranteed to be unique but UUID is
Default sort_by_uuid to False
ElbCollector should not complain about invalid interval if it's disabled
Merge pull request #601 from lexelby/master

ElbCollector should not complain about invalid interval if it's disabled
Merge pull request #600 from stuartbfox/master

Add option to sort instances by UUID rather than name
ElbCollector should reference self.config, not config
Merge pull request #602 from lexelby/master

ElbCollector should reference self.config, not config
Add +x to 'debian/rules'

Commit adds +x to 'debian/rules' as it's required by dpkg-buildpackage command.

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Fix - 'status' in init script doesn't work properly

Init script reports incorrect 'status' of Diamond on Hosts when Host has LXCs
with Diamond running inside. This is caused by not using PIDFILE.
Commit fixes this issue by passing PIDFILE.

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
passenger_stats collector - rewrite

This is a slight rewrite of collector of passenger-stats.
Most notablechanges are:
  * ditch unnecessary subprocess() calls - use Python!
  * use compiled RE
  * clean up and re-write code - pretty much all of it
  * fix names of emitted metrics
  * collector no longer ends up as a Zombie process

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Small rewrite of RMQ PubSub handler

Commit is a small rewrite of RMQ PubSub handler and aims it to be more durable
and reliable. It also adds support for multiple RMQ servers in order to achieve
"HA". However, they all have to be configured in exactly the same way(which is
likely anyway).

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Rewrite of conntrack collector

Commit is a rewrite of conntrack collector. syscall to sysctl is
gone and replaced with open() of files in question. Also, count and maximum values
are being collected now instead of just count.

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Add 'memory_lxc' collector

Commit adds a new collector which collects per LXC memory utilization as well as
memory limit from '/sys/fs/cgroup/lxc'.

It produces metrics:
 * lxc.<LXC_NAME>.memory.limit_in_bytes
 * lxc.<LXC_NAME>.memory.usage_in_bytes

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Make the cpuacct_cgroup collector honour the path option and remove the CPUACCT_PATH constant
Removed the unused 'xenfix' option
Added is True conditional to sort_by_uuid option check
Added help text
Added help text
Merge pull request #604 from stuartbfox/master

add "is True" conditional to libvirt sort_by_uuid option, general cpuacct_cgroup cleanup
Merge pull request #605 from zstyblik/pr-20140508

multiple fixes - init script, passenger_stats, RMQ pubsub handler
Fix UnboundCollector to work properly with sudo
Fixup ExampleCollector to have a proper minimal diamond.conf