Commit Graph

8784 Commits

Author SHA1 Message Date
Michael Friedrich a5b949bec2 Merge pull request #5682 from Icinga/feature/cert-migration
Implement support for migrating certificates to /var/lib/icinga2/certs
2017-10-20 14:26:16 +02:00
Gunnar Beutner f2d437e96c Implement support for migrating certificates to /var/lib/icinga2/certs
This commit includes documentation too.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-20 14:06:02 +02:00
Michael Friedrich 333b88f113 Merge pull request #5691 from mcktr/fix/doc-formatting
Fixed doc formatting
2017-10-19 11:54:34 +02:00
Michael f25e689f15 Fixed doc formatting
This fixes a minor doc formatting bug, where one closing bracket is outside the code tag.
2017-10-19 09:56:41 +02:00
Gunnar Beutner c514ff061a Merge pull request #5638 from strajansebastian/patch-1
Add support for check_address as default in database CheckCommand objects
2017-10-19 09:23:49 +02:00
Strajan Sebastian Ioan 2120772417 Add support for check_address as default in database CheckCommand objects
1. set the default hostname to the "$check_address$" for multiple CheckCommands
2. add support for  "$check_address$" for ping4 and ping6 commands which don't import the ipv4-or-ipv6 template

This commit changes the default address for redis, mongodb and elasticsearch to
use check_address instead of localhost. Users who might not have set this explicitly
in their services should adopt this.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-10-19 08:22:48 +02:00
Strajan Sebastian Ioan d78dd0b5d2 Fix some formatting issues in the ITL documentation
Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-10-19 08:22:42 +02:00
Michael Friedrich 55e708946c Merge pull request #5687 from Icinga/fix/jsonrpc-error-message-#5686
Improve error message for unknown cluster message functions
2017-10-18 17:10:37 +02:00
Michael Friedrich 606aa306fc Merge pull request #5688 from RobinOBrien/fix/template_library_documentation
Fixed typos and punctuation
2017-10-18 15:34:43 +02:00
Robin O'Brien 88730edfcf Fixed typos and punctuation errors in the icinga template library documenation file. Very minor changes. 2017-10-18 15:07:10 +02:00
Jean Flach aad96d6b09 Improve error message for unknow functions
refs #5686
2017-10-18 11:25:38 +02:00
Noah Hilverling 61e441be41 Merge branch 'mcktr-mcktr/feature/4128-win-edit-button'
fixes #4128
2017-10-16 15:08:47 +02:00
Noah Hilverling e2162b9a14 Replace space indents with tabs
refs #5545
2017-10-16 15:04:07 +02:00
Noah Hilverling f7f114f815 Merge branch 'mcktr/feature/4128-win-edit-button' of https://github.com/mcktr/icinga2 into mcktr-mcktr/feature/4128-win-edit-button 2017-10-16 14:34:47 +02:00
Michael Friedrich 199b43446c Merge pull request #5677 from mcktr/fix/doc-win-threshold-syntax
Fix typo in threshold syntax documentation
2017-10-16 12:00:19 +02:00
Michael cfcf192146 Fix typo in threshold syntax documentation 2017-10-15 17:28:30 +02:00
Michael Friedrich 9d68ae9f1f Merge pull request #5602 from Icinga/fix/config-validation-fails-on-windows-with-unprivileged-account-5515
Add windows process elevation and log message if user does not have privileges to read/write files
2017-10-13 16:31:12 +02:00
Michael Friedrich 005b2c4f9c Merge pull request #5647 from konstantin-kelemen/fix/itl-ipmi-sensor-missing-argument-5579
Allow to disable thresholds for ipmi CheckCommand
2017-10-13 14:05:31 +02:00
Konstantin Kelemen 9ddeba8ce6 Allow to disable thresholds for ipmi CheckCommand
fixes #5579

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-13 14:03:39 +02:00
Michael Friedrich 0b1ce7111c Merge pull request #5231 from Al2Klimov/bugfix/failure-to-kill-check-command-after-exceeding-timeout-is-not-reported-4981
Report failure to kill check command after exceeding timeout
2017-10-13 13:57:26 +02:00
Michael Friedrich 860229d832 Merge pull request #5672 from Tontonitch/feature/itl-snmp-service
add itl snmp-service for manubulon plugin check_snmp_win.pl
2017-10-13 09:59:58 +02:00
Yannick Charton 8c059886ac add itl snmp-service
add itl snmp service for manubulon plugin check_snmp_win.pl
2017-10-13 00:30:27 +02:00
Michael Friedrich 9dc5f29b6c Merge pull request #5640 from miken32/patch-1
ITL: Support weathermap data in snmp_interface CheckCommand
2017-10-12 16:57:43 +02:00
Michael Newton 88c863ae57 ITL: Support weathermap data in snmp_interface CheckCommand
See https://github.com/dnsmichi/manubulon-snmp/pull/26 for related commit.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-12 16:55:59 +02:00
Michael Friedrich 77ecdbd85c Merge pull request #5581 from Icinga/fix/api-crash-race-condition
Fix possible race condition in ApiListener locking
2017-10-12 13:40:59 +02:00
Michael Friedrich 87979fd0a1 Merge pull request #5637 from Icinga/fix/influxdb-unnecessary-string-casts
Fix unnecessary String() casts in InfluxdbWriter
2017-10-12 13:22:43 +02:00
Michael Friedrich 84a1ee8c90 Merge pull request #5668 from Icinga/feature/docs-enhance-monitoring-basics
Enhance Monitoring Basics in the documentation
2017-10-11 09:51:20 +02:00
Michael Friedrich 1da5c53fee Enhance Monitoring Basics in the documentation
This commit adds documentation for

* custom attributes value types and nested dictionaries
* better introduction into apply rules and usage examples
* better apply for iterations and explanations
* notifications with users on the host/service objects explained in a dedicated chapter
* command arguments and set_if - which values are supported
* macro() as scoped function
* alternative host check command

This also changes all code and config snippets to use
three backticks instead of four spaces indent.

fixes #5663
fixes #5664
fixes #5665
fixes #5666
fixes #5667
fixes #5186
fixes #5060
fixes #5662
2017-10-10 21:08:19 +02:00
Michael Friedrich fc098ead59 Merge pull request #5655 from Icinga/feature/docs-attribute-value-types
Enhance documentation with more details on value types for object attributes
2017-10-10 17:53:55 +02:00
Michael Friedrich 2d8607d6b0 Enhance documentation with more details on value types for object attributes
Main focus: Object attributes and their value types. Originates from the
API Event Streams patch to document their value types. Now applied to
the entire configuration objects chapter.

The API chapter and their value types has been changed to capitalized
type identifiers.

Value types are now explicitly told about inside monitoring basics. This
has been adopted into the Icinga 2 training material a long time ago
and finds its way into the docs too.

The CheckResult and PerfdataValue value types have been moved into the
advanced topics chapter. mkdocs doesn't like multiple `#` headings in one file
and did just hide it.

Also moved the Influxdb details into the features documentation where it
belongs.

Many small references and URLs to other chapters added.
E.g. dedicated chapters for object accessor examples, to better link against
time dependent thresholds.

Can serve as patch basis and reference for ITL documentation where the
value types are missing too.

This commit also fixes the non-requirement of "legacy-timeperiod" which
also is a default template import since 2.6.

This also fixes the state mapping issue.

fixes #4015
2017-10-10 17:52:49 +02:00
Michael Friedrich 9a04a99400 Merge pull request #5554 from Icinga/feature/cn-check-for-san
Add subjectAltName extension for all non-CA certificates
2017-10-10 17:50:01 +02:00
Michael Friedrich 5c55da88e8 Fix unique constraint matching for UPDATE downtime/comment runtime tables in DB IDO
fixes #5623
fixes #5603

refs #5636
2017-10-10 17:48:19 +02:00
Michael Friedrich ff570ad060 Merge pull request #5636 from Icinga/fix/db-ido-comments-downtimes-constraint-on-legacy-id-change
Fix unique constraint matching for UPDATE downtime/comment runtime tables in DB IDO
2017-10-10 17:47:47 +02:00
Michael Friedrich 06403c1147 Merge pull request #5635 from Icinga/fix/match-with-empty-array
Fix match(), regex(), cidr_match() behaviour with MatchAll and empty arrays
2017-10-10 17:46:51 +02:00
Michael Friedrich 15646a632d Docs: Fix missing default value for cluster-zone checks
refs #5652
2017-10-09 13:13:39 +02:00
Michael Friedrich 8b672bf1b6 Docs: Fix default value for `snmp_nocrypt` for Manubulon CheckCommand definitions
refs #5653
2017-10-09 13:13:07 +02:00
Michael Friedrich 6abba51365 Merge pull request #5652 from Icinga/fix/docs-cluster-zone
Docs: Fix missing default value for cluster-zone checks
2017-10-09 13:11:58 +02:00
Michael Friedrich 371d430864 Merge pull request #5653 from Icinga/fix/docs-manubulon-nocrypt-default-value
Docs: Fix default value for `snmp_nocrypt` for Manubulon CheckCommand definitions
2017-10-09 13:10:37 +02:00
Michael Friedrich 98ce2bf7c5 Docs: Fix default value for `snmp_nocrypt` for Manubulon CheckCommand definitions 2017-10-09 11:09:53 +02:00
Michael Friedrich 6c83da6945 Docs: Fix missing default value for cluster-zone checks 2017-10-09 10:21:54 +02:00
Michael Friedrich 102c1823e5 Merge pull request #5643 from Icinga/fix/buildfix-apple-clang-9.0.0
Fix debug builds on Apple Clang 9.0.0 (macOS High Sierra)
2017-10-02 14:57:49 +02:00
Michael Friedrich a521f49803 Fix debug builds on Apple Clang 9.0.0 (macOS High Sierra) 2017-10-02 13:49:42 +02:00
Michael Friedrich 29b7971fef Merge pull request #5624 from mcktr/mcktr/fix/missing-include-statements
Fixed missing include statement in unit test
2017-10-02 13:27:04 +02:00
Michael Friedrich f0e1114e8e Merge pull request #5641 from Icinga/fix/compiler-warnings-high-sierra
Fix compiler warnings on macOS 10.13
2017-10-02 13:14:47 +02:00
Gunnar Beutner dd9724bc55 Fix compiler warnings on macOS 10.13 2017-10-02 09:13:37 +02:00
Markus Frosch 43512a4f63 Improve documentation and Systemd config for TasksMax setting
This also disables setting a value by default.

Packaging should decide to install the config file:
`/etc/systemd/system/icinga2.service.d`

fixes #5611

refs #5612

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-09-29 17:37:46 +02:00
Michael Friedrich f95f3a9e30 Merge pull request #5612 from Icinga/bugfix/systemd-tasksmax
Improve documentation and systemd config on TaskMax
2017-09-29 17:36:57 +02:00
Markus Frosch c90dc34edb Improve documentation and Systemd config for TasksMax setting
This also disables setting a value by default.

Packaging should decide to install the config file:
`/etc/systemd/system/icinga2.service.d`

fixes #5611

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-09-29 17:34:32 +02:00
Michael Friedrich b9cfd4d2e9 Fix unnecessary String() casts in InfluxdbWriter
fixes #5629
2017-09-29 16:33:08 +02:00
Michael Friedrich 6061d56a7c Fix unique constraint matching for UPDATE downtime/comment runtime tables in DB IDO
fixes #5623
fixes #5603
2017-09-29 16:12:38 +02:00