icinga2/lib
Simon Murray 79c1e883d1 Add InfluxDB Writer
Adds an Icinga2 object to directly interface with InfluxDB's native HTTP API.
This supports optional basic authorization, and TLS transport.  InfluxDB didn't
appear to like having the TLS stream kept open, so instead this object buffers
data points which are then flushed to InfluxDB as a batch write, either driven
by a configurable timeout or threshold.

As InfluxDB is a schema-less database the host and service templates are user
configurable allowing both the measurement field and tags to be set by the
end user via macro expansion.  This allows access to tag fields from arbitrary
data associated with host.vars or service.vars.  If a particular value is
unable to be resolved, the tag will be dropped and not transmitted to InfluxDB.

Also alters URL handling to omit array brackets when only a single value is
attached to a key, otherwise InfluxDB has a strop with non-standard syntax.

fixes #10480

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-05-03 14:12:51 +02:00
..
base Implement support for subjectAltName in SSL certificates 2016-04-21 15:25:57 +02:00
checker Implement support for upgrading NSIS-based installations 2016-04-01 08:42:58 +02:00
cli Remove commentsand downtimes with reference to deleted checkable objects 2016-05-03 11:30:02 +02:00
compat Fix: Expired downtimes are not removed 2016-05-02 15:32:46 +02:00
config Remove commentsand downtimes with reference to deleted checkable objects 2016-05-03 11:30:02 +02:00
db_ido Fix: Expired downtimes are not removed 2016-05-02 15:32:46 +02:00
db_ido_mysql Fix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries 2016-04-21 09:17:40 +02:00
db_ido_pgsql Fix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries 2016-04-21 09:17:40 +02:00
demo Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
hello Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
icinga Fix: Expired downtimes are not removed 2016-05-02 15:32:46 +02:00
livestatus Fix: Expired downtimes are not removed 2016-05-02 15:32:46 +02:00
methods Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
notification Fix crash in Downtime::DowntimesExpireTimerHandler 2016-04-12 12:05:43 +02:00
perfdata Add InfluxDB Writer 2016-05-03 14:12:51 +02:00
remote Add InfluxDB Writer 2016-05-03 14:12:51 +02:00
CMakeLists.txt Update copyright headers for 2016 2016-01-12 08:29:59 +01:00