]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Fri, 6 Sep 2019 08:06:17 +0000 (10:06 +0200)]
HttpServerConnection: Prefer error codes over Boost exceptions
When run within a coroutine, exceptions on Windows may influence
bad behaviour here. Instead, we'll check for the error code
and extract the message from memory. In contrast to exceptions
which are stored on the stack frame and then return, this costs
a little more memory but simplifies the logic.
This doesn't fix the linked issue, but is related to the analysis.
refs #7431
Michael Friedrich [Fri, 6 Sep 2019 07:24:34 +0000 (09:24 +0200)]
Adjust code comment for Logger->Flush() on Windows
Michael Friedrich [Mon, 2 Sep 2019 13:10:35 +0000 (15:10 +0200)]
Ensure that issue templates are more readable
Michael Friedrich [Mon, 2 Sep 2019 07:36:47 +0000 (09:36 +0200)]
Merge pull request #7467 from Icinga/feature/docs-development-2-11
Docs: Update Linux and Windows Dev instructions for 2.11
Michael Friedrich [Mon, 2 Sep 2019 07:20:56 +0000 (09:20 +0200)]
Docs: Update dev chapter for Debian Buster
Michael Friedrich [Sun, 1 Sep 2019 09:08:15 +0000 (11:08 +0200)]
Docs: Update Boost setup instructions for Windows dev environment
Michael Friedrich [Fri, 30 Aug 2019 14:37:09 +0000 (16:37 +0200)]
Merge pull request #7464 from Icinga/feature/docs-windows-agent-versions
Docs: Update supported Windows agent versions
Michael Friedrich [Fri, 30 Aug 2019 13:18:27 +0000 (15:18 +0200)]
Docs: Sync Vagrant box dev instructions with development docs
Michael Friedrich [Fri, 30 Aug 2019 12:21:19 +0000 (14:21 +0200)]
Merge pull request #7463 from Icinga/feature/docs-powershell
Docs: Prefer the Powershell commands on Windows
Michael Friedrich [Fri, 30 Aug 2019 12:11:51 +0000 (14:11 +0200)]
Docs: Update supported Windows agent versions
Michael Friedrich [Fri, 30 Aug 2019 12:04:40 +0000 (14:04 +0200)]
Docs: Add Windows debugging
Michael Friedrich [Fri, 30 Aug 2019 12:04:05 +0000 (14:04 +0200)]
Docs: Prefer the Powershell commands on Windows
Michael Friedrich [Fri, 30 Aug 2019 07:04:03 +0000 (09:04 +0200)]
Merge pull request #7459 from Icinga/feature/expose-problem-handled-counts
Metrics: Expose problem/handled counts for hosts/services
Michael Friedrich [Thu, 29 Aug 2019 15:04:23 +0000 (17:04 +0200)]
Metrics: Expose problem/handled counts for hosts/services
With the addition of problem/handled as checkable runtime
attributes in #7096 we should also expose them via CIB
into
- icinga check
- /v1/status/CIB
- IcingaApplication runtime macros
This originates from a request by @phil-or at the recent
Icinga meetup in Linz.
Michael Friedrich [Wed, 28 Aug 2019 07:16:19 +0000 (09:16 +0200)]
Merge pull request #7356 from Icinga/bugfix/influxdbwriter-clone
InfluxdbWriter: clone less
Michael Friedrich [Wed, 28 Aug 2019 06:59:28 +0000 (08:59 +0200)]
Merge pull request #7451 from Icinga/bugfix/update-docs
Update docs: Fix online URL, cipher list
Michael Friedrich [Wed, 28 Aug 2019 06:59:14 +0000 (08:59 +0200)]
Merge pull request #7445 from Icinga/bugfix/ddos-reconnect-7444
JsonRpcConnection#Disconnect(): unregister the connection ASAP
Michael Friedrich [Tue, 27 Aug 2019 14:47:58 +0000 (16:47 +0200)]
Update default cipher_list in upgrading docs
Michael Friedrich [Tue, 27 Aug 2019 14:47:07 +0000 (16:47 +0200)]
Update doc URL for the API info handler at /v1
Michael Friedrich [Tue, 27 Aug 2019 14:46:51 +0000 (16:46 +0200)]
Update doc URL references for the DB IDO feature
Michael Friedrich [Tue, 27 Aug 2019 13:15:18 +0000 (15:15 +0200)]
Merge pull request #7450 from Icinga/feature/windows-exe-icon
Windows binary: Also update the exe icon
Michael Friedrich [Tue, 27 Aug 2019 13:12:22 +0000 (15:12 +0200)]
Windows binary: Also update the exe icon
A thousand places for everything.
Michael Friedrich [Tue, 27 Aug 2019 12:53:29 +0000 (14:53 +0200)]
Merge pull request #7449 from Icinga/feature/warn-set-global-var
DSL: warn on x=y if x is a global variable
Michael Friedrich [Tue, 27 Aug 2019 12:51:30 +0000 (14:51 +0200)]
Merge pull request #7346 from Icinga/feature/check-plugins-code-page-7110
DaemonCommand#Run(): set code page to UTF-8
Michael Friedrich [Tue, 27 Aug 2019 11:58:02 +0000 (13:58 +0200)]
Merge pull request #7447 from Icinga/bugfix/nscp-json
check_nscp_api: read HTTP response via Boost.Beast
Alexander A. Klimov [Tue, 27 Aug 2019 11:34:10 +0000 (13:34 +0200)]
ITL: set globals.NscpPath explicitly
Alexander A. Klimov [Tue, 27 Aug 2019 11:19:05 +0000 (13:19 +0200)]
DSL: warn on x=y if x is a global variable
Michael Friedrich [Tue, 27 Aug 2019 11:04:03 +0000 (13:04 +0200)]
Merge pull request #7434 from Icinga/bugfix/cmake-aix
CMake: Fix CXX flags for AIX
Michael Friedrich [Tue, 27 Aug 2019 11:03:25 +0000 (13:03 +0200)]
Merge pull request #7435 from Icinga/bugfix/cmake-lto
CMake: Fix LTO flags for shared linking
Michael Friedrich [Tue, 27 Aug 2019 11:02:51 +0000 (13:02 +0200)]
Merge pull request #7437 from m4k5ym/check_uptime
Add check_uptime to ITL
Alexander A. Klimov [Mon, 26 Aug 2019 15:48:36 +0000 (17:48 +0200)]
check_nscp_api: fix missing HTTP response reason
Alexander A. Klimov [Mon, 26 Aug 2019 13:57:10 +0000 (15:57 +0200)]
check_nscp_api: read HTTP response via Boost.Beast
Max Deparade [Thu, 22 Aug 2019 13:03:11 +0000 (15:03 +0200)]
Adding check_uptime to itl
Alexander A. Klimov [Fri, 23 Aug 2019 15:14:13 +0000 (17:14 +0200)]
JsonRpcConnection#Disconnect(): unregister the connection ASAP
refs #7444
Michael Friedrich [Tue, 20 Aug 2019 18:52:51 +0000 (20:52 +0200)]
CMake: Fix LTO flags for shared linking
Michael Friedrich [Tue, 20 Aug 2019 13:46:45 +0000 (15:46 +0200)]
CMake: Fix CXX flags for AIX
Michael Friedrich [Mon, 19 Aug 2019 13:49:35 +0000 (15:49 +0200)]
Merge pull request #7428 from Icinga/feature/itl-sar-perf
ITL: Add sar-perf
Michael Friedrich [Fri, 16 Aug 2019 11:01:34 +0000 (13:01 +0200)]
ITL: Add sar-perf
Michael Friedrich [Fri, 16 Aug 2019 11:44:25 +0000 (13:44 +0200)]
Merge pull request #7422 from Icinga/bugfix/current_concurrent_checks-7416
Correct current_concurrent_checks to actually running checks
Alexander A. Klimov [Wed, 14 Aug 2019 15:43:06 +0000 (17:43 +0200)]
Correct current_concurrent_checks to actually running checks
refs #7416
Michael Friedrich [Thu, 15 Aug 2019 08:51:31 +0000 (10:51 +0200)]
Merge pull request #7421 from Icinga/feature/threadpool-metric
Expose metric current_pending_callbacks
Michael Friedrich [Thu, 15 Aug 2019 08:23:22 +0000 (10:23 +0200)]
Merge pull request #7423 from Icinga/bugfix/cluster-config-object-create-ignore-on-error
Fix and improve logging for runtime object sync
Michael Friedrich [Thu, 15 Aug 2019 07:29:05 +0000 (09:29 +0200)]
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
Alexander A. Klimov [Wed, 14 Aug 2019 15:22:27 +0000 (17:22 +0200)]
Expose metric current_pending_callbacks
Alexander A. Klimov [Wed, 14 Aug 2019 15:12:59 +0000 (17:12 +0200)]
Introduce ThreadPool#GetPending()
Michael Friedrich [Wed, 14 Aug 2019 14:51:50 +0000 (16:51 +0200)]
Merge pull request #7420 from Icinga/feature/docs-tech-cluster-routing
Docs: Add cluster message routing details
Michael Friedrich [Wed, 14 Aug 2019 14:42:25 +0000 (16:42 +0200)]
Docs: Add cluster message routing details
refs #7198
Michael Friedrich [Wed, 14 Aug 2019 14:29:08 +0000 (16:29 +0200)]
Merge pull request #7419 from Icinga/bugfix/downtime-loop-activate-origin
Fix object create/delete config object cluster loop (missing message origin)
Michael Friedrich [Wed, 14 Aug 2019 11:49:57 +0000 (13:49 +0200)]
Merge pull request #7418 from Icinga/bugfix/icinga-check-version-compare
Fix minimum version parsing in the 'icinga' check
Michael Friedrich [Wed, 14 Aug 2019 11:15:05 +0000 (13:15 +0200)]
Properly parse the Icinga version for minimum version in the 'icinga' check
fixes #7415
Michael Friedrich [Wed, 14 Aug 2019 11:14:43 +0000 (13:14 +0200)]
Add unit test for Utility::CompareVersion
Michael Friedrich [Wed, 14 Aug 2019 09:22:55 +0000 (11:22 +0200)]
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.
Michael Friedrich [Tue, 13 Aug 2019 14:09:26 +0000 (16:09 +0200)]
Fix cookie with ActivateItems
Michael Friedrich [Tue, 13 Aug 2019 12:53:06 +0000 (14:53 +0200)]
Fix message origin for runtime created config object (create/delete events)
Michael Friedrich [Mon, 12 Aug 2019 13:41:08 +0000 (15:41 +0200)]
Docs: Fix URL in Windows setup wizard
Michael Friedrich [Mon, 12 Aug 2019 09:02:33 +0000 (11:02 +0200)]
Merge pull request #7409 from Icinga/bugfix/cmake-target-arch
CMake: If target arch cannot be detected, don't throw an error
Michael Friedrich [Thu, 8 Aug 2019 17:26:10 +0000 (19:26 +0200)]
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.
Michael Friedrich [Thu, 8 Aug 2019 09:10:40 +0000 (11:10 +0200)]
Merge pull request #7406 from dgoetz/bugfix/doc_itl_icinga
Docs: Add a note to icinga check about failed reload detection
Dirk Goetz [Thu, 8 Aug 2019 08:58:18 +0000 (10:58 +0200)]
Docs: Add a note to icinga check about failed reload detection
Michael Friedrich [Wed, 7 Aug 2019 15:32:38 +0000 (17:32 +0200)]
Merge pull request #7404 from Icinga/bugfix/livestatus-interval
Explicitly write the 1.x legacy attribute 'interval_length' for Livestatus
Michael Friedrich [Wed, 7 Aug 2019 15:15:24 +0000 (17:15 +0200)]
Merge pull request #7353 from Icinga/bugfix/influxdbwriter-skip-tags-7341
InfluxdbWriter: skip non-resolvable tags
Michael Friedrich [Wed, 7 Aug 2019 14:36:15 +0000 (16:36 +0200)]
Merge pull request #7403 from Icinga/feature/docs-agents
Enhance Agent best practices throughout the documentation
Michael Friedrich [Wed, 7 Aug 2019 13:13:07 +0000 (15:13 +0200)]
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.
Michael Friedrich [Wed, 7 Aug 2019 13:22:09 +0000 (15:22 +0200)]
Explicitly write the 1.x legacy attribute 'interval_length' for Livestatus
fixes #7402
Michael Friedrich [Wed, 7 Aug 2019 11:44:07 +0000 (13:44 +0200)]
Merge pull request #7397 from Icinga/bugfix/umbrella-logging-systemd-7394
icinga2 daemon --close-stdio: keep console log open during first config validation
Michael Friedrich [Wed, 7 Aug 2019 10:03:17 +0000 (12:03 +0200)]
Log a hint after failed config validation for systemd users
Michael Friedrich [Tue, 6 Aug 2019 13:25:44 +0000 (15:25 +0200)]
Merge pull request #7400 from Icinga/bugfix/cib-stats-concurrent-checks
Fix missing stats for current_concurrent_checks via REST API
Michael Friedrich [Tue, 6 Aug 2019 13:06:05 +0000 (15:06 +0200)]
Merge pull request #7399 from Icinga/feature/log-downtimes-acks
Improve logging for downtime/ack events (add, remove, expire)
Michael Friedrich [Tue, 6 Aug 2019 12:51:10 +0000 (14:51 +0200)]
Fix missing stats for current_concurrent_checks via REST API
It was added inside the 'icinga' check task, but not for the REST API.
Thanks for asking, @Thomas-Gelf
Michael Friedrich [Tue, 6 Aug 2019 11:28:13 +0000 (13:28 +0200)]
Improve logging for downtime/ack events (add, remove, expire)
fixes #7374
Alexander A. Klimov [Mon, 5 Aug 2019 16:30:45 +0000 (18:30 +0200)]
icinga2 daemon --close-stdio: keep console log open during first config validation
refs #7394
Michael Friedrich [Mon, 5 Aug 2019 14:48:49 +0000 (16:48 +0200)]
Merge pull request #7391 from Icinga/feature/cluster-sync-avoid-non-utf-8
Cluster sync: Only sync valid UTF8 content (text config, no binaries)
Michael Friedrich [Mon, 5 Aug 2019 11:14:36 +0000 (13:14 +0200)]
Merge pull request #7396 from Icinga/bugfix/ido-drop-index-if-exists
DB IDO: Fix upgrade script for 2.11.0 (drop index only if existing)
Michael Friedrich [Mon, 5 Aug 2019 11:06:50 +0000 (13:06 +0200)]
DB IDO: Add upgrading note
Michael Friedrich [Mon, 5 Aug 2019 11:03:38 +0000 (13:03 +0200)]
DB IDO: Fix upgrade script for 2.11.0 (drop index only if existing)
fixes #7393
Michael Friedrich [Fri, 2 Aug 2019 15:14:06 +0000 (17:14 +0200)]
Merge pull request #7389 from Napsty/bugfix/rename-livestatus-table
Fix name of 'timeperiods' livestatus table in doc
Michael Friedrich [Fri, 2 Aug 2019 14:56:53 +0000 (16:56 +0200)]
Merge pull request #7392 from Icinga/feature/docs-enhance-troubleshoot
Docs: Enhance Troubleshooting with TLS handshake, CSR signing, checks, notifications, cluster sync
Michael Friedrich [Fri, 2 Aug 2019 09:18:50 +0000 (11:18 +0200)]
Docs: Enhance Troubleshooting with TLS handshake, CSR signing, checks, notifications, cluster sync
refs #7380
refs #7382
refs #7386
refs #7391
Michael Friedrich [Fri, 2 Aug 2019 14:06:36 +0000 (16:06 +0200)]
Docs: Add config sync restrictions to upgrading docs
Michael Friedrich [Fri, 2 Aug 2019 11:22:36 +0000 (13:22 +0200)]
Cluster sync: Only sync valid UTF8 content (text config, no binaries)
- *.conf files are sanitized automatically.
- Other files detect sanitizing and treat that as unsupported type
refs #7382
Michael Friedrich [Fri, 2 Aug 2019 09:36:04 +0000 (11:36 +0200)]
Merge pull request #7390 from Icinga/feature/docs-cluster-sync-binaries
Docs: Syncing binaries with the config sync are not supported
Michael Friedrich [Fri, 2 Aug 2019 09:30:16 +0000 (11:30 +0200)]
Docs: Syncing binaries with the config sync are not supported
Adding a detection will slow down the config sync for anyone else.
Given that the loops with checksum changes only affect a few users,
the docs update is enough this time.
fixes #7382
Napsty [Fri, 2 Aug 2019 09:24:56 +0000 (11:24 +0200)]
Fix name of 'timeperiods' livestatus table in doc
Michael Friedrich [Thu, 1 Aug 2019 14:27:51 +0000 (16:27 +0200)]
Merge pull request #7385 from Icinga/bugfix/api-downtime-params-revert
Revert schedule-downtime action time checks
Michael Friedrich [Thu, 1 Aug 2019 12:03:44 +0000 (14:03 +0200)]
Revert "API: Improve error handling for 'schedule-downtime' action"
This reverts commit
8ca38302fceeb05f99c703e1e66b234de996cbd5 .
Michael Friedrich [Thu, 1 Aug 2019 12:03:40 +0000 (14:03 +0200)]
Revert "API: Don't be so strict with the downtime start_time"
This reverts commit
3b7cf5b9b55f2dfa933b0e5e89bc1285794f21a7 .
Michael Friedrich [Thu, 1 Aug 2019 11:26:18 +0000 (13:26 +0200)]
Merge pull request #7383 from K0nne/K0nne-patch-1
Add missing options to 'nwc_health' ITL CheckCommand
K0nne [Thu, 1 Aug 2019 09:19:30 +0000 (11:19 +0200)]
Update docs for missing nwc_health options.
K0nne [Thu, 1 Aug 2019 09:12:24 +0000 (11:12 +0200)]
Add missing options to 'nwc_health' ITL CheckCommand
Michael Friedrich [Thu, 1 Aug 2019 07:43:10 +0000 (09:43 +0200)]
Merge pull request #7381 from Icinga/feature/docs-tls
Refine the term 'TLS' instead of 'SSL'
Michael Friedrich [Thu, 1 Aug 2019 07:38:03 +0000 (09:38 +0200)]
Refine the term 'TLS' instead of 'SSL'
Also mention the certificate monitoring module when
applicable.
Michael Friedrich [Wed, 31 Jul 2019 13:46:11 +0000 (15:46 +0200)]
Merge pull request #7379 from Icinga/feature/enhance-windows-agent-setup
Windows agent: Enhance and update docs
Michael Friedrich [Wed, 31 Jul 2019 13:01:51 +0000 (15:01 +0200)]
Docs: Refresh Windows agent setup images for 2.11
Michael Friedrich [Wed, 31 Jul 2019 11:59:08 +0000 (13:59 +0200)]
Docs: Improve styleguide for Windows
Michael Friedrich [Wed, 31 Jul 2019 11:35:42 +0000 (13:35 +0200)]
Windows Agent: Refine setup wizard text and add docs URL
Note for others: DO NOT manually fix whitespaces with sed
and variants. Ensure that tabs (4 spaces, keep tabs) are
set inside Visual Studio.
Michael Friedrich [Wed, 31 Jul 2019 11:33:23 +0000 (13:33 +0200)]
Windows Agent: Actually update the Icinga icon in the resource binaries (C#)
Michael Friedrich [Wed, 31 Jul 2019 11:30:31 +0000 (13:30 +0200)]
Merge pull request #7376 from Icinga/feature/windows-dev-powershell
Docs: Add Powershell Git integration for Windows dev environment
Michael Friedrich [Wed, 31 Jul 2019 11:27:24 +0000 (13:27 +0200)]
Docs: Add Powershell Git integration for Windows dev environment
Michael Friedrich [Wed, 31 Jul 2019 10:54:51 +0000 (12:54 +0200)]
Fix warning for the Icinga top banner name
Michael Friedrich [Tue, 30 Jul 2019 16:03:44 +0000 (18:03 +0200)]
Merge pull request #7373 from Icinga/feature/windows-agent-icon
Windows Agent: Update icon