Commit Graph

8481 Commits

Author SHA1 Message Date
Michael Friedrich c2ff0becaf Merge pull request #5593 from Icinga/feature/docs-upgrading
Docs: Add a note for upgrading to 2.7
2017-09-20 15:46:20 +02:00
Michael Friedrich e3c152167d Docs: Add a note for upgrading to 2.7 2017-09-20 15:33:42 +02:00
Michael Friedrich 27b49b07ed Merge pull request #5547 from ryanohnemus/feature/allow_package_upload_without_restart
Add optional reload parameter to config stage upload
2017-09-20 14:30:22 +02:00
ryanohnemus 1cb39994a5 API: Add optional reload parameter to config stage upload
You can now specify a boolean `reload` attribute that
will allow you to skip the icinga2 reload after config
validation. By default this is set to true.

The response text has been updated to show if icinga2
will reload or if it was requested to be skipped.

fixes #4769
2017-09-20 14:16:55 +02:00
Michael Friedrich 65390298be Merge pull request #5590 from Icinga/fix/log-level-config-sync
Silence log level for configuration file updates
2017-09-20 14:06:20 +02:00
Michael Friedrich 7bdeeeadcf Silence log level for configuration file updates
This only helps with debugging the configuration sync, but seems
to be highlighted quite often in default configurations (where
the timestamp is equal).

refs #5566
2017-09-20 13:30:02 +02:00
Michael Friedrich f0114aacdd Merge pull request #5443 from Icinga/feature/api-should-provide-cors-header-4326
Add CORS support and set response header 'Access-Control-Allow-Origin'
2017-09-20 13:20:22 +02:00
Noah Hilverling 94fe1b2292 HttpServerConnection: Implement CORS support
fixes #4326
2017-09-20 13:18:29 +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 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
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 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 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