]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Thu, 7 Sep 2017 17:00:11 +0000 (19:00 +0200)]
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
Michael Friedrich [Thu, 7 Sep 2017 15:06:11 +0000 (17:06 +0200)]
Docs: Update ApiListener object type
refs #5450
Michael Friedrich [Thu, 7 Sep 2017 15:01:25 +0000 (17:01 +0200)]
Docs: Add upgrade note for certs path
refs #5450
Michael Friedrich [Thu, 7 Sep 2017 14:55:42 +0000 (16:55 +0200)]
Docs: Update certs path
refs #5450
Michael Friedrich [Thu, 7 Sep 2017 14:27:56 +0000 (16:27 +0200)]
Fix wrong certs path in ApiListener config
refs #5450
Michael Friedrich [Thu, 7 Sep 2017 14:07:35 +0000 (16:07 +0200)]
Remove debug logging, fix ticket path, enhance logging
refs #5450
Gunnar Beutner [Thu, 7 Sep 2017 13:36:28 +0000 (15:36 +0200)]
Remove API stubs for now
refs #5450
Gunnar Beutner [Thu, 7 Sep 2017 13:31:38 +0000 (15:31 +0200)]
Implement support for cleaning up certificate requests
refs #5450
Michael Friedrich [Thu, 7 Sep 2017 12:29:04 +0000 (14:29 +0200)]
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
Gunnar Beutner [Thu, 7 Sep 2017 08:39:00 +0000 (10:39 +0200)]
Remove unused code
refs #5450
Gunnar Beutner [Thu, 7 Sep 2017 08:29:33 +0000 (10:29 +0200)]
Implement the --verbose option for "node wizard"
refs #5450
Michael Friedrich [Wed, 6 Sep 2017 15:33:54 +0000 (17:33 +0200)]
Refactor the node wizard/setup CLI commands
refs #5450
Michael Friedrich [Wed, 6 Sep 2017 15:09:24 +0000 (17:09 +0200)]
Enhance logging for certificate requests
Examples:
https://github.com/Icinga/icinga2/issues/5450#issuecomment-
327479874
This also adds code comments where applicable.
refs #5450
Michael Friedrich [Wed, 6 Sep 2017 12:38:35 +0000 (14:38 +0200)]
Fix wrong cert path for CLI commands
refs #5450
Gunnar Beutner [Wed, 6 Sep 2017 11:15:56 +0000 (13:15 +0200)]
Improve log messages for the 'pki save-cert' command
refs #5450
Michael Friedrich [Wed, 6 Sep 2017 10:11:48 +0000 (12:11 +0200)]
Change directory layout to /var/lib/icinga2/{ca,certs,certificate_requests}
refs #5450
Michael Friedrich [Wed, 6 Sep 2017 08:54:39 +0000 (10:54 +0200)]
Fix ticket hash calculation for indirectly connected clients
refs #5450
Gunnar Beutner [Tue, 5 Sep 2017 12:44:56 +0000 (14:44 +0200)]
Refactor PkiUtility class
refs #5450
Michael Friedrich [Tue, 5 Sep 2017 12:21:30 +0000 (14:21 +0200)]
Implement ApiListener::Get*Dir() functions
refs #5450
Gunnar Beutner [Tue, 5 Sep 2017 12:16:26 +0000 (14:16 +0200)]
Update output format for the new CLI commands
refs #5450
Gunnar Beutner [Mon, 4 Sep 2017 14:19:46 +0000 (16:19 +0200)]
Implement support for pki::UpdateCertificate messages
refs #5450
Gunnar Beutner [Mon, 4 Sep 2017 11:18:06 +0000 (13:18 +0200)]
Implement support for forwarding certificate requests
refs #5450
Gunnar Beutner [Thu, 31 Aug 2017 09:10:14 +0000 (11:10 +0200)]
Implement support for cleaning up expired API callbacks
refs #5450
Gunnar Beutner [Wed, 30 Aug 2017 13:48:02 +0000 (15:48 +0200)]
Refuse to sign certificate if it already has the correct chain and doesn’t expire soon
refs #5450
Gunnar Beutner [Wed, 30 Aug 2017 13:12:24 +0000 (15:12 +0200)]
Improve error handling for JSON-RPC calls
refs #5450
Gunnar Beutner [Wed, 30 Aug 2017 13:12:04 +0000 (15:12 +0200)]
Add missing _unlink() calls for Windows
refs #5450
Gunnar Beutner [Wed, 30 Aug 2017 13:11:54 +0000 (15:11 +0200)]
Delete ticket file once we have a signed certificate
refs #5450
Gunnar Beutner [Wed, 30 Aug 2017 13:02:48 +0000 (15:02 +0200)]
Disconnect all clients when we update our own certificate
refs #5450
Gunnar Beutner [Tue, 29 Aug 2017 09:57:16 +0000 (11:57 +0200)]
Implement support for saving client tickets
refs #5450
Gunnar Beutner [Wed, 30 Aug 2017 11:33:38 +0000 (13:33 +0200)]
Implement support for reloading SSL certificates without a restart
refs #5450
Gunnar Beutner [Tue, 29 Aug 2017 12:37:13 +0000 (14:37 +0200)]
Implement support for updating client certificates
refs #5450
Gunnar Beutner [Tue, 29 Aug 2017 09:58:34 +0000 (11:58 +0200)]
Make the ticket optional in 'icinga2 node wizard'
refs #5450
Gunnar Beutner [Tue, 29 Aug 2017 09:57:42 +0000 (11:57 +0200)]
Improve message formatting for the 'icinga2 node wizard' command
refs #5450
Gunnar Beutner [Wed, 23 Aug 2017 13:11:32 +0000 (15:11 +0200)]
Implement support for sending pki::RequestCertificate messages in the cluster
refs #5450
Gunnar Beutner [Wed, 23 Aug 2017 10:18:45 +0000 (12:18 +0200)]
Change PKI path from /etc/icinga2/pki to /var/lib/icinga2/pki
refs #5450
Gunnar Beutner [Wed, 23 Aug 2017 10:12:43 +0000 (12:12 +0200)]
Implement the 'ca list' and 'ca sign' CLI commands
refs #5450
Gunnar Beutner [Tue, 22 Aug 2017 12:04:36 +0000 (14:04 +0200)]
Implement support for ticket-less certificate requests
refs #5450
Michael Friedrich [Mon, 11 Sep 2017 15:28:41 +0000 (17:28 +0200)]
ElasticWriter: Implement support for TLS connections (HTTP proxy)
This commit also enhances the log messages.
refs #5538
Michael Friedrich [Mon, 11 Sep 2017 15:00:33 +0000 (17:00 +0200)]
ElasticWriter: Add basic auth support for Elasticsearch behind an HTTP proxy
refs #5538
Michael Friedrich [Mon, 11 Sep 2017 14:51:13 +0000 (16:51 +0200)]
Move Base64 class into libbase
refs #5538
Michael Friedrich [Mon, 11 Sep 2017 11:34:11 +0000 (13:34 +0200)]
Drop obsolete code
refs #4054
Jean Flach [Thu, 7 Sep 2017 13:11:57 +0000 (15:11 +0200)]
Add ElasticWriter
fixes #5538
Michael Friedrich [Fri, 8 Sep 2017 11:28:11 +0000 (13:28 +0200)]
Logs: Change config sync update to highlight an information, not an error
fixes #5484
Gunnar Beutner [Thu, 7 Sep 2017 12:37:02 +0000 (14:37 +0200)]
Implement additional logging for the JsonRpc class
Michael Friedrich [Thu, 7 Sep 2017 10:32:23 +0000 (12:32 +0200)]
Merge pull request #5559 from rhopfer/fix/disk-exclude-configfs
Exclude configfs from disk checks
Roland Hopferwieser [Wed, 6 Sep 2017 15:34:07 +0000 (17:34 +0200)]
Exclude configfs from disk checks
Michael Friedrich [Thu, 7 Sep 2017 09:01:55 +0000 (11:01 +0200)]
Fix tests for URL formatting changes
refs #5558
Michael Friedrich [Wed, 6 Sep 2017 14:18:36 +0000 (16:18 +0200)]
Merge pull request #5558 from Icinga/fix/http-request
Don't sent scheme and hostname in request
Jean Flach [Wed, 6 Sep 2017 14:01:02 +0000 (16:01 +0200)]
Don't sent scheme and hostname in request
Gunnar Beutner [Tue, 5 Sep 2017 10:11:55 +0000 (12:11 +0200)]
Merge pull request #5549 from ctrlaltca/patch-1
Fix cli command used to enable debuglog feature on windows
fixes #5549
ctrlaltca [Tue, 5 Sep 2017 09:28:18 +0000 (11:28 +0200)]
Fix cli command used to enable debuglog feature on windows
Michael Friedrich [Tue, 5 Sep 2017 09:13:33 +0000 (11:13 +0200)]
Merge pull request #5495 from federico-cuello-sociomantic/patch-1
Fix parameter order for AcknowledgeSvcProblem / AcknowledgeHostProblem / apiactions:AcknowledgeProblem
Federico Cuello [Fri, 11 Aug 2017 12:39:47 +0000 (14:39 +0200)]
Fix parameter order for Acknowledge{,Svc,Host}Problem in API actions/external commands
It was preventing email notifications with default settings, as `persistent` defaults to false and therefore `notify` was not set.
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
Michael Friedrich [Tue, 5 Sep 2017 06:40:36 +0000 (08:40 +0200)]
Merge pull request #5536 from nbuchwitz/patch-1
Fixed nscp-disk service example
Michael Friedrich [Tue, 5 Sep 2017 06:38:03 +0000 (08:38 +0200)]
Merge pull request #5543 from tobiasvdk/fix/ipmi-sensors-checkcommand-5542
ITL: Correct arguments for ipmi-sensor CheckCommand
Tobias von der Krone [Fri, 1 Sep 2017 12:19:07 +0000 (14:19 +0200)]
ITL: Correct arguments for ipmi-sensor CheckCommand
Replace the wrong "set_if" attribute and assign the value correctly.
fixes #5542
Nicolai [Tue, 29 Aug 2017 11:34:00 +0000 (13:34 +0200)]
Fixed nscp-disk service example
Michael Friedrich [Mon, 28 Aug 2017 18:04:25 +0000 (20:04 +0200)]
Merge pull request #5534 from Icinga/feature/get-services
Implement get_services(host {name,object}) and add host object support for get_service()
Michael Friedrich [Wed, 23 Aug 2017 12:18:28 +0000 (14:18 +0200)]
Implement get_services(host {name,object}) and add host object support for get_service()
This includes some debug console examples too which involve advanced
map() and filter examples for better readability.
refs #4912
Michael Friedrich [Thu, 24 Aug 2017 13:30:41 +0000 (15:30 +0200)]
Merge pull request #5529 from mcktr/mcktr/fix/checkable-loglines
Change two more loglines for checkables so checkable is quoted
Michael [Thu, 24 Aug 2017 11:35:55 +0000 (13:35 +0200)]
Change more loglines for checkables so checkable is quoted
refs #5528
Michael Friedrich [Wed, 23 Aug 2017 17:49:02 +0000 (19:49 +0200)]
Merge pull request #5528 from widhalmt/fix/checkable-log
Change loglines for checkables so checkable is quoted
Thomas Widhalm [Wed, 23 Aug 2017 17:11:46 +0000 (19:11 +0200)]
Change loglines for checkables so checkable is quoted
Michael Friedrich [Tue, 22 Aug 2017 07:12:08 +0000 (09:12 +0200)]
Merge pull request #5527 from Icinga/feature/api-process-check-result-execution-end-5002
API: Add execution_{start,end} attribute to 'process-check-result' action
Michael Friedrich [Mon, 21 Aug 2017 15:20:56 +0000 (17:20 +0200)]
API: Add execution_{start,end} attribute to 'process-check-result' action
fixes #5002
Michael Friedrich [Mon, 21 Aug 2017 09:36:52 +0000 (11:36 +0200)]
Merge pull request #5523 from Icinga/feature/enhance-client-connect-logging
Enhance client connect/sync logging and include bytes/zone in logs
Michael Friedrich [Mon, 21 Aug 2017 09:36:32 +0000 (11:36 +0200)]
Merge pull request #5524 from Icinga/fix/cluster-fifo-optimize
Change FIFO::Optimize() frequency for large messages
Michael Friedrich [Mon, 21 Aug 2017 09:08:13 +0000 (11:08 +0200)]
Enhance client connect/sync logging and include bytes/zone in logs
refs #5513
Michael Friedrich [Thu, 17 Aug 2017 16:03:37 +0000 (18:03 +0200)]
Change FIFO::Optimize() frequency for large messages
refs #5513
Michael Friedrich [Fri, 18 Aug 2017 15:13:31 +0000 (17:13 +0200)]
Fix wrong sub chapter for external checks
Michael Friedrich [Fri, 18 Aug 2017 15:05:18 +0000 (17:05 +0200)]
Merge pull request #5522 from Icinga/feature/docs-external-checks-freshness
Docs: Update freshness checks; add chapter for external check results
Michael Friedrich [Fri, 18 Aug 2017 15:02:43 +0000 (17:02 +0200)]
Docs: Update freshness checks; add chapter for external check results
This also adds a nice example for freshness checks with unknown runtime details.
Michael Friedrich [Thu, 17 Aug 2017 18:06:47 +0000 (20:06 +0200)]
Merge pull request #5486 from Icinga/feature/remove-deprecated-graphite-legacy-mode
Graphite: Remove deprecated legacy schema mode
Michael Friedrich [Thu, 17 Aug 2017 16:25:17 +0000 (18:25 +0200)]
Merge pull request #5504 from spjmurray/fix/influxdb_timeouts_5460_5469
Fix TLS Race Connecting to InfluxDB
Michael Friedrich [Thu, 17 Aug 2017 16:17:58 +0000 (18:17 +0200)]
Merge pull request #5516 from mcktr/fix/install-dependencies-debian
Updates the install dependencies for Debian 9 'stretch'
Michael [Wed, 16 Aug 2017 19:37:17 +0000 (21:37 +0200)]
Updates the install dependencies for Debian 9 'stretch'
This updates the dependencies for an installtion on Debian 9 'stretch'. The package libmysqlclient-dev is no longer available on Debian 9, therefore we need to install the (meta) package default-libmysqlclient-dev, which points to libmariadbclient-dev-compat and is compatibl to libmysqlclient-dev.
Michael Friedrich [Wed, 16 Aug 2017 13:28:15 +0000 (15:28 +0200)]
Livestatus: Fix crash with empty stats columns
refs #5078
refs #5503
Michael Friedrich [Tue, 15 Aug 2017 18:56:10 +0000 (20:56 +0200)]
Merge pull request #5394 from dupondje/add_mssql_args
itl: add additional mssql_health arguments
Michael Friedrich [Tue, 15 Aug 2017 10:54:31 +0000 (12:54 +0200)]
Merge pull request #5401 from leeclemens/fix/itl-manubulon-snmp-env
itl: Add manubulon/check_snmp_env.pl as CheckCommand snmp-env
Michael Friedrich [Tue, 15 Aug 2017 10:52:33 +0000 (12:52 +0200)]
Merge pull request #5497 from Icinga/fix/api-object-query-type-error
API: Fix requested attrs/joins/meta type errors in object query response
Michael Friedrich [Tue, 15 Aug 2017 09:13:45 +0000 (11:13 +0200)]
Merge pull request #5506 from Icinga/fix/doc-itl-nscp_api
Docs: Fix wrong parameter for ITL CheckCommand nscp_api
Michael Friedrich [Tue, 15 Aug 2017 09:12:13 +0000 (11:12 +0200)]
Docs: Fix wrong parameter for ITL CheckCommand nscp_api
refs #5239
Yannick Charton [Mon, 14 Aug 2017 15:51:23 +0000 (17:51 +0200)]
Feature/itl check snmp options (#5387)
Add missing options for the definition of the ITL snmp CheckCommand
snmp_offset, snmp_output_delimiter and snmp_perf_oids options
Michael Friedrich [Mon, 14 Aug 2017 15:36:08 +0000 (17:36 +0200)]
Merge pull request #5502 from mcktr/mcktr/fix/notification-scripts
Fix duplicate variable in notification scripts
Michael [Mon, 14 Aug 2017 13:25:19 +0000 (15:25 +0200)]
Notification scripts: Fix duplicate variable in mail-{host,service}-notification
Michael Friedrich [Mon, 14 Aug 2017 15:30:14 +0000 (17:30 +0200)]
Merge pull request #5468 from cycloon/master
Make notification mails more readable. Remove redundancy and cruft.
Christian Gut [Mon, 7 Aug 2017 13:55:17 +0000 (15:55 +0200)]
Notification scripts: More readable & redundancy cleanup
Michael Friedrich [Mon, 14 Aug 2017 15:21:59 +0000 (17:21 +0200)]
Merge pull request #5474 from pv2b/notification-make-ipv4-optional
Notification scripts - make HOSTADDRESS optional
Simon Murray [Mon, 14 Aug 2017 15:20:45 +0000 (16:20 +0100)]
Fix TLS Race Connecting to InfluxDB
Rather than leaving stale connections about we tried to poll for data coming in
from InfluxDB and timeout if it didn't repond in a timely manner. This introduced
a race where the timeout triggers, a context switch occurs where data is actually
available and the TlsStream spins trying to asynchronously notify that data is
available, but which never gets read. Not only does this use up 100% of a core,
but it also slowly starves the system of handler threads at which point metrics
stop being delivered.
This basically removes the poll and timeout, any TLS socket erros should be
detected by TCP keep-alives.
Fixes #5460 #5469
Michael Friedrich [Mon, 14 Aug 2017 15:09:44 +0000 (17:09 +0200)]
Update documentation for optional arguments and add old updated command config
See https://www.icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#notification-commands-in-27
refs #5474
pv2b [Tue, 8 Aug 2017 09:39:30 +0000 (11:39 +0200)]
Notification scripts: Make the `-4` parameter optional
Not all hosts may have the `address` attribute set, or just use
`address6` instead.
refs #5474
Michael Friedrich [Mon, 14 Aug 2017 14:56:07 +0000 (16:56 +0200)]
Merge pull request #5501 from dgoetz/fix/selinux-5479
SELinux: fixes for 2.7.0
Gunnar Beutner [Mon, 14 Aug 2017 14:19:18 +0000 (16:19 +0200)]
Merge pull request #5503 from Icinga/fix/livestatus-stats-groups
Fix grouping for Livestatus queries with 'Stats'
Gunnar Beutner [Mon, 14 Aug 2017 13:30:06 +0000 (15:30 +0200)]
Fix grouping for Livestatus queries with 'Stats'
refs #5078
Dirk Goetz [Mon, 14 Aug 2017 11:48:08 +0000 (11:48 +0000)]
SELinux: fixes for 2.7.0
allow Icinga2 to connect to its own API
allow execution of hostname for notification plugin
refs #5479
Michael Friedrich [Mon, 14 Aug 2017 09:41:49 +0000 (11:41 +0200)]
Merge pull request #5500 from Icinga/fix/json-parsing-error-on-process-helper-crash
Process: Fix JSON parsing error on process helper crash
Noah Hilverling [Mon, 14 Aug 2017 06:27:04 +0000 (08:27 +0200)]
Process: Fix JSON parsing error on process helper crash
Stefar77 [Fri, 11 Aug 2017 14:20:47 +0000 (16:20 +0200)]
API: Fix requested attrs/joins/meta type errors in object query response
fixes #5377
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
Michael Friedrich [Fri, 11 Aug 2017 13:09:34 +0000 (15:09 +0200)]
Merge pull request #5496 from Icinga/fix/docs-match-all
Docs: Update examples for match/regex/cidr_match and mode for arrays (Match{All,Any})
Michael Friedrich [Fri, 11 Aug 2017 13:02:41 +0000 (15:02 +0200)]
Docs: Update examples for match/regex/cidr_match and mode for arrays (Match{All,Any})
refs #5480