]>
granicus.if.org Git - icinga2/log
Alexander A. Klimov [Thu, 21 Feb 2019 09:55:47 +0000 (10:55 +0100)]
ApiListener: use setsockopt(), not tcp::acceptor#set_option()
Alexander A. Klimov [Thu, 21 Feb 2019 09:41:31 +0000 (10:41 +0100)]
ApiListener: log why bind(2) failed
Alexander A. Klimov [Thu, 21 Feb 2019 09:08:38 +0000 (10:08 +0100)]
IoEngine: adjust I/O threads
Alexander A. Klimov [Wed, 20 Feb 2019 15:07:41 +0000 (16:07 +0100)]
ApiListener: fix self-made security hole
Alexander A. Klimov [Wed, 20 Feb 2019 14:27:15 +0000 (15:27 +0100)]
HttpServerConnection: re-add automatic disconnect
Alexander A. Klimov [Wed, 20 Feb 2019 13:56:12 +0000 (14:56 +0100)]
Re-add HttpServerConnection#Disconnect()
Alexander A. Klimov [Wed, 20 Feb 2019 13:41:01 +0000 (14:41 +0100)]
JsonRpcConnection: add missing CpuBoundWork
Alexander A. Klimov [Wed, 20 Feb 2019 13:24:09 +0000 (14:24 +0100)]
JsonRpcConnection: re-add num_json_rpc_work_queue_item_rate
Alexander A. Klimov [Wed, 20 Feb 2019 12:49:50 +0000 (13:49 +0100)]
JsonRpcConnection: re-add automatic disconnect
Alexander A. Klimov [Wed, 20 Feb 2019 11:28:49 +0000 (12:28 +0100)]
JsonRpcConnection: re-add heartbeats
Alexander A. Klimov [Wed, 20 Feb 2019 11:00:11 +0000 (12:00 +0100)]
Re-add JsonRpcConnection#Disconnect()
Alexander A. Klimov [Tue, 19 Feb 2019 17:06:14 +0000 (18:06 +0100)]
ApiListener#NewClientHandlerInternal(): shut down TLS stream
Alexander A. Klimov [Tue, 19 Feb 2019 16:38:09 +0000 (17:38 +0100)]
ApiListener: fix self-made security hole
Alexander A. Klimov [Tue, 19 Feb 2019 13:12:46 +0000 (14:12 +0100)]
ApiListener: don't require a valid certificate for the TLS handshake to complete
Alexander A. Klimov [Tue, 19 Feb 2019 12:57:36 +0000 (13:57 +0100)]
Port JsonRpcConnection to Boost ASIO
Alexander A. Klimov [Tue, 19 Feb 2019 10:29:45 +0000 (11:29 +0100)]
JsonRpc::ReadMessage(): add Boost ASIO overload
Alexander A. Klimov [Tue, 19 Feb 2019 10:20:39 +0000 (11:20 +0100)]
NetString::ReadStringFromStream(): add Boost ASIO overload
Alexander A. Klimov [Mon, 18 Feb 2019 14:31:58 +0000 (15:31 +0100)]
ApiListener: send icinga::Hello message
Alexander A. Klimov [Mon, 18 Feb 2019 14:23:41 +0000 (15:23 +0100)]
JsonRpc::SendMessage(): add Boost ASIO overload
Alexander A. Klimov [Mon, 18 Feb 2019 14:21:50 +0000 (15:21 +0100)]
NetString::WriteStringToStream(): add Boost ASIO overload
Alexander A. Klimov [Mon, 18 Feb 2019 13:56:45 +0000 (14:56 +0100)]
ApiListener: connect(2) via Boost ASIO
Alexander A. Klimov [Mon, 18 Feb 2019 13:23:59 +0000 (14:23 +0100)]
ApiListener#ListenerCoroutineProc(): catch more edge cases
Alexander A. Klimov [Fri, 15 Feb 2019 17:19:56 +0000 (18:19 +0100)]
ApiListener: restore previous bind(2) behavior
Alexander A. Klimov [Fri, 15 Feb 2019 14:43:58 +0000 (15:43 +0100)]
IoEngine: explicitly join I/O threads
Alexander A. Klimov [Fri, 15 Feb 2019 14:24:02 +0000 (15:24 +0100)]
EnsureAcceptHeader(): fix wrong condition
Alexander A. Klimov [Fri, 15 Feb 2019 13:36:23 +0000 (14:36 +0100)]
/v1/events: don't truncate any events
Alexander A. Klimov [Fri, 15 Feb 2019 12:32:55 +0000 (13:32 +0100)]
Don't warn that Boost.Coroutine v1 is deprecated
Alexander A. Klimov [Fri, 15 Feb 2019 11:32:22 +0000 (12:32 +0100)]
/v1/events: don't lock I/O thread
Alexander A. Klimov [Fri, 15 Feb 2019 11:25:25 +0000 (12:25 +0100)]
Implement IoBoundWorkSlot
Alexander A. Klimov [Fri, 15 Feb 2019 10:51:12 +0000 (11:51 +0100)]
Adjust /v1/events, too
Alexander A. Klimov [Fri, 15 Feb 2019 09:33:01 +0000 (10:33 +0100)]
Adjust all HTTP handlers (ex. /v1/events)
Alexander A. Klimov [Thu, 14 Feb 2019 16:27:17 +0000 (17:27 +0100)]
HttpServerConnection: actually handle requests
Alexander A. Klimov [Thu, 14 Feb 2019 15:10:41 +0000 (16:10 +0100)]
HttpServerConnection: verify requests via Boost ASIO + Beast
Alexander A. Klimov [Thu, 14 Feb 2019 15:07:06 +0000 (16:07 +0100)]
Add HttpUtility::SendJsonError() overload for Boost/Beast
Alexander A. Klimov [Thu, 14 Feb 2019 12:12:36 +0000 (13:12 +0100)]
Add HttpUtility::SendJsonBody() overload for Boost/Beast
Alexander A. Klimov [Thu, 14 Feb 2019 12:10:04 +0000 (13:10 +0100)]
Allow CpuBoundWork to be done before end of scope
Alexander A. Klimov [Tue, 12 Feb 2019 13:56:47 +0000 (14:56 +0100)]
ApiListener: detect protocol
Alexander A. Klimov [Tue, 12 Feb 2019 13:56:25 +0000 (14:56 +0100)]
ApiListener: verify peer
Alexander A. Klimov [Fri, 8 Feb 2019 17:00:53 +0000 (18:00 +0100)]
ApiListener: perform TLS handshake
Alexander A. Klimov [Fri, 8 Feb 2019 13:23:10 +0000 (14:23 +0100)]
Make ApiListener#m_SSLContext a Boost ASIO SSL context
Alexander A. Klimov [Fri, 8 Feb 2019 10:43:47 +0000 (11:43 +0100)]
ApiListener: listen(2) via Boost ASIO
Alexander A. Klimov [Fri, 8 Feb 2019 09:05:24 +0000 (10:05 +0100)]
Implement basic I/O engine
Alexander A. Klimov [Tue, 12 Feb 2019 10:47:03 +0000 (11:47 +0100)]
Implement LazyInit<T>
Alexander A. Klimov [Fri, 8 Feb 2019 10:51:22 +0000 (11:51 +0100)]
Require Boost context, coroutine and date_time
Alexander A. Klimov [Thu, 7 Feb 2019 15:33:59 +0000 (16:33 +0100)]
Require Boost v1.66.0+
Michael Friedrich [Mon, 1 Apr 2019 08:30:11 +0000 (10:30 +0200)]
Merge pull request #7062 from Icinga/bugfix/ido-reconnect-failover
Improve DB IDO HA failover behaviour
Michael Friedrich [Mon, 1 Apr 2019 07:31:55 +0000 (09:31 +0200)]
Docs: Add failover changes to upgrading chapter
Michael Friedrich [Mon, 1 Apr 2019 07:31:03 +0000 (09:31 +0200)]
ido Check: Add last failover timestamp to output when HA enabled IDO is running
Michael Friedrich [Mon, 1 Apr 2019 06:51:18 +0000 (08:51 +0200)]
Code Quality: Move authority.cpp into the ApiListener class scope
Michael Friedrich [Fri, 29 Mar 2019 14:53:56 +0000 (15:53 +0100)]
Improve DB IDO HA failover behaviour
- Decrease Object Authority updates to 10s (was 30s)
- Decrease failover timeout to 30s (was 60s)
- Decrease cold startup (after (re)start) with no OA updates to 30s (was 60s)
- Immediately connect on Resume()
- Fix query priority which got broken with #6970
- Add more logging when a failover is in progress
```
[2019-03-29 16:13:53 +0100] information/IdoMysqlConnection: Last update by endpoint 'master1' was 8.33246s ago (< failover timeout of 30s). Retrying.
[2019-03-29 16:14:23 +0100] information/IdoMysqlConnection: Last update by endpoint 'master1' was 38.3288s ago. Taking over 'ido-mysql' in HA zone 'master'.
```
- Add more logging for reconnect and disconnect handling
- Add 'last_failover' attribute to IDO*Connection objects
refs #6970
Michael Friedrich [Thu, 28 Mar 2019 08:56:49 +0000 (09:56 +0100)]
Fix code block in distributed monitoring docs
refs #6998
(cherry picked from commit
12b0b9a936fc842742e00cf14089139236d95b76 )
Michael Friedrich [Wed, 27 Mar 2019 16:16:18 +0000 (17:16 +0100)]
Merge pull request #7052 from Icinga/feature/ha-enable
Disable feature HA by default (InfluxDB, Graphite, Gelf, Elasticsearch, OpenTSDB, Perfdata)
Michael Friedrich [Wed, 27 Mar 2019 14:29:03 +0000 (15:29 +0100)]
Disable feature HA by default (InfluxDB, Graphite, Gelf, Elasticsearch, OpenTSDB, Perfdata)
Michael Friedrich [Wed, 27 Mar 2019 11:16:07 +0000 (12:16 +0100)]
Merge pull request #7051 from Icinga/bugfix/influxdb-flush-buffer
InfluxDB/Elasticsearch: Flush only if there's data in the buffer
Michael Friedrich [Wed, 27 Mar 2019 10:35:41 +0000 (11:35 +0100)]
Also apply buffer flush fix for Elasticsearch feature
Michael Friedrich [Wed, 27 Mar 2019 10:16:08 +0000 (11:16 +0100)]
InfluxDB: Flush only if there's data in the buffer
Regression from 2.10.4
Michael Friedrich [Tue, 26 Mar 2019 08:50:21 +0000 (09:50 +0100)]
Merge pull request #7047 from Icinga/feature/update-issue-templates
Update issue templates
Michael Friedrich [Tue, 26 Mar 2019 08:48:52 +0000 (09:48 +0100)]
Merge pull request #7049 from Icinga/feature/docs-api-golang
REST API Docs: Add Golang client code example
Michael Friedrich [Tue, 26 Mar 2019 08:46:36 +0000 (09:46 +0100)]
REST API Docs: Add Golang client code example
Michael Friedrich [Tue, 26 Mar 2019 08:40:17 +0000 (09:40 +0100)]
Merge pull request #6998 from Icinga/bugfix/doc-code-formatting
Unify documentation code formatting
Michael Insel [Thu, 7 Mar 2019 18:56:49 +0000 (19:56 +0100)]
Unify documentation code formatting
This unifies the documentation code formatting to use only backticks.
Michael Friedrich [Mon, 25 Mar 2019 15:56:00 +0000 (16:56 +0100)]
Update issue templates
Michael Friedrich [Mon, 25 Mar 2019 10:38:04 +0000 (11:38 +0100)]
Merge pull request #7042 from dgoetz/bugfix/selinux_sudo-7039
SELinux: add a boolean to allow execution of plugins via sudo
Michael Friedrich [Mon, 25 Mar 2019 10:01:25 +0000 (11:01 +0100)]
Merge pull request #7046 from Icinga/feature/docs-ca-list-cleanup
Document that `ca list` is not an inventory, add cleanup cycle
Michael Friedrich [Mon, 25 Mar 2019 09:59:55 +0000 (10:59 +0100)]
Document that `ca list` is not an inventory, add cleanup cycle
Dirk Goetz [Fri, 22 Mar 2019 10:24:01 +0000 (11:24 +0100)]
SELinux: add a boolean to allow execution of plugins via sudo
Fixes #7039
Michael Friedrich [Thu, 21 Mar 2019 10:30:39 +0000 (11:30 +0100)]
Merge pull request #7037 from lamaral/bugfix/api_doc_title
Fix incorrect title in API docs
Luiz Amaral [Wed, 20 Mar 2019 10:34:59 +0000 (11:34 +0100)]
Fix incorrect title in API docs
The API docs had the title "List Configuration Packages and their Stages" written twice.
Michael Friedrich [Wed, 20 Mar 2019 09:49:54 +0000 (10:49 +0100)]
Merge pull request #7035 from Icinga/feature/es-content-type
Elasticsearch: Change Content-Type header to 'application/x-ndjson' for bulk streams
Michael Friedrich [Wed, 20 Mar 2019 09:13:38 +0000 (10:13 +0100)]
Elasticsearch: Change Content-Type header to 'application/x-ndjson' for bulk streams
fixes #6609
Michael Friedrich [Tue, 19 Mar 2019 15:59:02 +0000 (16:59 +0100)]
Merge pull request #7034 from Icinga/feature/nsclient-update
Update NSClient++ to 0.5.2.39
Michael Friedrich [Tue, 19 Mar 2019 10:50:30 +0000 (11:50 +0100)]
Update RELEASE checklist
(cherry picked from commit
07161899e01e385c4cffd357fbc075d289d07be5 )
Michael Friedrich [Tue, 19 Mar 2019 11:56:33 +0000 (12:56 +0100)]
Merge branch 'support/2.10'
Michael Friedrich [Tue, 19 Mar 2019 11:55:29 +0000 (12:55 +0100)]
Release version 2.10.4
Michael Friedrich [Tue, 19 Mar 2019 11:55:29 +0000 (12:55 +0100)]
Release version 2.10.4
Michael Insel [Mon, 26 Nov 2018 16:13:58 +0000 (17:13 +0100)]
Fix check_perfmon to support non-localized names
This fixes check_perfmon to support non-localized names on localized
Windows machines. The fix handles the given performance counter by
default as non-localized name, if none is found it falls back to the
localized name.
refs #5546
(cherry picked from commit
5da4fbde3b501c174ec028b7a7ae036194a5a77e )
Michael Friedrich [Tue, 19 Mar 2019 11:08:19 +0000 (12:08 +0100)]
Docs: Update supported package repos in Getting Started chapter
- Add Raspbian
- Link to support matrix
- Use generic source list generators for Debian/Ubuntu
- Reorder dependent repo chapters (EPEL, etc.)
- Drop el6 instructions for IDO
(cherry picked from commit
1c546a7b510a1f15059932ccc60ab52161c68915 )
Michael Friedrich [Tue, 19 Mar 2019 11:25:59 +0000 (12:25 +0100)]
Merge pull request #7033 from Icinga/feature/docs-package-repos
Docs: Update supported package repos in Getting Started chapter
Michael Friedrich [Tue, 19 Mar 2019 11:08:19 +0000 (12:08 +0100)]
Docs: Update supported package repos in Getting Started chapter
- Add Raspbian
- Link to support matrix
- Use generic source list generators for Debian/Ubuntu
- Reorder dependent repo chapters (EPEL, etc.)
- Drop el6 instructions for IDO
Michael Friedrich [Tue, 19 Mar 2019 10:50:30 +0000 (11:50 +0100)]
Update RELEASE checklist
Michael Friedrich [Tue, 19 Mar 2019 10:50:17 +0000 (11:50 +0100)]
Update AUTHORS
Michael Friedrich [Tue, 19 Mar 2019 10:34:48 +0000 (11:34 +0100)]
Merge pull request #7031 from Icinga/feature/metricwriters-logging
Improve logging for parsing metrics in features
Alexander A. Klimov [Fri, 8 Mar 2019 15:55:06 +0000 (16:55 +0100)]
check_network -h: drop non-existent feature
refs #6155
(cherry picked from commit
9f26569bcc203d98498466cc1ffa6549a9b81998 )
Michael Insel [Mon, 18 Mar 2019 16:20:28 +0000 (17:20 +0100)]
Fix heading level in development chapter
This fixes the wrong heading level for the Debian development
environment.
(cherry picked from commit
da3775b6dbc0541558b9ee3618b55f057297a137 )
Dirk Goetz [Mon, 18 Mar 2019 18:43:47 +0000 (19:43 +0100)]
SELinux: add unreserved_port_type attribute to icinga2_port_t
Fixes #7029
(cherry picked from commit
726be2fec262f10b42649d1dad5099336e8610e9 )
Alexander A. Klimov [Fri, 15 Mar 2019 12:15:24 +0000 (13:15 +0100)]
ElasticsearchWriter: don't leak sockets
refs #7018
(cherry picked from commit
b2e2b587da530a5b79f746ed0db5b3804b502e07 )
Alexander A. Klimov [Fri, 1 Mar 2019 13:30:49 +0000 (14:30 +0100)]
InfluxdbWriter: don't leak sockets
refs #6989
(cherry picked from commit
2a6b122413dfc8762a7839bbe41c125455a17b5c )
Michael Friedrich [Tue, 19 Mar 2019 10:28:48 +0000 (11:28 +0100)]
Merge pull request #7032 from Icinga/feature/backport-defer
Backport Defer class for 2.10
Michael Friedrich [Tue, 19 Mar 2019 10:23:18 +0000 (11:23 +0100)]
Backport Defer class for 2.10
Bas Couwenberg [Tue, 26 Feb 2019 07:49:36 +0000 (08:49 +0100)]
Fix nested hostgroup example
In Icinga 1.x the list of members was set on the group object, in Icinga 2 the list of groups is set on the member objects.
(cherry picked from commit
8d3c8fd107f5c6e0da5551992208213fd4b8a867 )
Alexander A. Klimov [Fri, 11 Jan 2019 17:25:12 +0000 (18:25 +0100)]
Notification#BeginExecuteNotification(): SetNextNotification() correctly
refs #5561
(cherry picked from commit
3b2054761ad90e71fba82d13cd57d7388f524993 )
Jean Flach [Thu, 10 Jan 2019 10:44:14 +0000 (11:44 +0100)]
Don't run UpdateObjectAuthority for Comments and Downtimes
(cherry picked from commit
2aff6a5887112259d795401e907a879ce424db51 )
Michael Friedrich [Thu, 8 Nov 2018 11:13:32 +0000 (12:13 +0100)]
Fix that no_more_notifications gets reset when Recovery notifications are filtered away
Hello from the OSMC hackathon :)
(cherry picked from commit
d082e8c1b19c88a68e0381db7f5806f31fe8523d )
Michael Insel [Thu, 25 Oct 2018 16:07:05 +0000 (18:07 +0200)]
Update Windows agent documentation screenshots
Updates the Windows agent screenshots in the documentation with the new design.
refs #6729
(cherry picked from commit
a1540aebcc4b082fbdcd56bbae69b02063a2c517 )
Michael Insel [Thu, 25 Oct 2018 16:00:10 +0000 (18:00 +0200)]
Update Windows Agent design
This updates the Windows agent design to use the Icinga background
image.
refs #6729
(cherry picked from commit
68faeccff817b15c9c7838670c49067aaf242c43 )
Michael Friedrich [Mon, 9 Apr 2018 07:32:21 +0000 (09:32 +0200)]
Update NSClient++ to 0.5.2.39
Michael Friedrich [Tue, 19 Mar 2019 08:38:32 +0000 (09:38 +0100)]
Improve logging of OpenTsdbWriter
Michael Friedrich [Tue, 19 Mar 2019 08:32:02 +0000 (09:32 +0100)]
Improve logging of GelfWriter
Michael Friedrich [Tue, 19 Mar 2019 08:01:12 +0000 (09:01 +0100)]
Improve logging of ElasticsearchWriter
Michael Friedrich [Tue, 19 Mar 2019 07:35:55 +0000 (08:35 +0100)]
Improve logging of InfluxdbWriter