Commit Graph

1061 Commits

Author SHA1 Message Date
Gunnar Beutner c99fb68c2d Implement support for getting a list of global variables from the API
fixes #11955
2016-06-16 08:38:15 +02:00
Gunnar Beutner 28dee2b79b Improve filter support for /v1/templates
refs #11941
2016-06-16 08:38:15 +02:00
Jan Wagner 5e3ea4720f ITL: Add option for ifName to Manubulon CheckCommand 'snmp_interface'
Recent Net-SNMP's snmpd daemon has changed behavior returning detailed
information about the network interfaces in the IF-MIB::ifDescr MIB.

There is a patch out there that is working around the issue (see also
https://bugs.debian.org/812837) by providing the behaviour via '-N'.

This path provides a way to make use of this workaround.

fixes #11931

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-15 18:02:36 +02:00
Gunnar Beutner ace6882b59 Implement support for retrieving a list of templates from the API
fixes #11941
2016-06-15 07:41:51 +02:00
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
Gunnar Beutner b39be65ccd Release version 2.4.4 2016-03-16 09:48:38 +01:00
Michael Friedrich f15c40c569 ITL: Missing documentation for nwc_health "mode" parameter
fixes #11107
2016-03-15 15:44:17 +01:00
Michael Friedrich d8b70f8ae1 ITL: Add additional http check command parameters for SSL version enforcement
refs #10358
2016-03-15 15:26:22 +01:00
Michael Friedrich af58be7884 Update development docs to use 'thread apply all bt full'
fixes #11385
2016-03-15 09:47:59 +01:00
Michael Friedrich 68449c2891 Docs: Add API examples for creating services and check commands
fixes #11350
2016-03-10 10:59:25 +01:00
Markus Frosch 19cb781172 Correct API URL example for acknowledge-problem
refs #11328
2016-03-08 09:35:39 +01:00
Brian De Wolf 2e1a2146f1 ITL: add check_http args for SSL version forcing
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>
2016-02-24 23:38:22 +01:00
Michael Friedrich dcc9772fd0 Docs: http check's URI is really just Path
fixes #10795
2016-02-24 22:13:03 +01:00
Michael Friedrich 3228586a62 Docs: Add an example for API joins with comments and host/services
fixes #10976
2016-02-24 21:31:10 +01:00
Michael Friedrich 8a81dac9f5 Release version v2.4.3 2016-02-24 14:26:59 +01:00
Andres Ivanov 7e4a08749f ITL: Add query option to check_postgres
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>
2016-02-23 22:16:00 +01:00
Gunnar Beutner f7a08a60ae Release version 2.4.2 2016-02-23 12:58:45 +01:00
Gunnar Beutner ccaf6e3dc4 Fix spelling mistakes in the documentation
refs #10669
2016-02-23 11:41:45 +01:00
Stefan Triep a5626bee5e Documentation: Fix escaping the pipe character in tables
fixes #11178

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2016-02-22 20:05:57 +01:00
Thomas Widhalm b7d55fcf48 Add check_iostat to ITL
fixes #10777

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-19 12:18:33 +01:00
Jean Flach 15a2b716c0 Document disk_ignore_reserved
fixes #11138
2016-02-12 13:15:23 +01:00
Jean Flach 964cfcebd3 Make schedule-downtime default fixed
fixes #10923
2016-02-08 16:04:41 +01:00
Tobias Birnbaum 8ab43a15cd Fix missing escaping in doc/7-icinga-template-library.md
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>
2016-02-04 22:45:33 +01:00
Tobias Birnbaum 14e5cc3292 Docs: Fix outdated link to icingaweb2-module-nagvis
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>
2016-02-04 22:44:22 +01:00
Michael Friedrich 22c21ebd61 Implement String#trim
fixes #11037
2016-01-26 16:01:14 +01:00
Gunnar Beutner 4412389eb6 Fix incorrect type name in the documentation
fixes #10998
2016-01-21 09:06:21 +01:00
Claudio Kuenzler da85c7a20e Fix mongodb CheckCommand
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10979
2016-01-18 15:43:51 +01:00
Eduard Güldner 09cb793402 Added exclude parameter in disk-windows CheckCommand
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
2016-01-18 10:27:54 +01:00
Sebastian Brückner 46000497cf Add timeout to snmpv3 check
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10920
2016-01-14 17:50:37 +01:00
Michael Friedrich a9d09e490d Better explaination for array values in "disk" CheckCommand docs
fixes #10959
2016-01-13 16:51:47 +01:00
Michael Friedrich c49fed204a Troubleshooting: Explain how to fetch the executed command
fixes #10964
2016-01-13 16:48:43 +01:00
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Simon Ruderich 35c829c017 doc/5-advanced-topics: add example how to use custom functions in attributes
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10947
2016-01-11 10:00:09 +01:00
Mathieu Lutfy 3a0ce83da3 Documentation: Fix typos in troubleshooting.
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10908
2016-01-04 10:04:25 +01:00
Michael Friedrich 95e62dfb1e Enhance "setting up check plugins" documentation
fixes #10880
2015-12-18 14:33:55 +01:00
Daniil Yaroslavtsev d739675799 GelfWriter: Add additional fields for 'CHECK RESULT' events
fixes #9858
2015-12-18 11:05:38 +01:00
Michael Friedrich 5426431b77 Documentation: Fix formatting in "Advanced Filters" chapter
fixes #10852
2015-12-15 14:03:01 +01:00
Michael Friedrich a1228972ae Fix missing documentation for API packages zones.d config sync
fixes #10825
2015-12-11 12:03:31 +01:00
Michael Friedrich a36dd6e2f9 Documentation: Fix missing SUSE repository for monitoring plugins
fixes #10806
2015-12-09 15:33:31 +01:00
Michael Friedrich 8255c77ed4 Documentation: Fix postgresql-setup initdb
fixes #10779
2015-12-08 16:04:02 +01:00
Gunnar Beutner ba1cc1c5fa Update the documentation 2015-12-04 15:31:00 +01:00
Sebastian Chrostek ab9218e801 Add ipv4 / ipv6 support for all monitoring-plugins
Add some options to check_smtp/check_ssmtp/check_imap/check_simap/check_pop/check_spop

Refs #10669

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-11-30 08:36:36 +01:00
Michael Friedrich 737c574cdf Fix missing num_hosts_pending in /v1/status/CIB
fixes #10736
2015-11-26 20:03:46 +01:00
Michael Friedrich 9289971829 Remove IcingaStatusWriter feature
fixes #10140
2015-11-26 19:30:40 +01:00
Gunnar Beutner bcdcfa9f81 Release version 2.4.1 2015-11-26 11:20:03 +01:00
Michael Friedrich 6e1da02d37 Add a note for different binary locations to development docs
refs #10710
2015-11-26 10:33:13 +01:00
Markus Waldmueller 7ecc6f782e Documentation: Fix error in Access Object Attributes at Runtime example
fixes #10528

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-11-25 16:48:40 +01:00
Michael Friedrich 95d435ffc2 Fix wrong icinga2 binary in development docs
fixes #10710
2015-11-23 14:38:52 +01:00
Gunnar Beutner 5f220768e9 Add running_kernel_use_sudo option for the running_kernel check
fixes #10693
2015-11-23 13:29:45 +01:00
Gunnar Beutner 2320f7a32a Implement Platform* global variables
refs #10693
2015-11-23 13:10:25 +01:00
Simon Ruderich f38c105fcd Fix typos in the documentation
fixes #10692

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-11-20 16:13:58 +01:00