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>
The -S argument of check_http can take a number, which forces the connection to
use a specific SSL version. This is implemented as multiple options because
check_http does not accept the number following -S if they are separated.
fixes#10358
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
There were "query", "valtype" and "reverse" options missing
for "custom_query" action type in check_postgres plugin.
fixes#11205
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
There are several not properly escaped sequences in
doc/7-icinga-template-library.md
Namely these are missing backslashes in front of \n, \r, \t in various
occurrences. The make for example markup->latex conversion using pandoc
impossible.
fixes#11074
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
The link to icingaweb2-module-nagvis is pointing to an outdated
repository. This is fixed now by using the official Icinga-git
repository.
fixes#11075
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Added missing command parameter in definition for disk-windows CheckCommand
in order to be able to exclude certain drives from being checked.
This parameter was addressed in feature #9201
Further details can be found in feature #10787
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes#10787