Commit Graph

8919 Commits

Author SHA1 Message Date
Jean Flach d01a62d6de Fix where clauses for downtime/comment DB IDO queries using a non-matching legacy id before
fixes #5458 #5492

refs #5585
2017-09-20 12:25:25 +02:00
Michael Friedrich 835f926b41 Merge pull request #5585 from Icinga/fix/downtimehistory-271-5458
Fix where clause for non-matching {downtime,comment}history IDO database updates
2017-09-20 12:24:46 +02:00
Jean Flach 1b54772b85 Fix where clauses for downtime/comment DB IDO queries using a non-matching legacy id before
fixes #5458 #5492
2017-09-20 12:13:14 +02:00
Jean Flach 4df1125114 Fix Windows build error
fixes #5584
2017-09-18 17:47:08 +02:00
Michael Friedrich 2b01f3e725 Docs: Add example for Windows service monitoring with check_nscp_api
refs #5583
2017-09-18 16:58:34 +02:00
Michael Friedrich 2e2899488b Merge pull request #5583 from Icinga/feature/docs-nscp_api-windows-service-example
Docs: Add example for Windows service monitoring with check_nscp_api
2017-09-18 16:58:09 +02:00
Michael Friedrich c8e5f0597b Docs: Add example for Windows service monitoring with check_nscp_api 2017-09-18 16:56:03 +02:00
Adam James 1c5c4e40fb check_nscp_api: Allow arguments containing spaces
refs #5539
2017-09-18 16:46:31 +02:00
Michael Friedrich 2437ffecce Merge pull request #5539 from transitiv/fix/checp_nscp_api-args-5537
check_nscp_api: Allow arguments containing spaces
2017-09-18 16:46:02 +02:00
Michael Friedrich 5f7e59d92b Docs: Add firewall details for check_nscp_api
refs #5582
2017-09-18 16:28:12 +02:00
Michael Friedrich 532f779f50 Merge pull request #5582 from Icinga/feature/docs-nsclient-api-firewall
Docs: Add firewall details for check_nscp_api
2017-09-18 16:27:41 +02:00
Michael Friedrich 549ab29876 Docs: Add firewall details for check_nscp_api 2017-09-18 16:25:29 +02:00
Michael Friedrich 9948bee51c Fix API crash with race condition on locks
This was split from #5416 and #5419.

More patches from #5419 are pending.

refs #5419
refs #5418
refs #5416

refs #5408
refs #5148
refs #5007
refs #4968
refs #4910
2017-09-18 15:25:29 +02:00
Michael Friedrich e23801f299 Merge pull request #5580 from Icinga/feature/path-exists-and-glob
Implement new script functions: path_exists, glob and glob_recursive
2017-09-18 14:26:34 +02:00
Gunnar Beutner 5179faceab Implement new script functions: path_exists, glob and glob_recursive 2017-09-18 13:59:03 +02:00
Gunnar Beutner fb88ffaf1c Merge pull request #5576 from mcktr/mcktr/fix/5575-fix-doc-downtime-example
Fixed downtime example in documentation

fixes #5576
2017-09-18 08:14:39 +02:00
Michael b2dd330e1f Fixed downtime example in documentation 2017-09-13 16:58:48 +02:00
Michael Friedrich c6f19d7e15 Merge pull request #5570 from Napsty/esxi-hardware-no-lcd
check_esxi_hardware.py with new --no-lcd parameter
2017-09-13 10:41:16 +02:00
Gunnar Beutner cd31327f72 Merge pull request #5571 from Icinga/feature/ca-proxy
Implement support for forwarding certificate signing requests in the cluster
2017-09-12 14:00:59 +02:00
Gunnar Beutner 4f5727fe1f Update documentation
refs #5450
2017-09-12 13:47:04 +02:00
Gunnar Beutner 80421e4619 Build fix for OpenSSL < 1.0.2
refs #5450
2017-09-12 13:09:16 +02:00
Michael Friedrich 578dcbe861 Add some more verbose logging details
refs #5450
2017-09-12 12:52:50 +02:00
Michael Friedrich 95f0a7a022 Docs: Technical Concepts for cluster and signing
refs #5450
2017-09-12 12:52:50 +02:00
Michael Friedrich 4cb090e1a6 Docs: Update user documentation for signing methods and Linux client setups
Better explanation for "CSR Auto-Signing" and a new term "On-Demand CSR Signing".

The Linux setup now accompanies the user step by step on each question asked.
The full table with all the details is moved to the bottom.

TODO: The Windows setup wizard does not support connection-less or ticket-less requests yet.

refs #5450
2017-09-12 12:52:50 +02:00
Michael Friedrich f6b267b843 Docs: Update ApiListener object type
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 10b8c00d7a Docs: Add upgrade note for certs path
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 72115e2a99 Docs: Update certs path
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 37ea6ab1fc Fix wrong certs path in ApiListener config
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 501ade374c Remove debug logging, fix ticket path, enhance logging
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner 043106242d Remove API stubs for now
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner 88e57f7fd4 Implement support for cleaning up certificate requests
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 0a85977831 Node Wizard: Tell the user to put ca.crt if no connection to parent is selected
This also fixes the choice tree for connection-less questions
and prevents empty tickets being stored on disk.

refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner 2fec16952d Remove unused code
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner f43516a097 Implement the --verbose option for "node wizard"
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich e424017c15 Refactor the node wizard/setup CLI commands
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 181b91b759 Enhance logging for certificate requests
Examples:
https://github.com/Icinga/icinga2/issues/5450#issuecomment-327479874

This also adds code comments where applicable.

refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich ce88e89cc0 Fix wrong cert path for CLI commands
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner a7fe6467ba Improve log messages for the 'pki save-cert' command
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 8040bda2e1 Change directory layout to /var/lib/icinga2/{ca,certs,certificate_requests}
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 88b4a54e6b Fix ticket hash calculation for indirectly connected clients
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner c02742925e Refactor PkiUtility class
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 1e7860f2b1 Implement ApiListener::Get*Dir() functions
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner 6a533796e5 Update output format for the new CLI commands
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner 774936bfe8 Implement support for pki::UpdateCertificate messages
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner 623208d617 Implement support for forwarding certificate requests
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner 03f5ccd252 Implement support for cleaning up expired API callbacks
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner cc43dc734b Refuse to sign certificate if it already has the correct chain and doesn’t expire soon
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner 440f848c7c Improve error handling for JSON-RPC calls
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner a8cc0a601b Add missing _unlink() calls for Windows
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner cb49ac1264 Delete ticket file once we have a signed certificate
refs #5450
2017-09-12 12:52:49 +02:00