Commit Graph

7554 Commits

Author SHA1 Message Date
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
Michael Friedrich 2faf121ff4 Remove commentsand downtimes with reference to deleted checkable objects
Silence the warning message and change the log level to notice as well.

fixes #10717
2016-05-03 11:30:02 +02:00
Michael Friedrich 23ab6cf78b Fix: Expired downtimes are not removed
fixes #11711
2016-05-02 15:32:46 +02:00
Jean Flach 360e0ad548 Fix external commands comments crashing icinga
Now an exception will be thrown when AddSvcComment or AddHostComment are
run with and empty Author or comment

fixes #11112
2016-04-25 16:58:00 +02:00
Gunnar Beutner 93a09b874b Remove the (unused) 'inherits' keyword
fixes #11659
2016-04-22 13:49:30 +02:00
Michael Friedrich 7442cd94f5 Fix crash with empty ScheduledDowntime 'ranges' attribute
fixes #11158
2016-04-22 11:00:21 +02:00
Gunnar Beutner c54de4b615 Implement SNI support for the CLI commands
fixes #11651
2016-04-21 15:44:51 +02:00
Gunnar Beutner 8b7d59eb34 Implement support for subjectAltName in SSL certificates
fixes #11556
2016-04-21 15:25:57 +02:00
Gunnar Beutner 46ff7bdf37 Fix incorrect links in the documentation
refs #9839
2016-04-21 14:04:56 +02:00
Michael Friedrich b6435142f7 Update chocolatey packages and RELEASE.md
fixes #11647
2016-04-21 14:03:42 +02:00
Gunnar Beutner 2d55cf1341 Implement validation for the Logger#severity attribute
fixes #11646
2016-04-21 13:50:47 +02:00
Gunnar Beutner 5af437b5bb Add documentation for the DateTime type
fixes #9839
2016-04-21 13:31:12 +02:00
Gunnar Beutner 83625f5622 Fix incorrect chapter headers
fixes #11645
2016-04-21 12:53:55 +02:00
Gunnar Beutner 545d01327a Merge branch 'support/2.4' 2016-04-21 12:34:24 +02:00
Gunnar Beutner 941e488fb1 Release version 2.4.7 2016-04-21 12:33:10 +02:00
Gunnar Beutner 3c8e0fe013 Update RELEASE.md
refs #11638
2016-04-21 12:33:07 +02:00
Gunnar Beutner a9da311cbe Release version 2.4.7 2016-04-21 12:32:26 +02:00
Gunnar Beutner cf34aa80f5 Fix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries
fixes #11639
2016-04-21 12:29:20 +02:00
Gunnar Beutner aff13353ef Update RELEASE.md
refs #11638
2016-04-21 09:51:11 +02:00
Gunnar Beutner 4a32211de2 Fix crash in Ido{Mysql,Pgsql}Connection::ExecuteMultipleQueries
fixes #11639
2016-04-21 09:17:40 +02:00
Gunnar Beutner d1e6cdf62c Merge branch 'support/2.4' 2016-04-20 18:50:52 +02:00
Gunnar Beutner df25ee49ba Release version 2.4.6 2016-04-20 18:46:06 +02:00
Gunnar Beutner 5c8a31423f Release version 2.4.6 2016-04-20 18:45:54 +02:00
Michael Friedrich d5ae85a06d Update RELEASE.md
fixes #11638
2016-04-20 18:41:29 +02:00
Michael Friedrich d653b48c67 Fix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString
fixes #11635
2016-04-20 18:41:29 +02:00
Gunnar Beutner 2836ffab50 Build fix for Ubuntu Xenial
fixes #11634
2016-04-20 18:41:29 +02:00
Michael Friedrich 703ba45ec1 Documentation: Zone attribute 'endpoints' is an array
fixes #11628
2016-04-20 18:41:29 +02:00
Gunnar Beutner f8a4144198 Update the pick.py script
refs #11623
2016-04-20 18:41:17 +02:00
Michael Friedrich 0963344940 Update RELEASE.md
fixes #11638
2016-04-20 18:35:19 +02:00
Michael Friedrich d5c0d7366d Fix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString
fixes #11635
2016-04-20 18:21:39 +02:00
Gunnar Beutner 6cc72e68ec Build fix for Ubuntu Xenial
fixes #11634
2016-04-20 15:36:02 +02:00
Michael Friedrich b9c31ce83c Documentation: Zone attribute 'endpoints' is an array
fixes #11628
2016-04-20 12:31:25 +02:00
Gunnar Beutner b368d70f0a Merge branch 'support/2.4' 2016-04-20 10:47:43 +02:00
Gunnar Beutner d8abf00fef Release version 2.4.5 2016-04-20 10:22:13 +02:00
Gunnar Beutner 2e5164f417 Release version 2.4.5 2016-04-20 10:21:49 +02:00
Michael Friedrich 3dab52caf3 Documentation: Add Windows setup wizard screenshots
fixes #9618
2016-04-20 10:09:38 +02:00
Michael Friedrich 2d7bc74339 Windows Wizard: Fix 'Examine Config' directory
refs #11449
2016-04-20 10:09:38 +02:00
Michael Friedrich 6653c51df5 Update AUTHORS
refs #11617
2016-04-20 10:09:38 +02:00
Nicolas Limage 003e8e86c1 Fix typo in vim syntax highlighting
fixes #11617

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-04-20 10:09:38 +02:00
Gunnar Beutner d4b5ada951 Fix crash in Checkable::ExecuteCheck
fixes #11582
2016-04-20 10:09:38 +02:00
Gunnar Beutner cfafaee5b0 Move user data before running the uninstaller
refs #11449
2016-04-20 10:09:38 +02:00
Gunnar Beutner 089002fa21 Fix error message for the EventEngine variable
refs #11522
2016-04-20 10:09:37 +02:00
Gunnar Beutner feb4b97df7 Make the socket event engine configurable
fixes #11522
2016-04-20 10:09:37 +02:00
Gunnar Beutner 4c65061ab0 Update the agent wizard banner
fixes #11585
2016-04-20 10:09:37 +02:00
Gunnar Beutner d2ebb80c0a Fix "Run Icinga 2 wizard" option in the installer
refs #11449
2016-04-20 10:09:37 +02:00
Michael Friedrich 4c01555114 Docs: Remove instance_name from Ido*Connection example
fixes #11592
2016-04-20 10:09:37 +02:00
Gunnar Beutner a716b9f4d7 Fix include for icinga2.wixpatch (again)
refs #11449
2016-04-20 10:09:37 +02:00
Gunnar Beutner e17f5f7d00 Use _rmdir instead of _unlink
refs #11449
2016-04-20 10:09:37 +02:00
Gunnar Beutner 3c3ed80967 Remove the Icinga 2 directory (if it's empty) after running uninstall.exe
refs #11449
2016-04-20 10:09:37 +02:00
Gunnar Beutner 83e410a302 Remove cmake_policy call
refs #11449
2016-04-20 10:09:36 +02:00