Commit Graph

11247 Commits

Author SHA1 Message Date
Michael Friedrich f62db49d3e
Merge pull request #7451 from Icinga/bugfix/update-docs
Update docs: Fix online URL, cipher list
2019-08-28 08:59:28 +02:00
Michael Friedrich 5ed91098d2
Merge pull request #7445 from Icinga/bugfix/ddos-reconnect-7444
JsonRpcConnection#Disconnect(): unregister the connection ASAP
2019-08-28 08:59:14 +02:00
Michael Friedrich 0cef00c841 Update default cipher_list in upgrading docs 2019-08-27 16:47:58 +02:00
Michael Friedrich 0915c84530 Update doc URL for the API info handler at /v1 2019-08-27 16:47:07 +02:00
Michael Friedrich 9932f04751 Update doc URL references for the DB IDO feature 2019-08-27 16:46:51 +02:00
Michael Friedrich 3f509c499f
Merge pull request #7450 from Icinga/feature/windows-exe-icon
Windows binary: Also update the exe icon
2019-08-27 15:15:18 +02:00
Michael Friedrich 36b7ad68a4 Windows binary: Also update the exe icon
A thousand places for everything.
2019-08-27 15:12:22 +02:00
Michael Friedrich b75e1585d6
Merge pull request #7449 from Icinga/feature/warn-set-global-var
DSL: warn on x=y if x is a global variable
2019-08-27 14:53:29 +02:00
Michael Friedrich 9d6ee44e71
Merge pull request #7346 from Icinga/feature/check-plugins-code-page-7110
DaemonCommand#Run(): set code page to UTF-8
2019-08-27 14:51:30 +02:00
Michael Friedrich e2f461cb06
Merge pull request #7447 from Icinga/bugfix/nscp-json
check_nscp_api: read HTTP response via Boost.Beast
2019-08-27 13:58:02 +02:00
Alexander A. Klimov b5a0be0d60 ITL: set globals.NscpPath explicitly 2019-08-27 13:34:10 +02:00
Alexander A. Klimov 429080ee1c DSL: warn on x=y if x is a global variable 2019-08-27 13:30:02 +02:00
Michael Friedrich ac57ec3c67
Merge pull request #7434 from Icinga/bugfix/cmake-aix
CMake: Fix CXX flags for AIX
2019-08-27 13:04:03 +02:00
Michael Friedrich 00e3450637
Merge pull request #7435 from Icinga/bugfix/cmake-lto
CMake: Fix LTO flags for shared linking
2019-08-27 13:03:25 +02:00
Michael Friedrich 90735875be
Merge pull request #7437 from m4k5ym/check_uptime
Add check_uptime to ITL
2019-08-27 13:02:51 +02:00
Alexander A. Klimov d10f121616 check_nscp_api: fix missing HTTP response reason 2019-08-27 10:39:24 +02:00
Alexander A. Klimov e71cc24854 check_nscp_api: read HTTP response via Boost.Beast 2019-08-26 15:57:10 +02:00
Max Deparade 0e00ffee39 Adding check_uptime to itl 2019-08-26 11:13:58 +02:00
Alexander A. Klimov c24312b870 JsonRpcConnection#Disconnect(): unregister the connection ASAP
refs #7444
2019-08-23 17:14:13 +02:00
Michael Friedrich a99855be93 CMake: Fix LTO flags for shared linking 2019-08-20 20:52:51 +02:00
Michael Friedrich a6f8031a39 CMake: Fix CXX flags for AIX 2019-08-20 15:46:45 +02:00
Michael Friedrich 8c739fe33b
Merge pull request #7428 from Icinga/feature/itl-sar-perf
ITL: Add sar-perf
2019-08-19 15:49:35 +02:00
Michael Friedrich aab6c91e79 ITL: Add sar-perf 2019-08-16 13:46:22 +02:00
Michael Friedrich a30fe32c47
Merge pull request #7422 from Icinga/bugfix/current_concurrent_checks-7416
Correct current_concurrent_checks to actually running checks
2019-08-16 13:44:25 +02:00
Alexander A. Klimov efc7f2cf8d Correct current_concurrent_checks to actually running checks
refs #7416
2019-08-15 13:39:01 +02:00
Michael Friedrich c2e1d023e2
Merge pull request #7421 from Icinga/feature/threadpool-metric
Expose metric current_pending_callbacks
2019-08-15 10:51:31 +02:00
Michael Friedrich 6ef6c0951f
Merge pull request #7423 from Icinga/bugfix/cluster-config-object-create-ignore-on-error
Fix and improve logging for runtime object sync
2019-08-15 10:23:22 +02:00
Michael Friedrich 2760748d78 Fix and improve logging for runtime object sync
config::UpdateObject would create a new object, but this may
have been silently ignored with 'ignore_on_error' - downtimes, etc.
Since we cannot simply fetch the error from inside the config compiler,
we'd just check whether there's a config object created at this stage.
This happens synchronously, and once there is, log something.

The previous code always logged the creation, even if the downtime
was ignored, e.g. when the first master sent one for local host objects.

This commit also adds more details: identity, endpoint, zone to extract
the MessageOrigin details into log messages for better troubleshooting
and debugging.

refs #7198
2019-08-15 09:29:05 +02:00
Alexander A. Klimov 448a991404 Expose metric current_pending_callbacks 2019-08-14 17:22:27 +02:00
Alexander A. Klimov a58a5feee3 Introduce ThreadPool#GetPending() 2019-08-14 17:12:59 +02:00
Michael Friedrich ada7c3d80e
Merge pull request #7420 from Icinga/feature/docs-tech-cluster-routing
Docs: Add cluster message routing details
2019-08-14 16:51:50 +02:00
Michael Friedrich e4b76ad30a Docs: Add cluster message routing details
refs #7198
2019-08-14 16:42:25 +02:00
Michael Friedrich 43ea6fb636
Merge pull request #7419 from Icinga/bugfix/downtime-loop-activate-origin
Fix object create/delete config object cluster loop (missing message origin)
2019-08-14 16:29:08 +02:00
Michael Friedrich 80e67e2500
Merge pull request #7418 from Icinga/bugfix/icinga-check-version-compare
Fix minimum version parsing in the 'icinga' check
2019-08-14 13:49:57 +02:00
Michael Friedrich 5b36ff0787 Properly parse the Icinga version for minimum version in the 'icinga' check
fixes #7415
2019-08-14 13:15:05 +02:00
Michael Friedrich da982c256b Add unit test for Utility::CompareVersion 2019-08-14 13:14:43 +02:00
Michael Friedrich 96f62d2d34 Add Utility::ParseVersion() and unit tests
This now uses a regex to extract the short version
similar to how Icinga Web 2 does it.

Additional unit tests prove the rule.
2019-08-14 11:22:55 +02:00
Michael Friedrich 7c1f716dad Fix cookie with ActivateItems 2019-08-13 16:09:26 +02:00
Michael Friedrich c30edd0a34 Fix message origin for runtime created config object (create/delete events) 2019-08-13 15:05:47 +02:00
Michael Friedrich fcca9643bc Docs: Fix URL in Windows setup wizard 2019-08-12 15:41:49 +02:00
Michael Friedrich 104a75b59c
Merge pull request #7409 from Icinga/bugfix/cmake-target-arch
CMake: If target arch cannot be detected, don't throw an error
2019-08-12 11:02:33 +02:00
Michael Friedrich c89ffe408d CMake: If target arch cannot be detected, don't throw an error
This only happens when ccache is improperly in use and -dumpmachine
doesn't work. Not on our ARM build platform.
2019-08-08 19:26:10 +02:00
Michael Friedrich 4e8ae223a5
Merge pull request #7406 from dgoetz/bugfix/doc_itl_icinga
Docs: Add a note to icinga check about failed reload detection
2019-08-08 11:10:40 +02:00
Dirk Goetz 60ca1d2d1a Docs: Add a note to icinga check about failed reload detection 2019-08-08 10:58:18 +02:00
Michael Friedrich f9812ee1aa
Merge pull request #7404 from Icinga/bugfix/livestatus-interval
Explicitly write the 1.x legacy attribute 'interval_length' for Livestatus
2019-08-07 17:32:38 +02:00
Michael Friedrich d8400699f9
Merge pull request #7353 from Icinga/bugfix/influxdbwriter-skip-tags-7341
InfluxdbWriter: skip non-resolvable tags
2019-08-07 17:15:24 +02:00
Michael Friedrich a9c1e3cfa1
Merge pull request #7403 from Icinga/feature/docs-agents
Enhance Agent best practices throughout the documentation
2019-08-07 16:36:15 +02:00
Michael Friedrich 2c4a1b2609 Enhance Agent best practices throughout the documentation
- Highlight the Icinga agent
- Prefer SSH as fallback and add more detailed setup instructions
- Improve SNMP and add traps right after
- Explain nscp and wmi with URLs
- Drop discouraged nrpe instructions (checks and PNP customizations)
- Update Dependency examples with the Icinga Agent

This sources from recent discussions on community.icinga.com
and follows the updates with the distributed monitoring chapter for 2.11.
2019-08-07 15:36:12 +02:00
Michael Friedrich 3f18741c41 Explicitly write the 1.x legacy attribute 'interval_length' for Livestatus
fixes #7402
2019-08-07 15:23:04 +02:00
Michael Friedrich 686f5d8ca7
Merge pull request #7397 from Icinga/bugfix/umbrella-logging-systemd-7394
icinga2 daemon --close-stdio: keep console log open during first config validation
2019-08-07 13:44:07 +02:00