Commit Graph

7446 Commits

Author SHA1 Message Date
Michael Friedrich ca42b4658a DB IDO: Change alias column to varchar(255) in MySQL
fixes #10061
2016-07-07 18:48:09 +02:00
Michael Friedrich 72facb1be0 DB IDO: Log a deprecation warning for categories
refs #12024
2016-07-07 15:44:31 +02:00
Michael Friedrich 124c80beab Require DB IDO v1.14.1 for 2.5.0
fixes #11967
2016-07-07 12:27:56 +02:00
Michael Friedrich 5c4a833116 Windows: Remove requirement for KB2999226 (VS2015)
refs #11739
2016-07-06 17:11:21 +02:00
Michael Friedrich a0a5989181 Add missing index on statehistory table for DB IDO cleanup
fixes #12107
2016-07-06 12:17:41 +02:00
Michael Friedrich f87f20e9ec DB IDO: Do not populate logentries table by default
Not required by Icinga Web 2 and therefore obsolete as default.

fixes #12106
2016-07-06 11:52:20 +02:00
Michael Friedrich 915ebe17cd ConfigCompiler should not log included files by default
fixes #11419
2016-07-05 15:43:48 +02:00
Michael Friedrich 5836b5b868 Fix: include_recursive should gracefully handle inaccessible files
fixes #12098
2016-07-05 15:40:49 +02:00
Michael Friedrich 9b873d60c2 Ensure to clear the SSL error queue before calling SSL_{read,write,do_handshake}
fixes #12100
2016-07-05 15:25:02 +02:00
Gunnar Beutner 63f83e8bec Build fix for Visual Studio 2013
fixes #12099
2016-07-05 13:50:08 +02:00
Michael Friedrich 349ef5ac2c Docs: Add a note on API POST requests not triggering apply/group assign rules
fixes #12077
2016-07-05 13:22:14 +02:00
Michael Friedrich c73e4d3328 Fix Downtime validation function signature
refs #11483
2016-07-05 13:17:18 +02:00
Michael Friedrich 85afec8952 Fix setsockopt() error on Windows
refs #12003
2016-07-05 13:16:14 +02:00
Michael Friedrich 208fd535d4 Docs: Fix 'Setting up plugins' section
Seems the markdown parser is pretty much
not liking those notes. Removed it on the snapshot
tree, works again.

fixes #12067
2016-06-28 17:48:08 +02:00
Simon Murray c6add53152 Fix InfluxDB Writer Key Escaping
The escaping wasn't being performed on measuerments, keys or tag values.  The
escape function was returning the input and not the modified ouput, so this
has been fixed

refs #12047

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-27 12:07:07 +02:00
Jan Wagner 513da927f1 Fix typo in Manubulon CheckCommand documentation
fixes #12046
2016-06-27 10:05:20 +02:00
Gunnar Beutner 6de6ea5e42 Build fix for OpenSSL 1.1.0
fixes #12044
2016-06-27 08:28:22 +02:00
Michael Friedrich c688a94f8a API: Add missing downtime_depth attribute
fixes #12041
2016-06-25 17:32:12 +02:00
Michael Friedrich ab4ba18238 Allow strings in Dependency states filter
refs #11445
2016-06-24 14:17:24 +02:00
Michael Friedrich 3a1023a954 Docs: Add a note about cluster-zone log lag thresholds.
refs #11772
2016-06-24 11:27:49 +02:00
Michael Friedrich 1451a0e5ad Add lag thresholds to cluster-zone check
fixes #11772
2016-06-24 10:33:04 +02:00
Michael Friedrich 091274e417 Change DB IDO 'categories' attribute to Array notation
Example:
    categories = [ "DbCatProgramStatus", "DbCatState" ]

The old method with constants and OR is still supported but deprecated.

refs #11445
fixes #12024
2016-06-23 14:55:01 +02:00
Michael Friedrich 14fdb794e2 Allow strings in state and type filters (config, API)
fixes #11445
2016-06-23 14:52:45 +02:00
Michael Friedrich 5961b05e13 Fix: Migration docs still show unsupported CHANGE_*MODATTR external commands
fixes #12029
2016-06-23 13:27:00 +02:00
Michael Friedrich 7077ca1a53 Add acknowledgement type to Graphite, InfluxDB, OpenTSDB metadata
fixes #12018
2016-06-23 13:04:23 +02:00
Michael Friedrich 6659b2e908 Docs: Fix URL formatting in Icinga 2 client chapter
refs #12027
2016-06-23 10:30:59 +02:00
Gunnar Beutner 906ab613f3 Fix crash when using include_recursive in an object definition
fixes #12022
2016-06-22 17:01:36 +02:00
Gunnar Beutner 2de249ed65 Fix spelling mistake in the ITL
refs #12006
2016-06-22 14:13:11 +02:00
Michael Friedrich 7f56a04dd5 DB IDO: Add missing indexes for icinga_endpoints* and icinga_zones* tables
fixes #10066
2016-06-22 12:56:24 +02:00
Gunnar Beutner 428850a6b3 Fix: ConfigWriter::EmitScope incorrectly quotes dictionary keys
fixes #12016
2016-06-22 12:35:47 +02:00
Michael Friedrich 067cb8d283 DB IDO: Fix overflow in current_notification_number column (MySQL)
fixes #11962
2016-06-22 12:13:49 +02:00
Michael Friedrich f2edbc59cf Docs: Add a note about creating Zone/Endpoint objects with the API
fixes #12008
2016-06-22 09:55:51 +02:00
Simon Murray e3645aa2f7 Fix hanging API connections
There was a problem identified where an upstream API connection was found hanging waiting
for a TLS handshake to complete.  Seeingly the TCP connection was ESTABLISHED locally but
not cleanly terminated remotely.  The Socket events layer never triggered the TLS handshake
oddly.  This however enables TCP keep alive packets to detect broken connections, raising
EPOLLERR and breaking the deadlock condition so that the agent will attempt to reconnect
at a later time.

fixes #12003

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-22 09:25:00 +02:00
Lennart Betz ba24f7b912 Add check commands kdc and rbl
fixes #12006

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-22 09:21:18 +02:00
Gunnar Beutner e3f1c1ec6f Make sure timestamps are formatted as integers in macro strings
refs #11483
2016-06-21 11:29:12 +02:00
Gunnar Beutner b5a38f6707 Fix compatibility issue with the $icinga.timet$ macro
fixes #11483
2016-06-21 08:23:31 +02:00
Lennart Betz c393a3678f ITL: Fix check commands nscp-local-disk and nscp-local-counter
fixes #9264

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-20 17:46:34 +02:00
Michael Friedrich 409a385590 DB IDO: Ensure that delete queries for comments/downtimes are matching the index
fixes #11993
2016-06-20 17:38:01 +02:00
Michael Friedrich f10289aa71 DB IDO: Add missing object_id index for icinga_{scheduleddowntime,comments} tables
fixes #10070
refs #11947
2016-06-20 17:15:09 +02:00
Michael Friedrich f610e56a59 DB IDO: Fix missing schema version update in {mysql,pgsql}.sql
refs #10069
refs #11967
2016-06-20 16:17:06 +02:00
Michael Friedrich 85b8f5d085 Docs: Fix wrong URL for API examples
fixes #11991
2016-06-20 15:36:20 +02:00
Lennart Betz 05f13b8c6b Add check command for plugin check_apache_status
fixes #11970

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-20 08:16:19 +02:00
Lennart Betz 765e91dcaf ITL: Add more parameters for nscp-local check commands
nscp-local-cpu, -memory, -disk, -service and -counter

fixes #9264

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-17 15:07:42 +02:00
Michael Friedrich ff0c44d435 Update documentation for vim/nano syntax highlighting
fixes #8401
2016-06-17 14:16:17 +02:00
Markus Frosch af906e2b8b Update vim and nano syntax docs for Debian/Ubuntu
refs #8401
2016-06-17 13:07:39 +02:00
Dirk Goetz 916537b33a RPM: Add packages for syntax highlighting
refs #8401
2016-06-17 13:07:21 +02:00
Michael Friedrich f4241ba185 DB IDO: Enhance ido check with schema info
fixes #11968
2016-06-17 12:43:05 +02:00
Michael Friedrich 6a46706668 DB IDO: Update schema version to 1.14.1
The least supported version is still 1.14.0
with the current changes.

refs #10069
refs #11967
2016-06-17 11:23:30 +02:00
Lee Clemens 759818d289 DB IDO: Make check_source a varchar(255) column
fixes #10069

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-06-17 11:03:26 +02:00
Michael Friedrich b4c56e5f47 Remove duplicate last_check runtime macro
Already available as {host,service}.last_check attribute.

refs #11483
2016-06-16 17:39:59 +02:00