Commit Graph

8721 Commits

Author SHA1 Message Date
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
Michael Friedrich c0a3de64fb Fix match(), regex(), cidr_match() behaviour with MatchAll and empty arrays
fixes #5634
2017-09-29 14:45:15 +02:00
Michael Friedrich 86c83740af Docs: Fix wrong URL for 2.7.x
2.8 changes the layout, backports always require an adoption.

refs #5632
2017-09-29 10:51:04 +02:00
Michael Friedrich 9fdcfa4943 Docs: Mention SELinux in Getting Started chapter
refs icinga/icingaweb2#2973

refs #5632
2017-09-29 10:47:54 +02:00
Michael Friedrich 0ca9a1a5b3 Merge pull request #5632 from Icinga/feature/docs-getting-started-selinux
Docs: Mention SELinux in Getting Started chapter
2017-09-29 10:47:20 +02:00
Michael Friedrich 62942526ad Docs: Mention SELinux in Getting Started chapter
refs icinga/icingaweb2#2973
2017-09-29 10:41:01 +02:00
Michael Friedrich 43b7e2fb95 Merge pull request #5258 from Icinga/fix/clang-pthread
Fix clang compiler detection on Fedora and macOS
2017-09-28 16:57:54 +02:00
Michael Friedrich 2717396bfd changelog.py: Fix debugging leftover
refs #5600
2017-09-28 15:41:43 +02:00
Michael Friedrich 2d3149157f Fix clang compiler detection on Fedora and macOS
fixes #5257
2017-09-27 20:04:43 +02:00
Michael 2d036e6886 Fixed missing include statement in unit test
This adds the missing iostream include to the notification unit test.

refs #5613
2017-09-26 22:01:07 +02:00
Gunnar Beutner d14952f323 Merge pull request #5619 from Icinga/fix/changelog-project-name-error
Exit early in changelog.py if GitHub API fetch fails

fixes #5600
2017-09-26 07:40:09 +02:00
Michael Friedrich 90be8f9fb2 Merge pull request #5578 from mcktr/mcktr/fix/5577-doc-ssl-check-command
ITL: Re-Add ssl_sni attribute for check_tcp
2017-09-25 16:07:55 +02:00
Michael Friedrich 8fcb8ae5a9 Exit early in changelog.py if GitHub API fetch fails
fixes #5600
2017-09-25 16:05:05 +02:00
Gunnar Beutner 21d6198608 Merge pull request #5616 from Icinga/fix/build-warning
Fix a build warning
2017-09-25 12:23:07 +02:00