Commit Graph

8905 Commits

Author SHA1 Message Date
Michael 80deaf64f0 Fix missing word in doc chapter pin checks in a zone 2017-11-11 15:01:17 +01:00
Sven Nierlein 7bf5b3ff42 livestatus: custom variables return empty arrays instead of strings
livestatus queries for custom variables should return an empty list, ex: []
instead of an empty string if there are no variables.

Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-11-10 14:53:37 +01:00
Michael Friedrich 6d9a0b7145 Implement DummyCheckTask and move dummy into embedded in-memory checks
This replaces the previous "dummy" CheckCommand, and the user won't
notice it. Provided performance data will be parsed the same way.

This saves a shell fork and check_dummy execution.

We're relying on this when creating cluster checks with Icinga 2 DSL
and more. If one does not have the plugins installed, this then also works.

fixes #5740
2017-11-09 20:19:31 +01:00
Michael Friedrich 166ecfe446
Merge pull request #5739 from Icinga/feature/elasticsearchwriter
Rename ElasticWriter to ElasticsearchWriter
2017-11-09 15:42:37 +01:00
Michael Friedrich 972f0fb116
Merge pull request #5741 from Icinga/fix/docs-manual-certificate-creation
Fix manual certificate creation chapter in the docs
2017-11-09 15:36:01 +01:00
Michael Friedrich 7c0a09cfb6 Rename ElasticWriter to ElasticsearchWriter
This better reflects its purpose as otherwise it would imply
that you need Elastic Stack for it. Graylog also reads from
Elasticsearch instances, this could serve as additional integration
here.
2017-11-09 15:33:10 +01:00
Michael Friedrich f4dad05a63 Fix manual certificate creation chapter in the docs 2017-11-09 15:14:10 +01:00
Gunnar Beutner d69c73bbc8 Merge branch 'support/2.7' 2017-11-09 13:54:29 +01:00
Noah Hilverling dc925238c0 Release version 2.7.2 2017-11-09 13:44:36 +01:00
Noah Hilverling f3085c70e5 Release version 2.7.2 2017-11-09 13:43:05 +01:00
Noah Hilverling cacb3cbca9 Remove spec file 2017-11-09 13:42:45 +01:00
Gunnar Beutner bcf6739d9f
Merge pull request #5730 from Icinga/fix/trim-form-fields-to-avoid-hidden-crlf-characters-from-linux-5705
Add missing trims to GetMasterHostPort and remove Convert.ToString from variables that are strings already
2017-11-09 09:29:11 +01:00
Noah Hilverling 4579e8f7f5 SetupWizard: Move Trim to GetMasterHostPort()
refs #5705
2017-11-09 09:28:05 +01:00
Noah Hilverling f3cc265135 SetupWizard: Remove Convert.ToString where useless
refs #5705
2017-11-09 09:27:15 +01:00
Gunnar Beutner 2e807fe2fc
Merge pull request #5734 from mcktr/fix/doc-broken-links
Fix broken links inside the documentation
2017-11-09 08:07:12 +01:00
Michael 84957bb2a5 Fix broken links inside the documentation
This replaces the broken link to the command transport chapter inside the Icinga
Web 2 documentation, besides that this also updates the link to the Icinga Web 2
installation documentation to the offical page on icinga.com.
2017-11-09 02:34:04 +01:00
Paolo Schiro 490b822f38 add a bogus zero reply in livestatus if aggregate filter does not match, fix I#5626 2017-11-09 01:32:30 +01:00
Jean Flach d1d1c2e2e8 Make --perf-syntax also change short message
refs #5418
2017-11-08 17:05:43 +01:00
Michael Friedrich 6749046102
Merge pull request #5727 from Icinga/feature/docs-upgrading-2-8
Update upgrading documentation for 2.8
2017-11-08 16:12:45 +01:00
Michael Friedrich d6a4e180de Update upgrading documentation for 2.8 2017-11-08 15:57:27 +01:00
Jean Flach f4a1747e14
Merge pull request #5732 from Icinga/fix/flapping
Fix flapping calculation and events

fixes #5720
2017-11-08 15:10:55 +01:00
Michael Friedrich 41d54029c8 Fix log messages for flapping 2017-11-08 12:12:27 +01:00
Michael Friedrich 026f6d6f2e Add documentation for new attributes in `Flapping` API event stream type 2017-11-08 10:17:05 +01:00
Noah Hilverling e6f94ff203 Correct node wizard output formatting 2017-11-08 09:04:25 +01:00
Lee Clemens 9fdfa5ee10 Handle mis-detection with clang on RHEL/CentOS 7
C++11 features available: BOOST_NO_CXX11_HDR_TUPLE

refs #5257
2017-11-08 08:34:45 +01:00
Michael Friedrich 17a246f929
Merge pull request #5728 from Icinga/fix/check_service
Fix check_service not working with names
2017-11-07 18:17:14 +01:00
Michael Friedrich 0df1d10c4b
Merge pull request #5485 from Icinga/fix/downtimehistory-5458
Ensure that expired/removed downtimes/comments are correctly updated in DB IDO
2017-11-07 17:50:19 +01:00
Jean Flach 61a9eb13c1 Fix check_service not working with names
This change fixes check_service not working correctly when using
descriptions instead of names.
This should probably be in 2.8.0
2017-11-07 17:47:35 +01:00
Michael Friedrich a1afb52464 Update upgrading docs for DB IDO schema update 2017-11-07 17:03:11 +01:00
Michael Friedrich 42b1e7ce79 Use the entry_time for icinga_comments updates
This follows all other queries in their where condition
using entry_time for comments/downtimes.
2017-11-07 16:37:12 +01:00
Michael Friedrich e0e7f9ae6b DB IDO: Force users to upgrade the schema to avoid workaround fixes/missing indexes 2017-11-07 16:37:12 +01:00
Jean Flach e83ddbd8b2 Remove unnecessary keys from where clauses 2017-11-07 16:37:12 +01:00
Eric Lippmann 6f6703042e ido: Drop unused instance_id indices from comments, downtimes and their related history tables 2017-11-07 16:37:12 +01:00
Jean Flach 1632415370 Fix commenthistory
refs #5492
2017-11-07 16:37:12 +01:00
Jean Flach 30be02bcae Alter DowntimeRemoval behaviour
This adds an additional index to the downtimehistory and updates the
dbevents in a way that it uses that index
2017-11-07 16:37:12 +01:00
Gunnar Beutner 6f8b62333f Use real UUIDs for Utility::NewUniqueID 2017-11-07 13:53:04 +01:00
Jean Flach 872d4895f0 Fix flapping endianness and events
fixes #5720
2017-11-07 11:13:17 +01:00
Michael Friedrich 36fddaf09b
Merge pull request #5719 from Icinga/feature/windows-wizard-2-8
Update Windows Wizard for 2.8 and new signing methods
2017-11-03 17:44:04 +01:00
Michael Friedrich 4cb9a71385 Update documentation for Windows Wizard and On-Demand signing support
refs #5681
2017-11-03 17:28:49 +01:00
Michael Friedrich fc1ec22b77 Windows Wizard: Finalize design for 2.8
refs #5681
2017-11-03 16:56:28 +01:00
Michael Friedrich 2a61b743eb Windows wizard: Sanitize user inputs from text forms
This avoids white space problems with tickets and host names.

refs #5681
refs #5705
2017-11-03 14:10:56 +01:00
Michael Friedrich 299464e31e Windows Wizard: Missing ticket should tell the user about the master signing
refs #5681
2017-11-03 14:10:56 +01:00
Michael Friedrich 260c6d7438 Node setup: ticket parameter is now optional
refs #5681
2017-11-03 14:10:45 +01:00
Michael Friedrich c00495c5c7 Windows Wizard: Always enable the endpoint connection form
We always have to tick them anyways, as otherwise the setup wizard
won't work with CSR signing.

refs #5681
2017-11-03 13:58:18 +01:00
Michael Friedrich 2a7cdf2fdc Cleanup Windows wizard and prepare for enhanced CSR signing
refs #5681
2017-11-03 13:53:24 +01:00
Harald Laabs 04c65daa34
add order tags to disk check
Ensure argument order for inode parameters and "all"-flag is the same as for other disk-free options and partition-parameter. As a result the inode-checks should actually work with the "disk_all" (-A) flag.
2017-11-03 11:07:16 +01:00
Michael Friedrich d6caf4aa46
Merge pull request #5568 from kaprizki/41614-submitting-extended-plugin-output-via-process-check-result-api-call
Add documentation for multi-line plugin output for API actions
2017-11-02 16:05:04 +01:00
Irina Kaprizkina 4dad601fb6 Add documentation for multi-line plugin output for API actions
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-11-02 15:58:39 +01:00
Michael Friedrich b439a45299
Merge pull request #5678 from Tuxdiver/Tuxdiver-patch-ntp_peer
Added missing "-q" parameter to check_ntp_peer
2017-11-02 15:32:07 +01:00
Dirk Melchers 324940d8b4 ITL: Add "-q" parameter to ntp_peer CheckCommand
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-11-02 15:31:36 +01:00