Add icinga_stats collector

Commit adds icinga_stats collector which produces metrics by scraping data in
status.dat file produced by Icinga/Nagios.

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Icinga Stats Collector - remove trailing wspace
Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Icinga Stats Collector - "translations" didn't work

Value translations didn't work, because "0,1,2" will match [0, 1]. Let's convert
given value to int which is exactly what we want.

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
icinga_stats - fix metric collision

Commit fixes metric collision between hosts.scheduled and
hosts.scheduled.{01,05,15}. This was caused by incorrect split().

Signed-off-by: Zdenek Styblik <zdenek.styblik@icflix.com>
Unraveled staircase of nested for loops
Remove history - not needed
Comment out debug stmt
Reduce the number of calls to connect_to_region(..). Was causing collector times to double
fix(feat): better exception handling in uptime collector to pass tests

Change-Id: I6a63233247224bb674cf4866dbc3cf2183a3cb75
fix(feat): made elasticsearch field optional (not available in fixture data from older version)

Change-Id: I43234c7903c66e547c4e89570cc0489dc9315279
Merge pull request #695 from rtoma/es-fix

fix(feat): bug fixed to allow pass of elasticsearch unittest
Merge pull request #694 from rtoma/fix-uptime

fix(feat): better exception handling in uptime collector to pass tests
Auto detect ipv6 by default in graphite handler
flow_info and scope_id must be integers in graphite handler
Add a HBase metrics collector.

This change adds a basic hbase metrics collector that works in the same
way that the hadoop collector does.
Merge pull request #699 from liquidgecka/master

Add a HBase metrics collector.
Merge pull request #698 from tg90nor/master

Auto detect ipv6 by default in graphite handler
fix(test): making the httpd testcase work

Change-Id: Ie86f20f42a17ebeb0b70726bc284571383587a9b
fix(test): lots of mocking for GraphiteHandler to avoid real network action, tests now pass again

Change-Id: I65f0868de54cc603afca997b09f3c944f548f6a9
Merge pull request #701 from rtoma/graphite-handler-fix

fix(test): make the GraphiteHandler tests pass again