icinga2/lib/perfdata
Simon Murray 2e8c8809ea Add service metadata to InfluxDB Writer
Adds a new configuration variable in keeping with the graphite writer
which defaults to false to save network bandwidth.  All metrics currently
supported by graphite are now available to InfluxDB.  I added in some
formatting functions, to handle integers and booleans as we know and
control their types, and the supporting regexes in the sanity checker.

Updating to InfluxDB 0.13.X started giving 400 errors due to the missing
Host header in HTTP/1.1 requests.  HttpRequest has been updated to auto-
magically add the host and port to these requests if not explicitly
stated by the client code.

The exception code has been cleaned up to break out of the function
early if such a condition is raised, this avoids unnecessarily executing
code which will ultimately fail.

fixes #11912

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-08 13:23:52 +02:00
..
CMakeLists.txt Add InfluxDB Writer 2016-05-03 14:12:51 +02:00
gelfwriter.cpp Move CalculateExecutionTime and CalculateLatency into the CheckResult class 2016-05-10 12:16:49 +02:00
gelfwriter.hpp Use check_result timestamp for GELF log messages 2016-04-11 14:48:16 +02:00
gelfwriter.ti Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
graphitewriter.cpp Move CalculateExecutionTime and CalculateLatency into the CheckResult class 2016-05-10 12:16:49 +02:00
graphitewriter.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
graphitewriter.ti Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
influxdbwriter.cpp Add service metadata to InfluxDB Writer 2016-06-08 13:23:52 +02:00
influxdbwriter.hpp Add service metadata to InfluxDB Writer 2016-06-08 13:23:52 +02:00
influxdbwriter.ti Add service metadata to InfluxDB Writer 2016-06-08 13:23:52 +02:00
opentsdbwriter.cpp Move CalculateExecutionTime and CalculateLatency into the CheckResult class 2016-05-10 12:16:49 +02:00
opentsdbwriter.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
opentsdbwriter.ti Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
perfdatawriter.cpp Fix exception in PerfdataWriter::RotateFile 2016-05-18 14:01:32 +02:00
perfdatawriter.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
perfdatawriter.ti Update copyright headers for 2016 2016-01-12 08:29:59 +01:00