Gunnar Beutner
f3c825cb86
Merge pull request #5803 from Icinga/feature/cxx11-std-bind
...
Replace boost::bind/boost::function with std::bind/std::function
2017-11-29 08:28:44 +01:00
Michael Friedrich
8e65aa0677
Merge pull request #5804 from Icinga/fix/update-repository-message-error
...
Silence UpdateRepository message errors
2017-11-28 11:27:12 +01:00
Gunnar Beutner
1006ea0433
Fix missing variable name which can lead to segfaults
2017-11-27 16:06:59 +01:00
Gunnar Beutner
858873b940
Replace boost::bind/boost::function with std::bind/std::function
2017-11-27 15:15:11 +01:00
Gunnar Beutner
6b3931973e
Merge pull request #5555 from Icinga/feature/ecc-certs
...
Implement support for ECC certificates
2017-11-27 15:11:04 +01:00
Jean Flach
27aaa10ee9
Merge pull request #5718 from Icinga/fix/verify-error-codes-and-returned-log-messages-in-api-actions-5550
...
API: Fix http status codes
2017-11-27 14:41:29 +01:00
Noah Hilverling
e31b236cba
API: Fix http status codes
...
fixes #5550
2017-11-27 14:06:38 +01:00
Michael Friedrich
cf16324320
Silence UpdateRepository message errors
...
Mixed setups with 2.8 and 2.7 will log this error every time
a new message is received. While this is truly an error,
it just fills the log to infinity. Should be used for debug only.
fixes #5776
2017-11-27 12:09:42 +01:00
Gunnar Beutner
3a8d4c5920
Merge pull request #5716 from spaolo/fix/livestatus-empty-result-with-nonmatch-filter-5626
...
add bogus zero reply in livestatus when aggregate and non matching filter
2017-11-27 10:35:05 +01:00
Gunnar Beutner
4fcb1af8fa
Merge pull request #5746 from sni/livestatus_should_return_empty_lists
...
livestatus: custom variables return empty arrays instead of strings
2017-11-27 10:33:32 +01:00
Gunnar Beutner
57e74372d3
Merge pull request #5675 from froehl/feature/influxdbwriter-perf-unit-5627
...
Add pdv unit to influxdbwriter if not empty + doc
2017-11-27 10:32:44 +01:00
Gunnar Beutner
55b1cce248
Merge pull request #5744 from Icinga/feature/embedded-dummy-check
...
Implement DummyCheckTask and move dummy into embedded in-memory checks
2017-11-27 10:25:43 +01:00
Gunnar Beutner
734efb3569
Replace spaces with tabs
2017-11-27 10:24:12 +01:00
Gunnar Beutner
81ae14cd17
Merge pull request #5729 from Icinga/fix/correct-node-wizard-output-formatting
...
Correct node wizard output formatting
2017-11-27 10:19:12 +01:00
Gunnar Beutner
1b4206e5b1
Merge pull request #5725 from Icinga/feature/proper-uuids
...
Use real UUIDs for Utility::NewUniqueID
2017-11-27 10:18:52 +01:00
Gunnar Beutner
093e08e3da
Merge pull request #5388 from leeclemens/fix/clang-misdetection
...
Handle mis-detection with clang on RHEL/CentOS 7
2017-11-27 10:17:52 +01:00
Gunnar Beutner
65bc62266d
Fix error reporting for 'icinga2 console -r'
2017-11-24 12:56:42 +01:00
Michael Friedrich
35f0df3fe5
Disable Flapping detection on Windows
2017-11-17 12:59:07 +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
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
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
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
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
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
260c6d7438
Node setup: ticket parameter is now optional
...
refs #5681
2017-11-03 14:10:45 +01:00
Michael
86cdc5bc53
Include default global zones during node wizard/setup
...
This changes the GenerateNodeMasterIcingaConfig and GenerateNodeIcingaConfig
functions inside the nodeutillity class to the effect, that the default global
zones global-templates and director-global will be written to the generated
zones.conf that is created during the node wizard/setup.
refs #5707
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-31 12:07:12 +01:00
Jean Flach
9ba5b4f4b7
Merge pull request #5693 from Icinga/fix/flapping-old-4982
...
Re-implement flapping
fixes #4982
2017-10-24 16:58:59 +02:00
Jean Flach
a21ffd6fe4
Fix flapping
...
Re-implement flapping following the 'old way' of just observing the last
20 stage changes.
refs #4982
2017-10-24 15:54:05 +02:00
Gunnar Beutner
2bbb5366fd
Merge pull request #5620 from Icinga/fix/api-staging-3668
...
WIP: Ensure that the REST API config package/stage creation is atomic
2017-10-24 12:51:09 +02:00
Noah Hilverling
3e8f78e2cc
Process: Fix fork error handling
...
refs #5617
2017-10-23 11:01:42 +02:00
Noah Hilverling
7930ae5094
Process: Remove log message from child process
2017-10-23 11:01:16 +02:00
Gunnar Beutner
f2d437e96c
Implement support for migrating certificates to /var/lib/icinga2/certs
...
This commit includes documentation too.
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-20 14:06:02 +02:00
Jean Flach
aad96d6b09
Improve error message for unknow functions
...
refs #5686
2017-10-18 11:25:38 +02:00
Michael Friedrich
9d68ae9f1f
Merge pull request #5602 from Icinga/fix/config-validation-fails-on-windows-with-unprivileged-account-5515
...
Add windows process elevation and log message if user does not have privileges to read/write files
2017-10-13 16:31:12 +02:00
Fabian Röhl
82794474e6
Add pdv unit to influxdbwriter if not empty + doc
...
refs #5627
2017-10-13 14:54:00 +02:00
Michael Friedrich
0b1ce7111c
Merge pull request #5231 from Al2Klimov/bugfix/failure-to-kill-check-command-after-exceeding-timeout-is-not-reported-4981
...
Report failure to kill check command after exceeding timeout
2017-10-13 13:57:26 +02:00
Michael Friedrich
77ecdbd85c
Merge pull request #5581 from Icinga/fix/api-crash-race-condition
...
Fix possible race condition in ApiListener locking
2017-10-12 13:40:59 +02:00
Michael Friedrich
87979fd0a1
Merge pull request #5637 from Icinga/fix/influxdb-unnecessary-string-casts
...
Fix unnecessary String() casts in InfluxdbWriter
2017-10-12 13:22:43 +02:00
Michael Friedrich
9a04a99400
Merge pull request #5554 from Icinga/feature/cn-check-for-san
...
Add subjectAltName extension for all non-CA certificates
2017-10-10 17:50:01 +02:00
Michael Friedrich
ff570ad060
Merge pull request #5636 from Icinga/fix/db-ido-comments-downtimes-constraint-on-legacy-id-change
...
Fix unique constraint matching for UPDATE downtime/comment runtime tables in DB IDO
2017-10-10 17:47:47 +02:00