13610 Commits

Author SHA1 Message Date
Alexander A. Klimov
ccd024c6df Merge branch 'feature/checkcommand-icinga4win-api' into aklimov/feature/checkcommand-icinga4win-api 2023-06-30 14:48:28 +02:00
Alexander A. Klimov
10ffcb8189 build fix 2023-06-30 14:48:13 +02:00
Alexander A. Klimov
d835c7b902 Merge branch 'feature/checkcommand-icinga4win-api' into aklimov/feature/checkcommand-icinga4win-api 2023-06-30 13:36:55 +02:00
Alexander A. Klimov
44e1a75d93 Check multi :( 2023-06-30 13:36:10 +02:00
Alexander A. Klimov
ac74d6e17f namespace 2023-06-23 16:26:47 +02:00
Alexander A. Klimov
bf14f4995d Re: https://github.com/Icinga/icinga2/pull/9062#pullrequestreview-1307534589 2023-06-23 13:22:05 +02:00
Alexander A. Klimov
f83bf559bc namespace 2023-06-23 11:43:48 +02:00
Alexander A. Klimov
69c3016268 namespace 2023-06-23 11:43:48 +02:00
Alexander A. Klimov
ed268de7f7 Merge remote-tracking branch 'origin/master' into HEAD 2023-06-22 16:05:48 +02:00
Alexander A. Klimov
9ce70c8740 #include <boost/system/system_error.hpp> 2023-06-21 15:51:53 +02:00
Alexander A. Klimov
dc47ad4e70 Helpful messages 2023-06-21 15:51:39 +02:00
Alexander A. Klimov
e4f51cdc29 expected an array of strings 2023-06-21 15:51:39 +02:00
Alexander A. Klimov
6eade04bd8 perfdata: expected an array 2023-06-21 15:51:39 +02:00
Alexander A. Klimov
b783ee1257 exitcode == {ServiceOK, ServiceWarning, ServiceCritical, ServiceUnknown} 2023-06-21 15:51:39 +02:00
Alexander A. Klimov
22f9e924c3 code style 2023-06-21 15:51:39 +02:00
Alexander A. Klimov
bd0a5338ce static CONST auto 2023-06-21 15:51:39 +02:00
Alexander A. Klimov
ced0427868 Missing ." + psCommand + ".exitcode in JSON object from IfW API 2023-06-21 15:51:39 +02:00
Alexander A. Klimov
4703b4662c Timeout exceeded 2023-06-21 13:37:33 +02:00
Alexander A. Klimov
050dff41af headers 2023-06-20 18:06:42 +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
a80701922c curl: --verbose, for debugging after all 2023-06-19 13:24:45 +02:00
Alexander A. Klimov
4fee8042c8 Fix curl --resolve 2023-06-19 13:16:20 +02:00
Alexander A. Klimov
9b86779078 ApiCapabilities: trailing , 2023-06-19 13:00:17 +02:00
Alexander A. Klimov
518f9553c4 ApiCapabilities: 1 << x 2023-06-19 12:59:59 +02:00
Alexander A. Klimov
3f12640569 placebo 2023-06-14 16:09:31 +02:00
Alexander A. Klimov
249bccf49a Call PluginCheckTask::ScriptFunc() and hope for the best 2023-06-13 16:03:28 +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
cd508c2e7b $ifw_api_arguments$ may not directly contain functions 2023-06-12 12:17:55 +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
9309d510ed curl for debug 2023-06-05 13:01:16 +02: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
7c381ae12f
Merge pull request #9779 from Icinga/macroprocessor-resolvemacro-quasi-cv-object-icingaapplication
MacroProcessor::ResolveMacro(): treat quasi-CV-object IcingaApplication as real CV-object
2023-05-31 20:41:31 +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
a9c80ffb2e MacroProcessor::ResolveMacro(): treat quasi-CV-object IcingaApplication as real CV-object
As MacroProcessor checked just for CustomVarObject base class, but
IcingaApplication provided the vars attribute by itself, it had to also
resolve CV macros by itself. That logic diverged from MacroProcessor so that
macros inside IcingaApplication CVs weren't resolved. Until now.
2023-05-31 16:35:09 +02:00
Julian Brost
bc492cc3ce
Merge pull request #9688 from Icinga/bugfix/selinux-sudo-logging
Add syslog logging to SELinux
2023-05-31 15:19:39 +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
8a42c3bf18
Merge pull request #9775 from Icinga/icingadb-service-crashes-on-negative-downtime-duration-or-end-before-start-9774
Icinga DB: don't write negative Downtime durations into Redis
2023-05-31 11:37:42 +02:00
Alexander A. Klimov
75eaa81c06 Icinga DB: don't write negative Downtime durations into Redis
via `std::max(0, x)` not to crash the Go daemon which can't handle such.
2023-05-30 17:56:03 +02:00
Julian Brost
b0899d9ab4
Merge pull request #8429 from Icinga/bugfix/last-reload-attempt-failed-8428
Share "Last reload attempt failed" time across Icinga process tree on *nix
2023-05-30 11:42:21 +02:00
Julian Brost
d871c5c837
Merge pull request #9772 from Icinga/icinga-db-feature-should-normalize-command-arguments-required-skip_key-repeat_key-to-boolean-9576
Icinga DB feature: normalize *Command.arguments[*].{required,skip_key…
2023-05-25 11:54:01 +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
Alexander A. Klimov
ad618e9716 Icinga DB feature: normalize *Command.arguments[*].{required,skip_key,repeat_key} to boolean
At the moment, the Icinga DB feature will use that value as-is and
serialize it to JSON, resulting in a crash in Icinga DB down the road
because it expects a boolean.
2023-05-24 16:04:14 +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
2470e930eb
Merge pull request #9643 from Icinga/hardware_concurrency
Always use Configuration#Concurrency, not `std:🧵:hardware_concurrency()`
2023-05-23 19:23:14 +02:00