2291 Commits

Author SHA1 Message Date
Alexander A. Klimov
ed268de7f7 Merge remote-tracking branch 'origin/master' into HEAD 2023-06-22 16:05:48 +02:00
Alexander A. Klimov
5e2b09985f Repair <a id="plugin-check-commands"></a> 2023-06-19 13:46:02 +02:00
Alexander A. Klimov
0d57a803bc Otherwise, all older nodes which load the modified _PowerShell Base_ (e.g. from a global zone) will reject all new configuration 2023-06-19 13:45:10 +02:00
Alexander A. Klimov
c6f33434d9 CheckCommand "ifw-api-if-exists" 2023-06-13 15:55:26 +02:00
Alexander A. Klimov
9ee3186bff docs 2023-06-12 12:37:33 +02:00
Alexander A. Klimov
2a378e9bbe no undef. behavior? - ok. 2023-06-07 16:44:48 +02:00
Alexander A. Klimov
f0dcdc87e6 make IDE happy 2023-06-07 16:40:56 +02:00
Alexander A. Klimov
40859ac938 ifw\_api\_arguments must not directly contain functions 2023-06-07 16:01:30 +02:00
Alexander Aleksandrovič Klimov
a3dabde28a
Doc: Troubleshooting: recommend reducing concurrency for more speed (#9777) 2023-06-05 16:30:06 +00:00
Alexander A. Klimov
8f9454cbdd Remove ifw_api_ignore_arguments II 2023-06-01 11:35:36 +02:00
Alexander A. Klimov
b868471dc7 Remove ifw_api_ignore_arguments 2023-06-01 11:32:59 +02:00
Julian Brost
e2bfd21bae
Merge pull request #9767 from Icinga/doc-ifw
Doc: recommend IfW more prominently
2023-05-31 16:36:04 +02:00
Alexander A. Klimov
bbcde92dc6 Doc: recommend IfW more prominently
to make it the users' preferred choice.
2023-05-31 12:44:26 +02:00
Julian Brost
68cebc6bd5
Merge pull request #9769 from Icinga/docs/parse-performance-data
Fix documentation for parse_performance_data DSL function
2023-05-25 11:01:39 +02:00
Julian Brost
07d2527c7f
Merge pull request #9703 from Icinga/NSClient++
Windows MSI: don't bundle NSClient++
2023-05-24 14:49:54 +02:00
Julian Brost
9463c937e6
Fix documentation for parse_performance_data DSL function
The function does not support parsing multiple values at once but instead
generates labels like "foo=1 bar":

  Icinga 2 (version: v2.13.0-729-g8fe957bc2)
  Type $help to view available commands.
  <1> => parse_performance_data("foo=1 bar=2")
  {
  	counter = false
  	crit = null
  	label = "foo=1 bar"
  	max = null
  	min = null
  	type = "PerfdataValue"
  	unit = ""
  	value = 2.000000
  	warn = null
  }

While a function with the documented behavior would probably be more useful,
that change can't be made in a compatible way as this would have to change the
return type from PerfdataValue to Array.
2023-05-22 16:56:43 +02:00
Alexander Aleksandrovič Klimov
23e50a1f64
Doc: don't mix up check_mysql and check_disk 2023-05-17 15:21:53 +02:00
Alexander A. Klimov
d552d0779e Bump Boost shipped for Windows to v1.82 2023-05-10 16:40:46 +02:00
Alexander A. Klimov
d3a21d9716 Mache Doku einfach geil 2023-05-05 13:09:59 +02:00
Alexander A. Klimov
1b7dc9ae04 docs: fix resolved on the command endpoint confusion 2023-05-05 13:02:39 +02:00
Alexander A. Klimov
0bd7324682 docs: less check\_by\_ssh 2023-05-05 12:56:16 +02:00
Alexander A. Klimov
e3c0e2dbd9 docs 2023-05-03 18:05:09 +02:00
Alexander A. Klimov
5638b3b234 Docs: Monitoring Basics: make Event Commands not a subsection of Dependencies 2023-04-17 13:43:19 +02:00
Julian Brost
50018c1d2b
Merge pull request #8218 from efuss/redundancy_group
Introduce redundancy groups for Dependency Objects
2023-04-05 18:49:58 +02:00
Alexander A. Klimov
bcd16cbfb0 Rewrite Dependency redundancy groups docs 2023-04-05 14:46:35 +02:00
Alexander A. Klimov
6c810ddd96 Windows agent wizard: remove checkbox "Install/Update bundled NSClient++" 2023-04-03 14:36:30 +02:00
Alexander A. Klimov
973b701400 Docs: conceal that NSClient++ is bundled on Windows 2023-04-03 14:36:20 +02:00
Alexander A. Klimov
cc872dac1f Remove CheckResultReader which has been deprecated for 5 major versions 2023-04-03 11:39:21 +02:00
Julian Brost
41065e30c8
Merge pull request #9485 from Icinga/cxx17
Require GCC 7+ for C++17
2023-03-31 14:06:55 +02:00
Julian Brost
7a7902cea7
Merge pull request #9715 from Icinga/StatusDataWriter
Remove StatusDataWriter which has been deprecated for 5 major versions
2023-03-31 12:32:43 +02:00
Alexander A. Klimov
bbf2e80002 Remove StatusDataWriter which has been deprecated for 5 major versions 2023-03-01 17:16:28 +01:00
Alexander A. Klimov
260eb5c475 CMakeLists.txt: provide sane defaults for which subsystems to build
not to have to explicitly disable particular ones in multiple locations.
2023-02-23 14:54:57 +01:00
Edgar Fuß
cfef9fdadc Introduce redundancy groups for Dependency Objects
Traditional behaviour was to regard all dependecies as cumulative (e.g., the parent considered unreachable if any one dependency is violated), commit ed5892238916ab667a4c9d904bd73acd3ed162f2 made all dependencies regarded redundant (e.g., the parent considered unreachable only if all dependency are violated). This may lead to unrelated services (or even hosts vs. services) inadvertantly regarded to be redundant to each other.

Most importantly, applying the explicit "disable-host-service-checks" dependency described in the "Monitoring Basics" chapter will defeat all other dependencies.

This commit introduces a new "redundancy_group" attribute for dependencies.
Specifying a redundancy_group causes a dependency to be regarded as redundant only inside that redundancy group.
Dependencies lacking a redundancy_group attribute are regarded as essential for the parent.

This allows for both cumulative and redundant dependencies and even a combination (cumulation of redundancies, like SSH depeding on both LDAP and DNS to function, while operating redundant LDAP servers as well as redundant DNS resolvers).

This commit lacks changes to the tests.
2023-02-21 16:23:36 +01:00
Alexander A. Klimov
616ccc45fc Require C++17 2023-02-20 15:35:37 +01:00
Alexander A. Klimov
9e90b17eb4 Require GCC 7+ 2023-02-20 15:35:37 +01:00
Julian Brost
a84a0a3cee
Merge pull request #8302 from Icinga/bugfix/windows-systemroot-aliases-6259
Macros: support $env.ENV_VAR_NAME$
2023-02-20 13:09:15 +01:00
Alexander Aleksandrovič Klimov
b4381c0bd3
Merge pull request #9677 from Icinga/docs-for-fedora
Docs: Fix instructions for Fedora
2023-02-15 19:47:32 +01:00
Eric Lippmann
2e3b569f2c docs: Fix how to set up our Fedora repository
We do not provide `icinga-rpm-release` RPMs since ages.
2023-02-15 15:33:54 +01:00
Eric Lippmann
ad27397f06
docs: Add missing "Install Icinga 2 on Fedora" heading 2023-02-15 10:14:01 +01:00
Alexander A. Klimov
6347d7a008 Bump Boost to v1.81 2023-02-14 14:36:16 +01:00
Alexander A. Klimov
2ec62d0dd9 Windows: bump OpenSSL to v1.1.1t 2023-02-14 11:40:44 +01:00
Alexander A. Klimov
b2b49caf61 Macros: support $env.ENV_VAR_NAME$
refs #6259
2023-02-10 17:21:29 +01:00
Julian Brost
14d7ee2777
Merge pull request #9585 from Icinga/apply-doc
Doc: Troubleshooting: Optimise apply rules and group assign conditions
2023-02-03 09:46:35 +01:00
Julian Brost
0bd972ff0c
Merge pull request #9647 from Icinga/Al2Klimov-patch-3
Docs: Windows Dev Environment: TL;DR: disable unity build
2023-02-01 17:02:51 +01:00
Julian Brost
6fc9038e4d
Merge pull request #9620 from Icinga/9526
Document Notification#times being not aware of downtimes
2023-02-01 14:31:27 +01:00
Alexander Aleksandrovič Klimov
4c2afb9279
Docs: Windows Dev Environment: TL;DR: disable unity build
This enables the individual C++ files, not just unity ones, in VS project tree.
2023-02-01 13:02:45 +01:00
Julian Brost
a24375bc91
Merge pull request #9264 from Icinga/Al2Klimov-patch-7
Doc: SUSE: install monitoring-plugins-all
2023-01-31 17:44:44 +01:00
Julian Brost
2ea866248b
Merge pull request #9642 from Icinga/9486a
ITL: let check_disk choose sane default units by itself
2023-01-27 22:22:24 +01:00
Markus Weber
0bdcd08e02
Add the Option to disable RetryWrites to CheckCommand of mongodb (#9539)
* Add the Option to disable RetryWrites to CheckCommand for newer check_mongodb.py

* Add documentation foor the Option to disable RetryWrites in the MongoDB-Check
2023-01-27 15:59:40 +00:00
Alexander A. Klimov
3a1b080338 ITL: let check_disk choose sane default units by itself
so it is responsible for output readability, prefdata precision
and SI vs. IEC on its own.
2023-01-27 16:21:40 +01:00