Commit Graph

3536 Commits

Author SHA1 Message Date
Alexander A. Klimov 3cc8982053 Unify the JSON structures of responses to authorized and unauthorized requests
refs #4984
fixes #4988

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-09 13:51:40 +01:00
Michael Friedrich 363a7f9dac Fix unauthorized response in REST API when header requests JSON
fixes #4984
2017-02-09 09:13:58 +01:00
Edgar Fuß 1fc6d8c899 Fix for traditional glob(3) behaviour
fixes #4778
2017-02-09 09:08:48 +01:00
Edgar Fuß 7414df4ef8 Fix lsb_release/sw_vers errors on NetBSD
fixes #4779
2017-02-08 17:47:09 +01:00
Michael Friedrich 905f208332 Log a warning for missing API permissions
fixes #4945
2017-02-08 17:05:53 +01:00
Michael Friedrich f8fa4db454 Hide stack traces for warning log level in the ExternalCommandListener feature
fixes #3483
2017-02-08 16:11:58 +01:00
Michael Friedrich e5f5284838 Add logging for started/stopped features
fixes #3557
2017-02-08 15:40:27 +01:00
Michael Friedrich 336deea02f Ensure that api/log is created before attempting to write the current replay log
fixes #4977
2017-02-08 13:06:31 +01:00
Michael Friedrich e975c55fbd Fix wrong column in Livestatus hostgroups table
fixes #4983
2017-02-08 13:01:28 +01:00
Simon Murray 041772fb28 PerfData: Server Timeouts for InfluxDB Writer
Exposes the TCP socket used to communicate with the InfluxDB server.  When we are
expecing a response we can now call poll() on the socket to wait for data to become
available.  If it doesn't in a user configurable timeout period we abort the request.

fixes #4927
fixes #4941

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:06:46 +01:00
Michael Friedrich d4277b4d70 Require that max_check_attempts is greater than 0
fixes #4832
2017-02-07 13:27:27 +01:00
Benedikt Heine 9337135249 Give only CLI warnings if feature is already disabled
refs #121
refs #4909

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-02 14:17:47 +01:00
Michael Friedrich 4658cb391e Fix logging for discarded cluster messages
fixes #4930
fixes #4969
2017-02-02 13:47:18 +01:00
Gunnar Beutner 446490ceb3 Fix crash in ConfigItem::RemoveIgnoredItems
fixes #4952
2017-02-01 12:56:53 +01:00
Markus Frosch c34feb1fa5 ido/mysql: Remove timestamp defaults for compliance with MySQL 5.7
refs #4950
2017-01-24 17:14:06 +01:00
Markus Frosch 84f9824109 ido/mysql: Fix IDO upgrade compliance against MySQL 5.7
refs #4950
2017-01-24 17:13:49 +01:00
Michael Friedrich 763fb64fff Update issue tracker to GitHub
fixes #4923
2017-01-17 16:50:22 +01:00
Gunnar Beutner 060e20f5a3 Clean up the patch for the crash issue in the Process class
fixes #13655
2017-01-16 14:15:42 +01:00
Lucas Fairchild-Madar 9fa3f3b122 Fix crash when sending/receiving messages longer than 4 kB to/from the child process for the Process class
refs #13655

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-01-16 14:15:39 +01:00
Gunnar Beutner 751ca67e0a Ignore SIGPIPE earlier in the start-up process
fixes #13567
2017-01-12 10:50:43 +01:00
Markus Frosch 399827c62e Fix IDO MySQL schema for MySQL >= 5.7
NOTE: A schema update doesn't seem to be needed, MySQL is updating
internally.

The problem comes up on fresh schema imports on MySQL 5.7.

fixes #13633
2017-01-11 17:37:17 +01:00
Michael Friedrich e9db716b26 Ensure that PostgreSQL timestamps are UTC
fixes #13617
2017-01-11 17:34:09 +01:00
Michael Friedrich b51a2c1c25 MacroProcessor: Add the argument name for set_if error messages
fixes #13345
2017-01-11 12:26:09 +01:00
Michael Friedrich b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich fb8f4105ad Block SIGPIPE signal for check processes
refs #13567
2016-12-15 11:47:07 +01:00
Michael Friedrich b10a6b75a8 API: Change log level for console endpoint
fixes #11329
2016-12-08 00:59:24 +01:00
Michael Friedrich c036bfaa94 Fix wrong help string in node setup CLI command
fixes #13419
2016-12-06 11:22:24 +01:00
Gunnar Beutner fe12a10c89 Remove redundant check
refs #13409
2016-12-06 08:57:27 +01:00
Michael Friedrich 338f5c0be8 Fix crash in CreateObjectHandler::HandleRequest()
fixes #13409
refs #11684
2016-12-05 16:37:31 +01:00
Michael Friedrich d076617caa Revert "DB IDO: Make sure that all result sets are processed before sending another query"
This reverts commit b028ff2c33.

refs #12597
refs #13321
2016-11-25 15:53:07 +01:00
Michael Friedrich dc2992443f Deprecate the client 'bottom up' mode w/ node update-config
This includes deprecation warnings and migration documentation.

fixes #13255
2016-11-23 15:33:28 +01:00
Michael Friedrich b028ff2c33 DB IDO: Make sure that all result sets are processed before sending another query
fixes #12597
2016-11-22 15:56:05 +01:00
Gunnar Beutner 56e9a23a65 Don't try to delete Downtime objects that were statically configured
fixes #13275
2016-11-22 15:13:43 +01:00
Gunnar Beutner 78fa197b9f Properly unmask signals for child processes
fixes #13269
2016-11-22 13:53:58 +01:00
Michael Friedrich ca7f195165 Remove debug log message
refs #11541
2016-11-18 14:00:41 +01:00
Michael Friedrich 1679488e8e DB IDO: Bump schema version to 1.14.2
fixes #10502
fixes #13221
2016-11-18 11:39:14 +01:00
Eric Lippmann e4a95647bb ido-pgsql: Upgrade timestamp columns to timestamp without time zone
refs #13221
2016-11-18 11:11:50 +01:00
Eric Lippmann 27f7aa3d9d ido-pgsql: Bump schema version to 1.14.2
refs #13221
2016-11-18 11:11:50 +01:00
Eric Lippmann 69d3016bef ido-pgsql: Use timestamp without time zone in from_unixtime and to_timestamp functions
refs #13221
2016-11-18 11:11:50 +01:00
Eric Lippmann aadfedc3d4 ido-pgsql: Change timestamp columns to timestamp without time zone
refs #13221
2016-11-18 11:11:50 +01:00
Eric Lippmann 0b0107ad04 ido-pgsql: Add yet empty v2.6.0 schema upgrade script
refs #10502
2016-11-18 11:11:50 +01:00
Eric Lippmann 69cb383b34 ido-mysql: Upgrade timestamp columns to default to NULL
refs #10502
2016-11-18 11:09:50 +01:00
Eric Lippmann bdb3f88b25 ido-mysql: Bump schema version to 1.14.2
refs #10502
2016-11-18 11:09:50 +01:00
Eric Lippmann 0b9046a030 ido-mysql: Don't set the SQL mode to NO_AUTO_VALUE_ON_ZERO
This mode is obsolete because timestamp columns now default to NULL instead of '0000-00...'.

refs #10502
2016-11-18 11:09:50 +01:00
Eric Lippmann 1bb363091c ido-mysql: Change timestamp columns to default to NULL in the schema
refs #10502
2016-11-18 11:09:50 +01:00
Eric Lippmann 8a21b4af2f ido-mysql: Add yet empty v2.6.0 schema upgrade script
refs #10502
2016-11-18 11:09:50 +01:00
Michael Friedrich a13e6b3e87 Fix that custom notifications do not reset force_next_notification
This attribute is stored in the state file forever as well.
Will cause forced notifications ignoring state/type filters.

fixes #12670
2016-11-17 11:53:35 +01:00
Gunnar Beutner 23e30ccb67 Revert "Implement the 'evaluate-macros' API action"
This reverts commit 851135d3a1.

fixes #13091
2016-11-17 10:39:27 +01:00
Michael Friedrich 35ce166bd2 Fix that recovery notifications are sent if notified for !Problem type before
fixes #13205
2016-11-17 10:35:16 +01:00
Gunnar Beutner f58d3a1838 Fix crash in HttpRequest::Parse
fixes #12667
2016-11-17 09:08:22 +01:00