Commit Graph

7030 Commits

Author SHA1 Message Date
Gunnar Beutner 8f53835c11 Make sure we only have one connection per satellite
refs #11014
2016-01-25 10:57:06 +01:00
Michael Friedrich b960850ce3 DB IDO: Only update 'next_check' column when manually scheduling a check
Otherwise the changes from #7287 already take care of setting
the proper next check time from inside ProcessCheckResult().

There is no need to use the generic OnNextCheckChanged signal
but instead we're using a new one, locally just for DB IDO.

fixes #11019
2016-01-22 18:42:15 +01:00
Michael Friedrich 2a11b27972 Properly set the next check time for active and passive checks
fixes #7287
refs #11019
2016-01-22 18:40:14 +01:00
Michael Friedrich 730db0cba1 Fix: Modified attributes do not work for the IcingaApplication object w/ external commands
fixes #10974
2016-01-21 19:07:54 +01:00
Michael Friedrich ddc1b251a6 Fix: Escaped sequences not properly generated with 'node update-config'
fixes #10989
2016-01-21 18:14:53 +01:00
Gunnar Beutner 6ca054e618 Ensure that checks are not scheduled for command_endpoint fake hosts
refs #10963
2016-01-21 16:37:52 +01:00
Gunnar Beutner 6d88d9035d Remove redundant log messages
refs #10963
2016-01-21 13:02:53 +01:00
Gunnar Beutner 72c3b6d75b Make sure we're not running command_endpoint-based checks more than once
refs #10963
2016-01-21 10:37:47 +01:00
Lee Clemens 7bf012ca50 Reload logs after logrotate across distros
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10935
2016-01-21 10:12:43 +01:00
Gunnar Beutner 88d97dd236 Fix incorrect type name in the documentation
fixes #10998
2016-01-21 09:06:57 +01:00
Gunnar Beutner 4412389eb6 Fix incorrect type name in the documentation
fixes #10998
2016-01-21 09:06:21 +01:00
Tobias von der Krone 1c67bf394c Support TLSv1.1 and TLSv1.2 for the cluster transport encryption
From https://wiki.openssl.org/index.php/SSL/TLS_Client:
SSLv23_method specifies the protocols used and behavior of the handshake.
The method essentially means SSLv2 or above, and includes the TLS protocols.
The protocols are further tuned through SSL/TLS options. By using
SSLv23_method (and removing the SSL protocols with SSL_OP_NO_SSLv2 and
SSL_OP_NO_SSLv3), then you will use TLS v1.0 and above, including TLS v1.2.
You will also use a TLS handshake in the TLS Record.

If you use TLSv1_method, then you will only use TLS v1.0.

fixes #10988
2016-01-20 16:48:00 +01:00
Michael Friedrich 4ce43b8d02 ExternalCommandListener: Fix crash when reading from socket
refs #10700
2016-01-20 16:38:31 +01:00
Michael Friedrich a51e647cc7 Fix check scheduling w/ retry_interval
fixes #7287
2016-01-20 16:29:01 +01:00
Gunnar Beutner e48ed33000 Add missing SetSyncing() call
refs #10963
2016-01-20 14:07:07 +01:00
Gunnar Beutner 55f0c589ad Skip log replay for endpoints with log_duration = 0
refs #10963
2016-01-19 17:25:28 +01:00
Gunnar Beutner db0c6ef187 Only build leak detection code when I2_LEAK_DEBUG is set
refs #10963
2016-01-19 16:43:46 +01:00
Gunnar Beutner e4b7111577 Check the certificate name when reconnecting to an instance
refs #10963
2016-01-19 16:24:12 +01:00
Gunnar Beutner b1aa6cc98a Decrease memory usage for the Object class
refs #10963
2016-01-19 16:24:07 +01:00
Gunnar Beutner d50c8e1085 Improve debug support for analyzing memory leaks
refs #10963
2016-01-19 15:24:17 +01:00
Jean Flach 99d2f9a086 Fix AUTHORS and .mailmap
A name appears twice

fixes #10981
2016-01-18 16:12:59 +01:00
Claudio Kuenzler da85c7a20e Fix mongodb CheckCommand
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10979
2016-01-18 15:43:51 +01:00
Eduard Güldner 09cb793402 Added exclude parameter in disk-windows CheckCommand
Added missing command parameter in definition for disk-windows CheckCommand
in order to be able to exclude certain drives from being checked.
This parameter was addressed in feature #9201
Further details can be found in feature #10787

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10787
2016-01-18 10:27:54 +01:00
Jean Flach 08698c3622 Fix another compiler warning
fixes #10956
2016-01-18 09:41:52 +01:00
Jean Flach cb70d97dcf Plug two memory leaks
refs #10963
2016-01-15 10:11:52 +01:00
Sebastian Brückner 46000497cf Add timeout to snmpv3 check
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10920
2016-01-14 17:50:37 +01:00
Michael Friedrich d9fac2b613 Raise a config error for "Checkable" objects in global zones
fixes #10807
2016-01-14 15:34:38 +01:00
Lee Clemens 984eaf5a1f Add network.target to unit file
Icinga2 fails with 'Cannot bind TCP socket for host',
if other services requiring network.target are not installed.

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10968
2016-01-14 10:11:38 +01:00
Michael Friedrich a9d09e490d Better explaination for array values in "disk" CheckCommand docs
fixes #10959
2016-01-13 16:51:47 +01:00
Michael Friedrich c49fed204a Troubleshooting: Explain how to fetch the executed command
fixes #10964
2016-01-13 16:48:43 +01:00
Gunnar Beutner 7f4af89a56 Ensure that HttpServerConnections are properly closed
fixes #10655
2016-01-13 10:30:38 +01:00
Dirk Goetz 882495952a Provide packages for icinga-studio on Fedora
Moves libraries to separate subpackage

fixes #10952

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2016-01-13 09:39:14 +01:00
Gunnar Beutner de11ef704a Fix compiler warning
fixes #10956
2016-01-13 08:33:27 +01:00
Gunnar Beutner c544c686a8 Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Jean Flach 957cf3169f Replace boost-base64 with an openssl implementation
Also add unit tests

fixes #10714
2016-01-11 15:35:20 +01:00
Gunnar Beutner 82961d8977 Build fix for Windows
fixes #10824
2016-01-11 14:28:58 +01:00
Gunnar Beutner 1bf27011df Fix incorrect is_active queries
fixes #10891
2016-01-11 14:23:16 +01:00
Simon Ruderich 35c829c017 doc/5-advanced-topics: add example how to use custom functions in attributes
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10947
2016-01-11 10:00:09 +01:00
Per von Zweigbergk aa7ad721c7 Change B/s unit to B to comply with Nagios plugin spec
Unfortunately B/s is not a valid unit in the Nagios plugin specification. As a bit of a sad workaround, we set the unit to B, which is technically incorrect, but we can't really do much about that without amending the spec...

fixes #10544

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-01-05 15:18:34 +01:00
Per von Zweigbergk 370a1127e9 Fixed invalid quoting for network device names
Quoting needs to be with single quotes, not double quotes. Also single quotes need to be escaped.

refs #10544

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-01-05 15:18:22 +01:00
Mathieu Lutfy 3a0ce83da3 Documentation: Fix typos in troubleshooting.
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10908
2016-01-04 10:04:25 +01:00
Michael Friedrich 95e62dfb1e Enhance "setting up check plugins" documentation
fixes #10880
2015-12-18 14:33:55 +01:00
Michael Friedrich 79899d726a Change log level for authoritative zone config includes
LogWarning will make users wonder about a problem each time
Icinga 2 starts.

refs #10819
2015-12-18 11:53:56 +01:00
Michael Friedrich 89d3050540 Update AUTHORS
refs #10890
2015-12-18 11:15:29 +01:00
Arnd Hannemann 8b292cf5f7 Remove superfluous ifdef
fixes #10890

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-12-18 11:14:50 +01:00
Michael Friedrich 5aa4700d61 Update AUTHORS
refs #9858
2015-12-18 11:10:54 +01:00
Daniil Yaroslavtsev d739675799 GelfWriter: Add additional fields for 'CHECK RESULT' events
fixes #9858
2015-12-18 11:05:38 +01:00
Michael Friedrich 9c8fdf06cf Fix crash in DbEvents::RemoveCommentInternal()
Missing multiple queries as implemented with RemoveDowntimeInternal().

fixes #10883
2015-12-18 10:52:04 +01:00
Michael Friedrich 323b759a90 Fix config validation for templates used as object reference name
fixes #10830
2015-12-17 13:49:30 +01:00