postgresql.py:
- Map the metric names directly to the column names
- Turn on autocommit on the connection, or the stats wont update,
  as pg_stat_database is only updated at the start of a transcation.
- Fix a bug where only all databsae stats get mapped to the
  last database

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
prostats.py: cpu scaling support added.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
smart-stats.py add a check to exit gracefully if no block devices are found.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
elasticsearch.py: ES v1 supported.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Add a collector bridge for the basic graphite protocol.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Move hbase and hadoop to http /jmx collection

* remove the old java jars
* Create an http base class for hadoop metrics2
* Create hadoop namenode and datanode subclasses
* create hbase master and regionserver subclasses
* refactor some functions into utils.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Try to fallback to ordereddict for Python < 2.7
Properly handle the json module being missing.
netstat.py: handle multiple sets of data for the same data type, e.g. IcmpMsg.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
tcollector.py: revert default loglevel to INFO.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
hbase_regionserver.py: fix region metrics splitting

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
tcollector.py: refactor the way adding default tags works, so for any line,
it will add the tags if they're not already present.
This allows for defaults that can be overridden in a collector.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
iostat.py: add statistic metric svctm.
Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
iostat.py: add statistic metric await.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
iostat.py: add statistic metric util.

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
startstop: fix bug for mac: readlink: illegal option -- f

Signed-off-by: Vasiliy Kiryanov <vasiliy.kiryanov@gmail.com>
Permissions change of hadoop_datanode.py and hadoop_namenode.py
to collectors regular 775
Debian package: fix of invalid use of status_of_proc() at init script
iostat.py: code cleanup
ifstat.py: code cleanup