Debian package: fix of fail of adduser/addgroup commands if the user already exists.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Fix a TypeError: 'tuple' object does not support item assignment
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>
Add cpu scaling support to prostats.py