Commit Graph

8643 Commits

Author SHA1 Message Date
Michael Friedrich 3cb92bb900
Merge pull request #5710 from mcktr/feature/add-global-zones-during-wizard
Include default global zones during node wizard/setup
2017-10-31 12:24:16 +01:00
Michael 86cdc5bc53 Include default global zones during node wizard/setup
This changes the GenerateNodeMasterIcingaConfig and GenerateNodeIcingaConfig
functions inside the nodeutillity class to the effect, that the default global
zones global-templates and director-global will be written to the generated
zones.conf that is created during the node wizard/setup.

refs #5707

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-31 12:07:12 +01:00
Michael Friedrich aaf179f06b
Merge pull request #5708 from RobinOBrien/fix/small-documentation-fix
Fixed grammar and spelling mistakes
2017-10-31 11:34:41 +01:00
RobinOBrien 1eb97a88a9
Merge branch 'master' into fix/small-documentation-fix 2017-10-31 10:18:57 +02:00
Jean Flach aad100aa6a
Merge pull request #5709 from bascarsija/fix/flapping-documentation-typo-5703
fixes minor typos in flapping detection documentation
2017-10-30 17:42:58 +01:00
Robin O'Brien 31a35a5966 Fixed grammer and spelling mistakes 2017-10-30 18:02:42 +02:00
bascarsija 4433ecea52 fixes minor typos in flapping detection documentation
refs #5703
2017-10-25 12:54:01 -07:00
Jean Flach 9ba5b4f4b7 Merge pull request #5693 from Icinga/fix/flapping-old-4982
Re-implement flapping

fixes #4982
2017-10-24 16:58:59 +02:00
Gunnar Beutner cc5bc6c872 Make the 'deprecated' keyword work for all field types 2017-10-24 15:54:16 +02:00
Jean Flach a21ffd6fe4 Fix flapping
Re-implement flapping following the 'old way' of just observing the last
20 stage changes.

refs #4982
2017-10-24 15:54:05 +02:00
Gunnar Beutner 2bbb5366fd Merge pull request #5620 from Icinga/fix/api-staging-3668
WIP: Ensure that the REST API config package/stage creation is atomic
2017-10-24 12:51:09 +02:00
Jean Flach 75aff85f47 Merge pull request #5696 from Icinga/fix/crash-with-premature-eof-on-resource-limited-os-5617
Fix fork error handling
2017-10-24 12:50:29 +02:00
Noah Hilverling 3e8f78e2cc Process: Fix fork error handling
refs #5617
2017-10-23 11:01:42 +02:00
Noah Hilverling 7930ae5094 Process: Remove log message from child process 2017-10-23 11:01:16 +02:00
Jean Flach 20e8fe5ed3 Update mkdocs.yaml
refs #5450
2017-10-23 10:07:31 +02:00
Michael Friedrich af2b360764 Merge pull request #5695 from Icinga/feature/docs-distributed-security
Enhance Security chapter for Distributed Monitoring documentation
2017-10-20 17:35:20 +02:00
Michael Friedrich 108efef5a1 Enhance Security chapter for Distributed Monitoring documentation
https://monitoring-portal.org/index.php?thread/42175-newbie-zones/
2017-10-20 17:22:51 +02:00
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 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