Gunnar Beutner
1beef64dc4
Fix crash in Checkable::ProcessCheckResult when cr is NULL
...
refs #12329
2016-08-08 14:17:44 +02:00
Gunnar Beutner
c7602a0f34
Implement process_check_result script method for the Checkable class
...
fixes #12329
2016-08-08 14:14:45 +02:00
Gunnar Beutner
8deeb73bb8
Register a new script frame in Function::Invoke
...
fixes #9848
2016-08-08 14:12:08 +02:00
Gunnar Beutner
1cd8a25ab2
Add the "exception" check command
...
refs #10075
2016-08-08 12:51:20 +02:00
Gunnar Beutner
597dc0dea2
Fix incorrect behavior for max_check_attempts
...
fixes #11898
2016-08-08 11:02:08 +02:00
Gunnar Beutner
26821d1a79
Don't add empty lines to libedit's history
...
refs #12234
2016-08-08 08:01:52 +02:00
Mirko Nardin
52f83ca7e6
Add the "-e" parameter for the SNMP check command
...
fixes #11359
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-05 14:50:44 +02:00
Gunnar Beutner
46f8c7eb59
Remove temporary icinga2.debug file in case the config validation fails
...
fixes #12318
2016-08-05 09:15:17 +02:00
Gunnar Beutner
d0658c465b
Fix incorrect parameter name for NotificationSentAllUsersHandler
...
fixes #12310
2016-08-05 06:57:50 +02:00
Michael Friedrich
43a177fb16
Fix that notifications with empty times.{begin,end} are not sent
...
fixes #10363
2016-08-04 17:27:35 +02:00
Michael Friedrich
3f89a6dd09
Disable immediate hard state for first check result
...
fixes #7354
2016-08-04 16:16:58 +02:00
Gunnar Beutner
905380b436
Fix duplicate notifications on HA failover
...
fixes #12267
2016-08-04 10:12:55 +02:00
Gunnar Beutner
bd3660fe5a
Build fix for Windows
...
refs #11292
2016-08-04 06:34:47 +02:00
Michael Friedrich
34655d77d3
Ensure to send recovery notifications if the was a problem notification before a downtime
...
fixes #12293
2016-08-03 18:28:09 +02:00
Michael Friedrich
83f07c7ee2
Add the notification type into the log message
...
fixes #12304
2016-08-03 17:32:55 +02:00
Michael Friedrich
00f05a8e7e
DB IDO: Do not try to delete downtimes when using the session_token
...
Missed it after modifying the comments.
refs #12258
refs #12288
2016-08-03 16:15:22 +02:00
Michael Friedrich
88975a8e07
Remove obsolete README files in tools/syntax
...
fixes #12302
2016-08-03 15:55:41 +02:00
Dirk Goetz
03b8514606
Add a check command for check_breeze
...
Add a check command for check_flexlm
Add a check command for check_game
refs #6225
2016-08-03 11:32:41 +02:00
Dirk Goetz
a8b7bdc633
Add a check command for check_ide_smart
...
refs #6225
2016-08-03 11:32:41 +02:00
Dirk Goetz
c999badd14
Add a check command for check_file_age.
...
Add a deprecation note for check_ldaps to check_ldap.
refs #6225
2016-08-03 11:32:41 +02:00
Gunnar Beutner
45440142b1
Update AUTHORS
...
refs #12188
2016-08-03 07:47:34 +02:00
Uwe Ebel
b2ac05ad7d
Make the minimum TLS protocol version configurable
...
The ApiListener accepts all TLS versions that the underlying
OpenSSL library supports. This patch give the ability to restrict
the connection to a minimum TLS version.
fixes #11292
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-08-03 07:46:50 +02:00
Michael Friedrich
5498dc5e4f
Fix that the first notification interval is incorrect
...
fixes #12257
2016-08-02 18:41:01 +02:00
Conrad Clement
3f0b6ec003
Optimize two ObjectLocks into one in Notification::BeginExecuteNotification method
...
object is locked twice to update values of
NotificationNumber, LastNotification and LastProblemNotification.
LastNotificaiton is updated inside each ObjectLock
merge two ObjectLocks into one and remove duplicate update
fixes #12188
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-08-02 18:36:29 +02:00
Michael Friedrich
1ff6939f90
Fix missing MySQL session_token changes
...
refs #12258
refs #12288
2016-08-02 15:05:21 +02:00
Michael Friedrich
cd5c9366cf
DB IDO: Use upsert and session token for comment/downtime updates
...
refs #12258
fixes #12288
2016-08-02 14:37:16 +02:00
Michael Friedrich
53930e321c
DB IDO: Ensure that queries are not executed if categories don't match
...
refs #12147
refs #12147
2016-08-02 14:27:20 +02:00
Michael Friedrich
b7da28b176
Enhance TLS handshake error messages with connection information
...
fixes #12287
2016-08-02 12:14:03 +02:00
Michael Friedrich
73417275f6
Fix incorrect index drop in pgsql.sql
...
refs #12210
2016-08-02 11:05:48 +02:00
Michael Friedrich
7d78c53dd8
Fix incorrect session_token index for PostgreSQL
...
refs #12210
2016-08-01 15:04:47 +02:00
Markus Frosch
d0183edc51
Fix build with OpenSSL 1.1
...
error: cannot convert ‘const boost::shared_ptr<x509_st>’ to ‘X509* {aka
x509_st*}’ for argument ‘1’ to ‘ASN1_TIME* X509_get_notBefore(X509*)’
refs #12044
2016-08-01 09:54:51 +02:00
Michael Friedrich
32b37f0db9
Fix missing session_token column
...
refs #12210
2016-08-01 09:37:10 +02:00
Michael Friedrich
19fb71ed7c
Docs: Fix API permissions for status/query
...
fixes #12259
2016-07-29 17:00:36 +02:00
Gunnar Beutner
546bdbcf6a
'Sandboxed' property isn't properly propagated to child frames
...
refs #12247
2016-07-29 14:11:52 +02:00
Gunnar Beutner
aaa4878017
Don't write empty lines to the history file
...
refs #12234
2016-07-29 13:55:07 +02:00
Gunnar Beutner
a02d7d7502
Implement history support for 'icinga2 console'
...
fixes #12234
2016-07-29 13:45:16 +02:00
Markus Waldmüller
6d082e61ae
Add check command definition for check_graphite
...
fixes #12256
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-29 11:38:57 +02:00
Gunnar Beutner
ee75094128
Change how Array#reduce works
...
refs #12247
2016-07-29 11:09:46 +02:00
Gunnar Beutner
a3815e4efd
Add map/reduce and filter functionality for the Array class
...
fixes #12247
2016-07-29 10:48:15 +02:00
Gunnar Beutner
0d02b01c02
Use application start-up time for the IDO session token
...
fixes #12250
2016-07-29 08:40:10 +02:00
Gunnar Beutner
92c28548d1
Remove obsolete debug log message
...
fixes #12254
2016-07-29 07:09:01 +02:00
Simon Murray
84ea0065b2
Fix InfluxdbWriter Trailing Backslash
...
Backslashes escape spaces or commas (and evidently equals), given tags are
separated by commas, tag keys and values are separated by equals and tags
are separated from fields by a space we need to take action when these end
in a backslash e.g. 'C:\'. Also discovered a bug whereby the metric tag was
missing out on escaping.
fixes #12227
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-29 06:51:33 +02:00
Michael Friedrich
dcfda534b1
Deprecation warning should include object type and name
...
fixes #12240
2016-07-28 17:43:50 +02:00
Michael Friedrich
d7903ba800
Enhance client disconnect message for "No data received on new API connection."
...
fixes #12116
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-07-28 17:40:40 +02:00
Michael Friedrich
077dbe1db6
Fix that reminder notifications ignore HA mode
...
fixes #12249
2016-07-28 17:39:52 +02:00
Gunnar Beutner
21cebe97a1
CheckerComponent sometimes fails to schedule checks in time
...
fixes #12180
2016-07-28 13:51:08 +02:00
Gunnar Beutner
256d936661
Increase systemd startup timeout
...
fixes #12237
2016-07-27 07:44:11 +02:00
Rune Darrud
54eb9540b1
Fix min/max execution_time
...
fixes #12225
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-26 09:56:21 +02:00
Rune Darrud
730d959374
Set min_latency and min_execution_time to 0 when there have been no checkresults processed
...
fixes #12216
Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-07-26 09:54:08 +02:00
Gunnar Beutner
4125591cc0
Update .mailmap
...
refs #12221
2016-07-26 09:37:37 +02:00