Commit Graph

8731 Commits

Author SHA1 Message Date
Michael Friedrich 14cdcd89a2 Docs: Enhance certificate and configuration troubleshooting chapter 2017-09-20 17:07:34 +02:00
Jean Flach ef5013b903 Use locks in api config staging
refs #3668
2017-09-20 16:45:09 +02:00
Michael Friedrich 4a85ab4dd8 Docs: Add a note for upgrading to 2.7
refs #5593
2017-09-20 15:47:24 +02:00
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
Noah Hilverling ea24af6590 SyslogLogger: Implement option to set syslog facility
fixes #3964
2017-09-20 14:09:51 +02:00
Michael Friedrich edeaed2b72 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

refs #5590
2017-09-20 14:06:45 +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
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