Redis: add per database metrics

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
elasticsearch.py: correct misspelled variable name.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
tcollector.py: use the collector dir to determine the python path, not the executable location.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
varnishstat.py: avoid metric names forbidden by TSD.
Debian package: allow adding tags from the init default file.

It let us add some extra tags to be added by the agent
from the init script's default file. This is useful for
setting thing like data centre location.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Hadoop jmx colletors update.

Use jps to find the pid of the interesting VMs. Attach is more
reliable using the pid and only requires local socket access to JMX.
Include a set of attribs to ignore in the hbase collector.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
initd.sh: fix, $LOG should be $LOGFILE.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
ifstat.py: add support of new naming scheme of network interfaces.
tcollector.py: kill collectors and respawn if they're inactive for too long.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
procstats.py: send proc.meminfo.* in bytes rather than KB.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Added zookeeper collector script.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
zookeeper.py: drop_privileges and IPv6 support added.
zookeeper.py: proper exception handling added.
tcollector: possibility to turn off dedup functionality.
tcollector.py: change of --dedup-interval option description.
Give the meta stats a host tag, fixes #126.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
tcollector: tcollector.reader.lines_collected metric now tracks the number of lines collected.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Debian package: expose the max-bytes and backup-count options in the debian init script.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Add percent used to inodes and block.

This makes more sense when graphing a cluster of hosts where size of the
partition varies.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>