Commit Graph

11219 Commits

Author SHA1 Message Date
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
Michael Friedrich 01fe243f23 Log a hint after failed config validation for systemd users 2019-08-07 12:03:17 +02:00
Michael Friedrich 59081c4f82
Merge pull request #7400 from Icinga/bugfix/cib-stats-concurrent-checks
Fix missing stats for current_concurrent_checks via REST API
2019-08-06 15:25:44 +02:00
Michael Friedrich 3ad2071ec0
Merge pull request #7399 from Icinga/feature/log-downtimes-acks
Improve logging for downtime/ack events (add, remove, expire)
2019-08-06 15:06:05 +02:00
Michael Friedrich 550a92f077 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
2019-08-06 14:51:10 +02:00
Michael Friedrich 743dcad35d Improve logging for downtime/ack events (add, remove, expire)
fixes #7374
2019-08-06 13:28:58 +02:00
Alexander A. Klimov 6418c2ebb7 icinga2 daemon --close-stdio: keep console log open during first config validation
refs #7394
2019-08-05 18:30:45 +02:00
Michael Friedrich ac4f92ca69
Merge pull request #7391 from Icinga/feature/cluster-sync-avoid-non-utf-8
Cluster sync: Only sync valid UTF8 content (text config, no binaries)
2019-08-05 16:48:49 +02:00
Michael Friedrich f8f8b8d05d
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)
2019-08-05 13:14:36 +02:00
Michael Friedrich f0f5fbb9ce DB IDO: Add upgrading note 2019-08-05 13:06:50 +02:00
Michael Friedrich 8d071c8d30 DB IDO: Fix upgrade script for 2.11.0 (drop index only if existing)
fixes #7393
2019-08-05 13:03:38 +02:00
Michael Friedrich cf26699bb4
Merge pull request #7389 from Napsty/bugfix/rename-livestatus-table
Fix name of 'timeperiods' livestatus table in doc
2019-08-02 17:14:06 +02:00
Michael Friedrich 05559478dc
Merge pull request #7392 from Icinga/feature/docs-enhance-troubleshoot
Docs: Enhance Troubleshooting with TLS handshake, CSR signing, checks, notifications, cluster sync
2019-08-02 16:56:53 +02:00
Michael Friedrich 6afd222f75 Docs: Enhance Troubleshooting with TLS handshake, CSR signing, checks, notifications, cluster sync
refs #7380
refs #7382
refs #7386
refs #7391
2019-08-02 16:17:43 +02:00
Michael Friedrich 20266cd1b1 Docs: Add config sync restrictions to upgrading docs 2019-08-02 16:06:36 +02:00
Michael Friedrich c42a2583f0 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
2019-08-02 16:06:32 +02:00
Michael Friedrich 8fde836582
Merge pull request #7390 from Icinga/feature/docs-cluster-sync-binaries
Docs: Syncing binaries with the config sync are not supported
2019-08-02 11:36:04 +02:00
Michael Friedrich 2c09593c3e 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
2019-08-02 11:30:16 +02:00
Napsty 987bbbec05 Fix name of 'timeperiods' livestatus table in doc 2019-08-02 11:24:56 +02:00
Michael Friedrich 5d6649222d
Merge pull request #7385 from Icinga/bugfix/api-downtime-params-revert
Revert schedule-downtime action time checks
2019-08-01 16:27:51 +02:00
Michael Friedrich f58d1ef7f7 Revert "API: Improve error handling for 'schedule-downtime' action"
This reverts commit 8ca38302fc.
2019-08-01 14:03:44 +02:00
Michael Friedrich 8f3a1335dc Revert "API: Don't be so strict with the downtime start_time"
This reverts commit 3b7cf5b9b5.
2019-08-01 14:03:40 +02:00
Michael Friedrich 283d2d7a25
Merge pull request #7383 from K0nne/K0nne-patch-1
Add missing options to 'nwc_health' ITL CheckCommand
2019-08-01 13:26:18 +02:00
K0nne 98fde208d6
Update docs for missing nwc_health options. 2019-08-01 11:19:30 +02:00
K0nne f1d5a6bfd0
Add missing options to 'nwc_health' ITL CheckCommand 2019-08-01 11:12:24 +02:00
Michael Friedrich 924b0c6f24
Merge pull request #7381 from Icinga/feature/docs-tls
Refine the term 'TLS' instead of 'SSL'
2019-08-01 09:43:10 +02:00
Michael Friedrich 3562e92173 Refine the term 'TLS' instead of 'SSL'
Also mention the certificate monitoring module when
applicable.
2019-08-01 09:38:03 +02:00
Michael Friedrich 82a5025ad6
Merge pull request #7379 from Icinga/feature/enhance-windows-agent-setup
Windows agent: Enhance and update docs
2019-07-31 15:46:11 +02:00
Michael Friedrich 4817aac648 Docs: Refresh Windows agent setup images for 2.11 2019-07-31 15:23:35 +02:00