Commit Graph

1007 Commits

Author SHA1 Message Date
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
Simon Murray 899592c8ad Update InfluxDB line formatting
Fixes a couple issues to do with line formatting of influx DB data points.  All
keys and values need commas and white space escaping.  Values are also checked
for type.  If a numeric or scientific value is detected this is output as an
Influx floating point/scientific number.  Booleans are detected and output in
a canonical format.  All other values are strings, which have double quotes
escaped and the entire string is wrapped in double quotes.  The handling of
thresholds has changed before this becomes officially released.  These values
if available are passed to the accumulation function in a dictionary, said
dictionary builds a single data point with multiple fields, rather than the
existing 5 data points, thus saving bandwidth costs.

fixes #11904

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-08 11:01:23 +02:00
Gunnar Beutner 0eb0992d5e Fix custom notifications in a HA zone
fixes #9242
2016-06-07 12:44:12 +02:00
Jens Schanz 244bdd97aa Update documentation for the log_duration attribute
fixes #11905
2016-06-07 08:26:31 +02:00
Evgeni Golov 6e77c7e56f Docs: Fix formatting of client reload cli command
fixes #11903

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-06 14:02:59 +02:00
Claudio Kuenzler f125cdf595 ITL: Add CIM port parameter for esxi_hardware CheckCommand
fixes #11869

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-06 13:46:52 +02:00
Michael Friedrich 88dff68567 Documentation: Fix missing quotes for API action URL
fixes #11847
2016-05-25 21:19:33 +02:00
Michael Friedrich 2356ec021a node setup: Add a note for --endpoint syntax for client-master connection
fixes #11793
2016-05-25 10:24:18 +02:00
Evgeni Golov 5a011fcb28 Docs: Use HTTPS for debmon.org
Except for apt itself, as that needs the non-default apt-transport-https

fixes #11837

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-05-25 09:57:04 +02:00
Gunnar Beutner 7b371f20d8 Add note about check intervals
refs #11825
2016-05-24 12:42:02 +02:00
Heike Jurzik 1fbb653f94 Fixes typos, dashes and some punctuation mark
refs #11599
2016-05-23 14:45:01 +02:00
Heike Jurzik 65e1cb83de Changes hyphens (-) to en dashes (typography)
refs #11599
2016-05-23 14:45:00 +02:00
Heike Jurzik a54c61df7f Fixes some grammar issues in chapters 12 and 13
refs #11599
2016-05-23 14:42:02 +02:00
Heike Jurzik 4607d22241 Fixes grammar and punctuation issues in chapters 8, 9, and 10
refs #11599
2016-05-23 14:42:02 +02:00
Heike Jurzik b1e1afc46a Fixes typos in chapter 6 and 7
refs #11599
2016-05-23 14:42:02 +02:00
Heike Jurzik 1aa0193741 Fixes some typos in chapter 5
refs #11599
2016-05-23 14:42:02 +02:00
Heike Jurzik acebae7ba8 Fixes some typos in chapter 4
refs #11599
2016-05-23 14:42:02 +02:00
Heike Jurzik 1f7a5b685f Fixes some typos/grammar issues and some code blocks
refs #11599
2016-05-23 14:42:02 +02:00
Philipp Dallig 54e1c8a9d5 Implement exclude and include ability for TimePeriod objects
This feature allows to exclude and include specific time period
objects and their time ranges from an existing time period object.

This comes in handy when e.g. excluding holidays.

fixes #7355

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-05-21 20:33:09 +02:00
Gunnar Beutner f8eb29f139 Release version 2.4.10 2016-05-19 13:39:19 +02:00
Gunnar Beutner e2f106b7ca Release version 2.4.9 2016-05-19 09:55:08 +02:00
Gunnar Beutner 9edda76af2 Release version 2.4.8 2016-05-12 14:06:28 +02:00
Michael Friedrich 91e073464a Update documentation for /v1/actions/remove-downtime
refs #11779
2016-05-12 10:59:52 +02:00
Gunnar Beutner f6f3bd1e4c Implement support for limiting the number of concurrent checks
fixes #8137
2016-05-10 11:26:55 +02:00
Michael Friedrich e3ddccc867 Docs: Add a note for event command execution w/ command execution bridge clients
fixes #11742
2016-05-09 17:42:56 +02:00
Lee Clemens 7050529976 Add SSL support for the IdoMysqlConnection feature
fixes #9725

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-05-03 15:01:32 +02:00
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
Gunnar Beutner 46ff7bdf37 Fix incorrect links in the documentation
refs #9839
2016-04-21 14:04:56 +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 a9da311cbe Release version 2.4.7 2016-04-21 12:32:26 +02:00
Gunnar Beutner df25ee49ba Release version 2.4.6 2016-04-20 18:46:06 +02:00
Michael Friedrich b9c31ce83c Documentation: Zone attribute 'endpoints' is an array
fixes #11628
2016-04-20 12:31:25 +02:00
Gunnar Beutner 2e5164f417 Release version 2.4.5 2016-04-20 10:21:49 +02:00
Michael Friedrich dd60544c36 Documentation: Add Windows setup wizard screenshots
fixes #9618
2016-04-19 17:14:17 +02:00
Gunnar Beutner d8b0502d67 Make the socket event engine configurable
fixes #11522
2016-04-18 14:38:59 +02:00
Heike Jurzik 1be170fa1d Change some minor issues in 2-getting-started.md and add some screenshots
refs #11599

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-04-15 21:13:29 +02:00
Michael Friedrich f28997bec0 Docs: Remove instance_name from Ido*Connection example
fixes #11592
2016-04-14 16:04:29 +02:00
Thomas Widhalm 7afd0c4a26 Docs: Change the silent installation modifiers for the new msi packages
fixes #11437

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-04-12 11:04:21 +02:00
Gunnar Beutner dd28dbdb57 Fix incorrect link in the documentation
fixes #11564
2016-04-11 14:15:49 +02:00
Michael Friedrich 2b2e250def Implement support for overriding check command timeout
fixes #9283
2016-04-07 15:07:17 +02:00
Michael Friedrich 1fb0907bc4 Docs: Fix url for Icinga Web 2 installation docs
refs #11494
2016-04-01 10:06:50 +02:00
Assaf Flatto a6c4a9b266 Update Centos/Redhat/Fedora installation instructions
Old Docs gave wrong details on how to install Icinga 2.

fixes #11439

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2016-03-24 14:50:44 +01:00
Michael Friedrich 2b1f6d9403 Docs: Fix broken formatting in cluster manual SSL generation
fixes #11440
2016-03-23 13:09:49 +01:00
Thomas Widhalm 83589e365c Add silent installation, reference to NSClient++ and some extra information to the Windows Agent documentation
fixes #11437

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2016-03-23 10:12:43 +01:00
Dirk Goetz 41378a6c2d ITL: Add icingacli command
Including the subcommand 'businessprocess'.

fixes #10581
2016-03-21 20:57:24 +01:00
Michael Friedrich 84def15ae8 Add --method parameter for check_{oracle,mysql,mssql}_health CheckCommands
fixes #11098
2016-03-18 15:10:37 +01:00
Michael Friedrich b83a88ac05 Add --units, --rate and --rate-multiplier support for the snmpv3 check command
fixes #11194
2016-03-18 12:26:54 +01:00
Michael Friedrich 4c69e96025 Docs: Remove the migration script chapter
fixes #11407
2016-03-17 22:49:39 +01:00
Michael Friedrich e6f143942e Docs: Explain how to use functions for wildcard matches for arrays and/or dictionaries
... in assign where expressions

fixes #11402
2016-03-17 15:49:13 +01:00